Tr-Seller 1.3.2

Free shop/seller plugin with all minecraft items support

  1. Amosar
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    Source Code:
    https://gitlab.com/Trafalcraft/tr-Seller
    Contributors:
    Amosar
    Languages Supported:
    Français, and all others with custom config file
    Tr-Seller is a plugin to create shop in your server.

    Feature:
    • Buy/sell item
    • Customise the name of item
    • Customise the description of the item
    • Support enchantment, eggs, custom banner..
    • Custom Messages

    Dependency :

    Create a shop:
    • Type /seller manageShop <type> to create the file and add item to he shop
    • Type /npc create <type> --trait tr-seller to create an seller NPC
    • Modify the config file of your NPC and type /seller updateAllShops
    • Enjoy! :D

    Command:
    • /seller reload - to reload the config file
    • /seller manageShop <type> - Add or modify a shop and create his file.
    • /seller removeShop <type> - Remove a type of seller and remove this file.
    • /seller typeList - List your npc type.
    • /seller updateAllShops - Reload the NPC inventory from the file

    Permission:
    • seller.admin -> allow the acces of all commands

    screen:
    NPC.png
    ShopInventory.png
    ShopInventory2.png

    Config and examples:
    Code (Text):

    version: 0.2
    Settings:
      log_transactions: false
    Complement:
      seller_name: Seller
    Msg:
      default:
        prefix: '&9[&3r-Seller&9]> &2'
        error: '&9[&4tr-Seller&9]> &c'
        no_permission: '&4ERROR &9&l> &r&bYou don''t have permission to do that!'
        command_use: '&9[&4tr-Seller&9]> &r&cCommand use: &6$command'
    sellerInteract:
        noShop: "The seller have a problem or is closed"
      sellerInventory:
        buy_price: Buying price
        seller_price: Selling price
        left_click: Left click
        right_click: Right click
        shift_click: Shift+click
        buy_item: buy $nbr items
        leave_the_shop: Leave the shop
        next_page_of_shop: "Next page"
        previous_page_of_shop: "Previous page"
        buy_unavailable_inventory: "&3You can't buy this item"
        sell_unavailable_inventory: "&3You can't sell this item"
      transaction:
        success_buy:
        - '&a===================================================='
        - '&3You spend &6$moneySpent $moneyType for &6$amountItem $itemType'
        - '&3You have now $currentMoney'
        - '&a===================================================='
        failure_buy_no_enought_money:
        - '&a===================================================='
        - '&3You don''t have enough, You need&6 $moneyMissing $moneyType more'
        - '&3for $amount of &6$itemType'
        - '&a===================================================='
        buy_unavailable:
        - '&a===================================================='
        - '&3You can''t buy this item'
        - '&a===================================================='
        success_sell:
        - '&a===================================================='
        - '&3You have earned &6$moneySpent $moneyType for &6$amountItem $itemType'
        - '&3You have now $currentMoney'
        - '&a===================================================='
        failure_sell_no_item:
        - '&a===================================================='
        - '&3You can''t sell this item'
        - '&a===================================================='
        sell_unavailable:
        - '&a===================================================='
        - '&3You can''t sell this item'
        - '&a===================================================='
     
    Code (Text):

    version: 0.2
    Settings:
      log_transactions: false
    Complement:
      seller_name: Seller
    Msg:
      default:
        prefix: '&9[&3tr-Vendeur&9]> &2'
        error: '&9[&4tr-Vendeur&9]> &c'
        no_permission: '&4Erreur &9&l> &r&bVous n'avez pas la permission de faire ça!'
        command_use: '&4tr-Vendeur &l> &r&cUtilisation de la commande: &6$command'
      sellerInteract:
        noShop: "Le vendeur à un problème ou est fermé"
      sellerInventory:
        buy_price: Prix d'achat
        seller_price: Prix de vente
        left_click: Clique gauche
        right_click: Clique droit
        shift_click: Shift+clique
        buy_item: Acheter $nbr items
        leave_the_shop: Quitter le shop
        next_page_of_shop: "Page suivante"
        previous_page_of_shop: "Page precedente"
        buy_unavailable_inventory: "&3Vous ne pouvez pas acheter cette item"
        sell_unavailable_inventory: "&3Vous ne pouvez pas vendre cette item"
      transaction:
        success_buy:
        - '&a===================================================='
        - '&3Vous avez dépensez &6$moneySpent coins pour &6$amountItem $itemType'
        - '&3Vous avez maintenant $currentMoney'
        - '&a===================================================='
        failure_buy_no_enought_money:
        - '&a===================================================='
        - '&3Vous n'avez pas assez, il vous manque&6 $moneyMissing Tcs'
        - '&3pour un stack de &6$itemType'
        - '&a===================================================='
        buy_unavailable:
        - '&a===================================================='
        - '&3Vous ne pouvez pas acheter cette item'
        - '&a===================================================='
        success_sell:
        - '&a===================================================='
        - '&3Vous avez gagné &6$moneySpent coins pour &6$amountItem $itemType'
        - '&3Vous avez maintenant $currentMoney'
        - '&a===================================================='
        failure_sell_no_item:
        - '&a===================================================='
        - '&3Vous ne pouvez pas vendre cette objet'
        - '&a===================================================='
        sell_unavailable:
        - '&a===================================================='
        - '&3Vous ne pouvez pas vendre cette objet'
        - '&a===================================================='
     
    Code (Text):

    version: '1.0'
    page:
      '1':
        item:
          '0':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: CARPET
              damage: 2
            buy: 100
            sell: 10
          '1':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: CARPET
              damage: 3
            buy: 100
            sell: 10
          '9':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: MONSTER_EGG
              meta:
                ==: ItemMeta
                meta-type: SPAWN_EGG
                internal: H4sIAAAAAAAAAONiYOBi4HTNK8ksqQxJTOdgYMpMYeDPzcxLTS5KTCuxKi4pSqxkYAAAy5jlZycAAAA=
                id: stray
            buy: 5000
            sell: UNDEFINED
          '10':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: MONSTER_EGG
              meta:
                ==: ItemMeta
                meta-type: SPAWN_EGG
                internal: H4sIAAAAAAAAAONiYOBi4HTNK8ksqQxJTOdgYMpMYRDPzcxLTS5KTCuxqsrPTcpMjS/ITM9NzGNgAACmvRWELwAAAA==
                id: zombie_pigman
            buy: 5000
            sell: UNDEFINED
          '18':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: ENCHANTED_BOOK
              meta:
                ==: ItemMeta
                meta-type: ENCHANTED
                stored-enchants:
                  MENDING: 1
            buy: 1000
            sell: UNDEFINED
          '19':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: ENCHANTED_BOOK
              meta:
                ==: ItemMeta
                meta-type: ENCHANTED
                stored-enchants:
                  VANISHING_CURSE: 1
            buy: 1000
            sell: UNDEFINED
          '20':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: ENCHANTED_BOOK
              meta:
                ==: ItemMeta
                meta-type: ENCHANTED
                stored-enchants:
                  KNOCKBACK: 2
            buy: 1000
            sell: UNDEFINED
          '27':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: DIAMOND_SWORD
              meta:
                ==: ItemMeta
                meta-type: UNSPECIFIC
                enchants:
                  DAMAGE_ALL: 5
                  DURABILITY: 3
                  FIRE_ASPECT: 2
                  MENDING: 1
                repair-cost: 15
            buy: 10000
            sell: UNDEFINED
          '36':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: BANNER
              damage: 13
            buy: 200
            sell: 100
          '37':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: BANNER
              damage: 14
            buy: 200
            sell: 100
          '6':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:long_regeneration
            buy: 300
            sell: 50
          '7':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:night_vision
            buy: 300
            sell: 50
          '8':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:water_breathing
            buy: 300
            sell: 50
          '16':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: SPLASH_POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:swiftness
            buy: 300
            sell: 50
          '17':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: SPLASH_POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:strong_regeneration
            buy: 300
            sell: 50
          '25':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: LINGERING_POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:strong_harming
            buy: 300
            sell: 50
          '26':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: LINGERING_POTION
              meta:
                ==: ItemMeta
                meta-type: POTION
                potion-type: minecraft:long_fire_resistance
            buy: 300
            sell: 50
          '22':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: BANNER
              damage: 14
              meta:
                ==: ItemMeta
                meta-type: BANNER
                display-name: The Master Banner
                lore:
                - An incredible banner with great power
                enchants:
                  DAMAGE_ALL: 10
                  DURABILITY: 3
                  FIRE_ASPECT: 2
                  MENDING: 1
                patterns:
                - ==: Pattern
                  color: RED
                  pattern: br
                - ==: Pattern
                  color: RED
                  pattern: tl
            buy: 10000
            sell: UNDEFINED
      '2':
        item:
          '22':
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: NAME_TAG
            buy: 900
            sell: 10
     
    Code (Text):
            itemStack:
              ==: org.bukkit.inventory.ItemStack
              type: BANNER
              damage: 14
              meta:
                ==: ItemMeta
                meta-type: BANNER
                display-name: The Master Banner
                lore:
                - An incredible banner with great power
                enchants:
                  DAMAGE_ALL: 10
                  DURABILITY: 3
                  FIRE_ASPECT: 2
                  MENDING: 1
                patterns:
                - ==: Pattern
                  color: RED
                  pattern: br
                - ==: Pattern
                  color: RED
                  pattern: tl
    Futur update:
    • Add Api and log for transaction

    Servers that use this plugin:
    Your ?


    If you like my plugin :)
    [​IMG]

