itemshop 1.3.3

Sell and buy system with different prices for different people

  1. chicken_emre
    Native Minecraft Version:
    1.15
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    https://git.sr.ht/~emre/itemshop
    header.png
    Warning! Vault and a Permissions plugin is required! I recommend LuckPerms.

    Command Syntax
    Syntax of the /buy Command
    All subcommands explained below require the itemshop.buy permission node.
    firefox_2020-11-04_21-34-09.png

    Syntax of the /cost Command
    All subcommands explained below require the itemshop.buy.cost permission node.
    firefox_2020-11-04_21-34-29.png

    *: If omitted and the command issuer is a player, material will be the type of the item the player is currently holding.

    Syntax of the /sell Command
    All subcommands explained below require the itemshop.sell permission node.
    firefox_2020-11-04_21-47-10.png

    Syntax of the /worth Command
    All subcommands explained below require the itemshop.sell.worth permission node.
    firefox_2020-11-04_21-34-41.png

    *: If omitted and the command issuer is a player, material will be the type of the item the player is currently holding.

    Synax of the /itemshop Command
    All subcommands explained below require the itemshop.reload permission node.
    firefox_2020-11-04_21-34-49.png

    Configuration
    Default item-values.yml
    Code (YAML):
    # Item values for Itemshop - item-values.yml

    # Example: Players can sell stone for 0.8 each and buy it for 1.0 each.
    stone
    :
      sell
    : 0.8
      buy
    : 1.0

    # Example: Players can sell diorite for 3 but they cannot buy it.
    diorite
    :
      sell
    : 3.0
      buy
    :

    # Example: Players can buy andesite for 7 each but they cannot sell it.
    andesite
    :
      sell
    :
      buy
    : 7.0

    # Items not here cannot be sold or bought by default.
     
    Default multipliers.yml
    Code (YAML):
    # Multipliers for Itemshop - multipliers.yml

    # Example: Players with the permission "itemshop.m.free" will buy everything for free.
    # (Item's buy cost is multiplied with "0.0".)
    free
    : # This is the name used in permissions
      name
    : Communism # This is the name used in human readable texts
      buy
    : 0.0
      sell
    : 0.0

    # Another example: Player with the permission "itemshop.m.tax" will sell items for 10% less and buy items for 10% more.
    # (Item's buy cost is multiplied with "1.1" and sell value is multiplied with "0.9".)
    tax
    :
      name
    : Tax
      sell
    : 0.9
      buy
    : 1.1

    # Players without any of these permissions will sell and buy items with the default multiplier of "1.0".
    # If you don't add a sell or buy for a modifier it will be assumed to be 1.
     
    Important Note: Using the sell worth set ..., buy cost set ... commands or one of their aliases will remove the comments in the configuration files.