FastSellCMI
Plugin that allows to sell items by CMI's worth rate in just one menu
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
FastSellCMI
FastSellCMI
PaperMC Plugin That allows to sell items by CMI's worth rate in just one menu
Version: Paper, Purpur and other forks of Paper, 1.18.2+
Java: 17+
Supports minimessages and has configurable menu!
<i>Please join the Discord if you have questions!</i>
Commands:
* `/fastsell` * * Aliases: `/fsell` * * `<no arguments>` - open sell menu * * `reload` - reload configs
Permissions:
* `fastsell.open` - Allows `/fastsell` command. Default: all * `fastsell.reload` - Allows `/fastsell reload` command. Default: op * `fastsell.*` - Allows all commands. Default: op
Config
config.yml
| Variable | Default Value | Placeholders | |------------------------|-----------------------------------------------------------------------|--------------------------------------------| | config-reloaded | `<green>FastSellCMI config reloaded!` | | | missing-permission | `<red>Not enough permissions!` | | | sell-message | `<green>Items sold! You got {total}` | `{total}` - Total amount of received money | | no-items-sold-message | `<yellow>No items could be sold.` | | | cancel-message | `<red>You canceled selling!` | | | sell-sound | <pre> name: ENTITY_VILLAGER_TRADE
volume: 1
pitch: 0</pre> | | | no-items-sold-sound | <pre> name: ENTITY_VILLAGER_HURT
volume: 1
pitch: 0</pre> | | | cancel-sound | <pre> name: ENTITY_VILLAGER_NO
volume: 1
pitch: 0</pre> | |
sell_menu.yml
| Variable | Default Value | Description | |----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | window-title | `<green>Fast sell you items!` | | | inventory-map | <pre>- WWWWWWWWW
- W W
- W W
- W W
- W W
- WSSSPCCCW</pre> | Basically an inventory layout 9x6 size. | | item-map | <pre> P:
end_crystal 1:
name: '<blue>Sell for: <red>{total}'
S:
green_stained_glass_pane 1:
name: <green>SELL
C:
red_stained_glass_pane 1:
name: <red>CANCEL
W:
purple_stained_glass_pane 1:
name: ' '</pre> | Item properties corresponding to `inventory-map` characters, supports:
`name`: `String`
`lore`: `List<String>`
`cmd`(custom model data): `Int`
`unbreakable`: `Bool`
`durability`: `Int`
`item_flags`: `List<String>`
`enchantments`: `List<String>`. See Examples. | | functional-map | <pre> P: price-button
S: sell-button
C: cancel-button
W: wall-button</pre> | Button 'types', corresponds to `inventory-map` characters. |
Notice
Config ItemStacks
ItemStack serializer supports durability, potions, fireworks, leather colors, skulls.
Examples:
General example: <pre> general-example: diamond_sword 1: name: <green>Green name lore: - Lore 1 - Lore 2 - Lore 3 cmd: 6666 unbreakable: true enchantments: - channeling 10 item_flags: - hide_enchants - hide_dye durability: 781 </pre> Potion example: <pre> potion-example: potion 1: potion: base: AWKWARD effects: - type: ABSORPTION duration: 100 amplifier: 1 </pre> Firework example: <pre> firework-example: firework_rocket 1: firework: effects: - flicker: true trail: true type: BALL colors: - hex: '#808080' fade: - hex: '#00ffff' - hex: '#ff0000' - hex: '#008000' power: 0 </pre> Leather color example: <pre> color-example: leather_chestplate 1: color: hex: '#00ffff' </pre> Player skull example: <pre> skull-example: player_head 1: textures: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTcxNzA1NzY4NDY4ZWViNjM2NmYyYWVhODQ3YjBjNzI2NGUwNWYyNWZlMGZiNGMxZTNlNjYzN2I5NTQ1MjY1YyJ9fX0= </pre> ~~~~