DonutSell Icon

DonutSell

A simple plugin creates a Sell System using vault or any other economy plugin with multipliers, a full custom menu and a worth menu inspired by DonutSMP owned by DrDonutt

36.6K downloads • 14 followers • Adventure & RPG • Modrinth

DonutSell

Paper

Purpur

Spigot

Bukkit

Modrinth


Discord


Please contact me on Discord if you have any suggestions or edits.


What

  • DonutSell A simple plugin creates a Sell System using vault or any other economy plugin with multipliers, a full custom menu and a worth menu inspired by DonutSMP owned by DrDonutt

Features

  • Full Customization: The sell menu and the price menu are both built from files. Any slot you want, slot ranges like 0-8,18-26, per click actions, conditions, item names, lore, glow, enchantments, skulls and custom model data. Every key that worked before still works.
  • Vault or Command Economy: Use Vault by default, or disable it and give money through any custom console command from config.
  • Configurable Item Prices: Every price lives in prices.yml, potions and enchanted books have their own price per level, and any unconfigured item automatically sells for the default price of 1.
  • Cash Multipliers: Give multipliers with /donutsell multiplier set|add|remove|clear [time], or with permissions like donutsell.multiplier.2. Timed ones, permanent ones, and %donutsell_multiplier% for scoreboards.
  • Sell On Close: The menu sells what is inside when it closes by default, exactly like it always did. Turn sell-on-close off in config and the items go back to the player instead.
  • Shulker Boxes: The box sells for its own price and everything inside sells too, nested boxes up to 5 deep. Blacklisted or zero price items inside are handed back, never destroyed.
  • Blacklist System: Operators can blacklist items from being sold, and blacklisted items are safely returned to the player instead of being removed.
  • Dupe Safe: The sell menu is a safe zone. Shift clicking, dragging, swap clicks, dropping and closing are all handled, so items cannot be duplicated and cannot be destroyed.
  • Worth Menu: Browse every price with categories, filters and sorting by highest price, lowest price or name, all from the GUI.
  • Compact Money Format: Prices and sell totals are shown in clean compact format like 1K, 1.2M, 3B, or 1T.
  • Folia Supported: Real region schedulers behind it, the same jar runs on Folia, Paper, Purpur, Spigot and Bukkit 1.21 and newer.
  • PlaceholderAPI Support: Item prices can be displayed anywhere with placeholders like %donutsell_netherite_block_price%.

Commands

Commands

| Command | Access | Description |

| :--- | :--- | :--- |

| /sell | Everyone | Opens the sell menu |

| /worth | Everyone | Opens the price menu |

| /worth | Everyone | Shows the price of one item |

| /donutsell | Everyone | Shows plugin info and available commands |

| /donutsell reload | donutsell.reload | Reloads every file |

| /donutsell item price | donutsell.item.priceset | Changes a price in prices.yml |

| /donutsell item | donutsell.item.blacklist | Stops an item from being sold, or allows it again |

| /donutsell multiplier [30m\|1h\|1d\|perm] | donutsell.multiplier.manage | Changes what a player earns |

Permissions

| Permission | Default | Description |

| :--- | :--- | :--- |

| donutsell.sell.use | Everyone | Use /sell and the sell menu |

| donutsell.worth.use | Everyone | Use /worth and the price menu |

| donutsell.reload | OP | /donutsell reload |

| donutsell.item.priceset | OP | Set, add to or subtract from a price |

| donutsell.item.blacklist | OP | Blacklist or whitelist an item |

| donutsell.multiplier.manage | OP | Give, take or clear a multiplier |

| donutsell.multiplier. | OP | Permanent multiplier for a player, like donutsell.multiplier.2 |

| donutsell.admin | OP | Every admin command at once |

Placeholders

| Placeholder | Description |

| :--- | :--- |

| %donutsell__price% | Price of an item, like %donutsell_diamond_price% |

| %donutsell_potion___price% | Potion price, like %donutsell_potion_speed_1_price% |

| %donutsell_splash_potion___price% | Splash potion price |

| %donutsell_lingering_potion___price% | Lingering potion price |

| %donutsell_enchanted_book___price% | Enchanted book price, like %donutsell_enchanted_book_sharpness_5_price% |

| %donutsell_multiplier% | The player's current multiplier |


Configuration

  • A folder named DonutSell is created in your plugins folder automatically. Every file is plain and clean, straight to the point.
  • config.yml economy, default price and sell on close
  • guis/sell.yml the sell menu
  • guis/worth.yml the price menu
  • guis/worth-filter.yml the filter categories
  • prices.yml every item price
  • messages.yml every message and sound
  • blacklist.yml the blacklist
  • multipliers.yml saved multipliers
config.yml
config-version: "1.6"
vault-economy: true
economy-hook: "auto"
money-give: "example give [user] [amount]"
default-price: 1
prices-multiplier: 1
sell-on-close: true
guis/sell.yml
command: "sell"
aliases: []

title: "&8Sell"
rows: 6

open-sound:
  enabled: false
  sound: "block.chest.open"
  volume: 1.0
  pitch: 1.0

close-sound:
  enabled: false
  sound: "block.chest.close"
  volume: 1.0
  pitch: 1.0

confirm-button:
  enabled: true
  material: "LIME_STAINED_GLASS_PANE"
  name: "&#00FF00$ &f[amount]"
  row: 6
  slot: 9
  lore:
    enabled: true
    lines:
      - "&7Click to sell items"

items: []
prices.yml
DIAMOND: 120
DIAMOND_BLOCK: 1080
EMERALD: 90
NETHERITE_INGOT: 6000
SPAWNER: 2500
ENCHANTED_BOOK:
  MENDING:
    1: 2500
  SHARPNESS:
    5: 400
POTION:
  HEALING:
    1: 60
    2: 150

Installation

  • Download the latest version of DonutSell.
  • Drop the .jar file into your server's plugins folder.
  • Restart your server.
  • Done! No setup needed except prices, everything else already has a default.

Modrinth Gallery

Example


© All Rights Reversed. Created by SirSnaryo.

Advertisement