Skip to content

Configuration

config.yml holds settings, the currency, and messages. Wand definitions live in wands.yml. Prices live in prices.yml.

config-version is internal. Leave it alone.

KeyWhat it does
sell-shulker-contentsfalse by default. A shulker box item sells as one item at the shulker material price. Items inside are not priced. true prices the items inside and leaves the box in the container.
hologram-secondsHow long the TextDisplay stays above the container after a sale. 0 disables holograms.
money-formatA DecimalFormat pattern for {price}, using US grouping. The default is #,##0.##.

sell-shulker-contents is about a shulker box item sitting inside a container. A placed shulker box is a container: its inventory is sold like a chest, one slot at a time.

KeyWhat it does
typevault or placeholder. Anything else is treated as vault and logged.
balance-placeholderUsed when type is placeholder. Example: %vault_eco_balance%.
give-commandConsole command that pays the player. {player} and {amount}.
take-commandConsole command that takes money back. Used when the give command ran but the balance did not rise.

{amount} in a command is a plain number, such as 12.5, not the grouped chat format.

With type: vault, the plugin deposits through Vault after the sold items are removed. If Vault is missing, or the deposit does not succeed, the snapshot is written back into the container.

With type: placeholder, the plugin reads the balance, runs give-command, and reads the balance again. If the placeholder is empty, the command’s own success flag is used. If the balance does not rise by the sale amount, take-command runs and the items are put back.

Payment happens after the items are removed. Uses and the cooldown change only after a deposit succeeds.