Fixes
- Fixed sell stick usage increasing twice when both the display name and lore contained a usage counter like [x/y].
- Fixed the update checker URL so version checks now use the correct Spigot endpoint.
- Fixed PlaceholderAPI placeholders returning blank in non-player contexts, including placeholders such as total money.
- Fixed possible null issues involving ItemMeta during sell stick validation and item creation.
- Fixed startup flow so the plugin now disables immediately if EconomyShopGUI or EconomyShopGUI-Premium is missing.
- Fixed command registration to avoid creating multiple unnecessary TopCommand instances.
Improvements
- Reworked sell stick usage handling so usage is read once, incremented once, and written back consistently.
- Improved sell stick removal logic when the item reaches max usage.
- Improved SQLite handling to reduce locking and concurrency problems.
- Added synchronization around database access for better stability.
- Enabled SQLite WAL mode and busy timeout for more reliable database writes.
- Replaced manual SQL resource closing with try-with-resources.
- Improved command registration safety with null checks for missing commands in plugin.yml.
- Moved update checker callbacks back to the main thread before using the result.
- Removed risky async EconomyShopGUI sell limit updates and kept them on the main thread.
- Added safer ItemMeta checks when creating sell sticks from config and custom usage values.
Cleanup
- Removed unused helper methods from PlayerInteractionHandler.
- Cleaned up duplicate command object creation.
- Simplified placeholder handling for global placeholders.
- Made startup logic cleaner and easier to follow.
Please consider leaving a good review for the plugin.
Discord Support
- Added optional Sneak-to-use mode (sellstick.require-sneak) to prevent accidental selling
- Added message feedback when a container has no sellable items
- Currency symbol is now taken from config everywhere (Top command + PlaceholderAPI)
YAML:# Configuration for the Sell Stick sellstick: # if true, player must be sneaking to use the stick require-sneak: false # Configuration for the messages displayed to the user messages: world_blacklisted: "&cYou can’t use the Sell Stick in this world." sneak_to_use: "&dShop &8>> &7Sneak to use the Sell Stick." nothing_sellable: "&dShop &8>> &7No sellable items found in this container."
Please consider leaving a good review for the plugin.
Discord Support
- Better and proper support for HEX colors and other variations for display name and more.
- Made sure the plugin doesn't break that easily with extreme customization of the sell stick.
- Added the option to customize the title-messages if they are enabled.
- Added a currency option.
Config Changes
YAML:# Configuration for the Sell Stick sellstick: # Display name of the Sell Stick display-name: "&dShop &8>> &bSell Stick" # Lore (description) lines on the Sell Stick lore: - "&7A special stick for &d/market" - "&7Use it to quickly sell chests and shulkers!" - "&7Usage: [&d0/<MAXUSAGE>&7]" # Maximum usage limit for the Sell Stick max-usage: 20 # Material type of the Sell Stick material: BLAZE_ROD # Cooldown time (in minutes) for using the Sell Stick command cooldown-command: 5 currency-symbol: "€" # used by <CURRENCY> placeholder (optional) # Whether to display a title message on successful sale title-message: enabled: true title: "&aSold for <CURRENCY><PRICE>" subtitle: "&7<PLAYER> sold: &d<ITEMS>" fade-in: 10 stay: 80 fade-out: 10 # Configuration for the sounds played on successful sale sounds: # Whether to enable sounds globally enabled: true # Sound configuration for low-value sales low_value: # Type of sound to play sound: BLOCK_NOTE_BLOCK_CHIME # Volume of the sound (0.0 to 1.0) volume: 0.8 # Pitch of the sound (0.0 to 2.0) pitch: 0.7 # Threshold value to classify sale as low-value threshold: 1000 # Sound configuration for medium-value sales medium_value: sound: ENTITY_PLAYER_LEVELUP volume: 0.8 pitch: 1.2 threshold: 5000 # Sound configuration for high-value sales high_value: sound: ENTITY_FIREWORK_ROCKET_LARGE_BLAST_FAR volume: 0.8 pitch: 1.0 threshold: 10000 # Worlds where SellStick is disabled blacklisted-worlds: - lobby # Configuration for the messages displayed to the user messages: # Message when a player receives a Sell Stick received_sell_stick: "&dShop &8>> &bYou have received a Sell Stick!" # Message when the configuration is reloaded successfully config_reloaded: "&aThe configuration has been reloaded!" # Message when a player does not have the required permission no_permission: "&cYou do not have permission to use this." # Message when a player tries to sell from an empty container container_empty: "&dShop &8>> &7The container is empty." # Message when a player reaches the sell limit for an item sell_limit_reached: "&dShop &8>> &7Sell limit reached for &d%s&7. Check the /market for the restock time." # Message when a player's Sell Stick reaches maximum usage max_usage_reached: "&cYour Sell Stick has reached maximum usage and has been removed!" # Message when a player tries to use a stack of Sell Sticks cannot_use_stack: "&cYou cannot use a stack of Sell Sticks. Please separate them." # Message when a player sells items successfully sold_successfully: "&dShop &8>> &7You sold &d<ITEMS> &7for &d<CURRENCY><PRICE>." # Message when a player tries to use the command while it's on cooldown command_on_cooldown: "&cPlease wait %d minutes before using this command again." world_blacklisted: "&cYou can’t use the Sell Stick in this world."
Please consider leaving a good review for the plugin.
Discord Support
- Added supported for HEX color codes along with traditional color codes.
Please consider leaving a good review for the plugin.
Discord Support
- Fixed exception error when players didn't use any of the sell limit features in the economyshopgui plugin.
- Fixed exception error when players didn't use any of the restock features in the economyshopgui plugin.
- Added an extra permission that is given by default that controls if players can use the /sellstick command, sellstick.use.command and now the permission sellstick.use controls if players can use the sellstick.
Please consider leaving a good review for the plugin.
Discord Support
- Better support added for users that want to customize further the lore or the name of the sellstick.
- Fix usage getting stuck.
- Fix usage removing strings before it on update.
Please consider leaving a good review for the plugin.
Discord Support
- Added the ability for the usage to be able to be used in the display name aswell and not just in the lore.
Please consider leaving a good review for the plugin.
Discord Support
- Added a new config option that will let admins control in what worlds the sellstick and the commands for it will work.
- Yes the plugin is still compatible with 1.21.5 since day one.
ADD TO YOUR CONFIGS
YAML:# Worlds where SellStick is disabled blacklisted-worlds: - lobby
Please consider leaving a good review for the plugin.
Discord Support
