Skip to main content

Configuration

Complete reference for plugins/SellGuiAddon/config.yml.

Missing keys are safe

If a key is missing from your file (for example after updating to a newer version), the addon uses its built-in default for that key, so an older config.yml never breaks.


Feature Switch (enabled)โ€‹

KeyTypeDefaultDescription
enabledbooleantrueWhen false, /sell only replies with the plugin-disabled message. /sellgui reload still works.

Command Aliases (command-aliases)โ€‹

KeyTypeDefaultDescription
command-aliaseslist[]Extra aliases for /sellgui, on top of the built-in /sell. Newly added aliases are picked up by /sellgui reload; removing an alias needs a full restart.
command-aliases:
- sellall
- bulksell

Match Strategy (match-strategy)โ€‹

Decides which order gets filled first when more than one active order would accept a deposited item.

ValueBehavior
BEST_PRICEDefault. Fill the highest price-per-item order first โ€” maximizes the player's payout.
FIFOFill the order that was created first, regardless of price.
ANYNo particular order โ€” the first eligible match in the order list is used.

Values are case-insensitive. An empty or unrecognized value falls back to BEST_PRICE.

match-strategy: BEST_PRICE

Messages (messages)โ€‹

All user-facing text is configurable. Color codes use & format. Placeholders are in {braces}. An empty message sends nothing.

Prefix & Chatโ€‹

KeyDefaultDescription
messages.prefix&6โœฆ &eSell &8| &7Prepended to all chat messages that use {prefix}
messages.no-permission{prefix}&cโœ˜ &7Insufficient permissionsSent when a player lacks sellgui.use, sigmaorders.fulfill, or sellgui.admin
messages.only-players{prefix}&cโœ˜ &7This command can only be used by playersSent when the console runs /sellgui
messages.plugin-disabled{prefix}&cโœ˜ &7The sell GUI is currently disabledSent when enabled: false
messages.reload-success{prefix}&aโœ” &7Configuration reloadedSent after /sellgui reload

GUIโ€‹

KeyDefaultDescription
messages.gui-title&8Sell to OrdersChest GUI title
messages.sell-button-name&a&lSELLName of the emerald SELL button
messages.sell-button-lore3 linesLore of the SELL button (list)
messages.cancel-button-name&c&lRETURN ALLName of the red RETURN ALL button
messages.cancel-button-lore2 linesLore of the RETURN ALL button (list)

Sale Resultsโ€‹

KeyDefaultPlaceholdersDescription
messages.already-processing{prefix}&cโœ˜ &7Still processing your last sale, please waitโ€”Sent if a button is clicked while a sale is still being processed
messages.nothing-to-sell{prefix}&cโœ˜ &7You haven't deposited any itemsโ€”Sent when SELL is pressed with an empty deposit area
messages.sold-summary{prefix}&aโœ” &7Sold &e{sold}x &7item(s) across &e{orders} &7order(s){sold}, {orders}Sent after a sale where everything found a buyer
messages.sold-summary-with-leftover{prefix}&aโœ” &7Sold &e{sold}x &7item(s) across &e{orders} &7order(s)&7. &c{returned}x &7had no matching order and were returned{sold}, {orders}, {returned}Sent when some items were returned unsold
messages.sold-earnings{prefix}&aโœ” &7You earned &e{earned}{earned}Sent after a sale that sold at least one item. {earned} lists one formatted amount per currency, e.g. $1.2K, 300 Gems
messages.returned-all{prefix}&aโœ” &7Returned all deposited itemsโ€”Sent after RETURN ALL

Full Default Fileโ€‹

enabled: true
command-aliases: []
match-strategy: BEST_PRICE

messages:
prefix: "&6โœฆ &eSell &8| &7"

no-permission: "{prefix}&cโœ˜ &7Insufficient permissions"
only-players: "{prefix}&cโœ˜ &7This command can only be used by players"
plugin-disabled: "{prefix}&cโœ˜ &7The sell GUI is currently disabled"
reload-success: "{prefix}&aโœ” &7Configuration reloaded"

gui-title: "&8Sell to Orders"
sell-button-name: "&a&lSELL"
sell-button-lore:
- "&7Deposit items above, then"
- "&7click to sell everything to"
- "&7the best matching active order"
cancel-button-name: "&c&lRETURN ALL"
cancel-button-lore:
- "&7Click to take back everything"
- "&7you've deposited, unsold"

already-processing: "{prefix}&cโœ˜ &7Still processing your last sale, please wait"
nothing-to-sell: "{prefix}&cโœ˜ &7You haven't deposited any items"
sold-summary: "{prefix}&aโœ” &7Sold &e{sold}x &7item(s) across &e{orders} &7order(s)"
sold-summary-with-leftover: "{prefix}&aโœ” &7Sold &e{sold}x &7item(s) across &e{orders} &7order(s)&7. &c{returned}x &7had no matching order and were returned"
sold-earnings: "{prefix}&aโœ” &7You earned &e{earned}"
returned-all: "{prefix}&aโœ” &7Returned all deposited items"

See Alsoโ€‹