Sueta

TreexBuyer

4.5

Multifunctional /sell plugin like on DonutSMP

·Plugin
  1. 4.5latestTreexBuyer 4.5Jun 27, 2026
    - Added support for selling custom items. - The /tb score commands (give, take, and set) have been updated. You no longer need to specify a key for CATEGORY or ITEM—you can provide the amount directly instead. This is useful when you don't know which category the player's score belongs to. New syntax:
      /tb score give/take/set <player> <amount>
      
    The old syntax is still supported:
      /tb score give/take/set <player> <key> <amount>
      
    - Items with different enchantments or effects are now displayed as separate entries in the GUI, so each unique variant appears individually. If you don't need this behavior, you can disable it in config.yml:
      gui:
        duplicate-by-rule: true # Set to false to disable
      
    - Updated Java compatibility from Java 17 to Java 21. - Selling custom items (prices.yml):
      # Example of selling custom items using CustomModelData
      custom_item_example1:
      #  custom-model-data: 123
      #  custom-model-data: my_item
    
      # New format for Minecraft 1.21.5+.
      # The old format is still supported on newer versions
      # (the plugin will automatically serialize it as needed).
        custom-model-data:
          strings:
            - my_item
          floats:
            - 1.5
          flags:
            - true
    
        material: diamond
    
        price: 60.0
        add-scores: 5.0
      
    - Boosters have been moved to a separate file (boosters.yml) since booster events have been added:
      example1:
        permission: 'buyer.boost.donat1' # Permission required for this booster
        external-coefficient: 0.5
    
      example2:
        permission: 'buyer.boost.donat2'
        external-coefficient: 2.5
    
        # If true, donation boosters ignore max-legal-coefficient
        boosters_except_legal_coefficient: true
    
        on_start_player:
          - '[message] '
          - '[message] &6&lBUYER BOOST'
          - '[message] &fFor the next {time} minutes, item prices at the &6Buyer &fhave been increased by &6&lx{coefficient}&f.'
          - '[message] '
    
        on_start_global:
          - '[message] '
          - '[message] &6&lGLOBAL BUYER BOOST'
          - '[message] &fFor the next {time} minutes, item prices at the &6Buyer &fhave been increased by &6&lx{coefficient}&f.'
          - '[message] '
    
        bossbar:
          enable: true
          name: "&fActive Buyer Boost: &6&lx{coefficient} | {time}"
          type: SOLID
          color: BLUE
      
    - To start a booster event, use:
      /tb booster <global/player> <booster> <duration in seconds>
      
    698 downloads
  2. 4.4.1TreexBuyer 4.4.1May 23, 2026
    - Spigot support
    366 downloads
  3. 4.4TreexBuyer 4.4May 20, 2026
    * Added the ability to sell potions and enchanted items. prices.yml Potion example:
    strength_potion_bla_bla_bla: # now the id can be anything; if `material` exists, the plugin will use it; if `material` does not exist, the plugin will try to get the material from the id
      material: POTION
      price: 10.0
      add-scores: 0.0
      potions:
        # Support for custom enchantments
        strength: # potion key
          1:
            extra-price: 5.0
            extra-score: 10.0
    # any number of levels can be added
    Enchanted item example:
    diamond_sword:
      material: diamond_sword
      price: 60.0
      add-scores: 5.0
      enchantments:
        # Support for custom enchantments
        sharpness: # enchantment key
          1:
            extra-price: 10.0
            extra-score: 10.0
          2:
            extra-price: 20.0
            extra-score: 20.0
    * Added the ability to choose criteria that distinguish regular items from custom ones: config.yml
    # Criteria used to decide which items can be sold (to distinguish regular items from custom ones)
    disallowed-item:
      # If the item's name is changed
      custom-name: true
      # If the item has a description/lore (potions ignore this option)
      lore: true
      # If the item has a custom container (most plugins use containers to distinguish custom items from regular ones)
      persistent-data-container: true
      # If the item has custom model data
      custom-model-data: true
      # If the item has flags (for example, HIDE_ATTRIBUTES)
      item-flags: true
    40 downloads
  4. 4.3.1TreexBuyer 4.3.1May 16, 2026
    - Fix colors
    60 downloads
  5. 4.3May 16, 2026
    - Support for Libb 1.2 serializers - Added automatic Libb download
    25 downloads
  6. 4.2TreexBuyer 4.2Apr 20, 2026
    * Added a feature to display item price in item lore, like on DonutSMP [https://youtu.be/NTJ9soroEY0](https://youtu.be/NTJ9soroEY0) To enable it, add this section to the config:
    inventory-price:
      enable: true
      text: "<white>Price: $%price%"
    * Added a persistent actionbar that can show the player the value of their inventory:
    persistent-actionbar:
      enable: true
      text: "<white>Inventory value: <green>$%sell_price%"
    * Also removed debug messages in the console, which you probably don’t need: [TreexBuyer] {%sell_pay_commas%=0, %sell_score_commas%=0, %sell_pay%=0, %sell_score%=0}
    209 downloads
  7. 4.1Apr 10, 2026
    36 downloads

Similar projects

Plugin →