An open API service indexing awesome lists of open source software.

https://github.com/anime-pdf/fastsellcmi

PaperMC Plugin that allows selling items by CMI's worth rate in one configurable menu
https://github.com/anime-pdf/fastsellcmi

Last synced: about 1 month ago
JSON representation

PaperMC Plugin that allows selling items by CMI's worth rate in one configurable menu

Awesome Lists containing this project

README

        

[Modrinth](https://modrinth.com/plugin/fastsellcmi)
|
[SpigotMC](https://www.spigotmc.org/resources/fastsellcmi.108261/)
|
[Discord](https://discord.gg/nJr7vPjzNy)

# 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!**







Please join the Discord if you have questions!

## Commands:
* `/fastsell`
* * Aliases: `/fsell`
* * `` - open sell menu
* * `reload` - reload configs

## Permissions:
* `fastsell.sell` - 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 | `FastSellCMI config reloaded!` | |
| missing-permission | `Not enough permissions!` | |
| sell-message | `Items sold! You got {total}` | `{total}` - Total amount of received money |
| cancel-message | `You canceled selling!` | |
| sell-sound | `ENTITY_VILLAGER_TRADE` | |
| cancel-sound | `ENTITY_VILLAGER_NO` | |

### sell_menu.yml

| Variable | Default Value | Description |
|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| window-title | `Fast sell you items!` | |
| inventory-map |

- WWWWWWWWW
- W W
- W W
- W W
- W W
- WSSSPCCCW
| Basically an inventory layout 9x6 size. |
| item-map |
  P:
end_crystal 1:
name: '\Sell for: \{total}'
S:
green_stained_glass_pane 1:
name: \SELL
C:
red_stained_glass_pane 1:
name: \CANCEL
W:
purple_stained_glass_pane 1:
name: ' '
| Item properties corresponding to `inventory-map` characters, supports:
`name`: `String`
`lore`: `List`
`cmd`(custom model data): `Int`
`unbreakable`: `Bool`
`durability`: `Int`
`item_flags`: `List`
`enchantments`: `List`. See [Examples](#examples). |
| functional-map |
  P: price-button
S: sell-button
C: cancel-button
W: wall-button
| Button 'types', corresponds to `inventory-map` characters. |

## Notice
### Config ItemStacks
ItemStack serializer supports durability, potions, fireworks, leather colors, skulls.

Examples:

General example:


general-example:
diamond_sword 1:
name: Green name
lore:
- Lore 1
- Lore 2
- Lore 3
cmd: 6666
unbreakable: true
enchantments:
- channeling 10
item_flags:
- hide_enchants
- hide_dye
durability: 781

Potion example:

potion-example:
potion 1:
potion:
base: AWKWARD
effects:
- type: ABSORPTION
duration: 100
amplifier: 1

Firework example:

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

Leather color example:

color-example:
leather_chestplate 1:
color:
hex: '#00ffff'

Player skull example:

skull-example:
player_head 1:
textures: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTcxNzA1NzY4NDY4ZWViNjM2NmYyYWVhODQ3YjBjNzI2NGUwNWYyNWZlMGZiNGMxZTNlNjYzN2I5NTQ1MjY1YyJ9fX0=