Recent Updates

  1. Add metrics support
  2. Compile plugin with java8
  3. Add 1.13 support

Recent Reviews

  1. alexkrist321
    alexkrist321
    5/5,
    Version: 1.3.2
    hey! its a cool plugin and works fine but i was wondering if there a way i could make players be able to sell full inv of some blocks very easily with this?
    1. Amosar
      Author's Response
      Thanks for your review,
      And sorry but you can't sell all of your inventory directly with the plugin , you need to click on each item you want to sell
  2. Lekmerison
    Lekmerison
    5/5,
    Version: 1.2.0
    Nice update with much more cutom messages now ! :) Thanks for updating with these new features !
  3. Lekmerison
    Lekmerison
    5/5,
    Version: 1.1.0
    Nice plugin ! Would it be possible to add the possibilty to translate and change color for every expression ? (help menu, reload, prices in the GUI etc...) ! But nice plugin which is working perfectly !
    1. Amosar
      Author's Response
      Thank you for your review,I will add this ASAP :)
  4. micki9393
    micki9393
    5/5,
    Version: 1.0.1
    There is a bug, I play in version 1.12.2 if I sell a item while I have it in hand then the item is deleted and so it works fine. While I sell items from inventory these remain and I can sell these items indefinitely.
    1. Amosar
      Author's Response
      It's corrected
  5. 330ludo
    330ludo
    5/5,
    Version: 1.0.0
    it's very good plugins!! he is perfect for the role play server for players can buy or sell items with the pnj.