Price types

Oct 8, 2016
Price types
  • Every shopitem has a specific price that players need to pay in order to get the reward. There are different kinds of price types to choose from. Additionally more prices can be added via Addons.

    Calculation support: Every numerical price type supports simple calculations with raw numbers (excluding placeholders). Example:
    Code (Text):
    PriceType: money
    Price: 120 * 64


    Money
    Takes money from the player. Therefor the plugin Vault is needed. When working with multipliers, the taken money will automatically be adapted and multiplied by the factor. In order to display the actual amount of money that the player will pay simply use the '%price%' placeholder.
    Example:
    Code (Text):
        PriceType: money
        Price: 500

    Nothing
    You can use 'PriceType: nothing' for everything that players shall be able to get for free. This is useful for items that allow you to open an other GUI, decoration or commands.
    Example:
    Code (Text):
        PriceType: nothing

    Points
    Takes points from the player. Supported Points plugins are following (message me if you want an other plugin to be supported):
    When working with multipliers, the taken points will automatically be adapted and multiplied by the factor. In order to display the actual amount of points that the player will pay simply use the '%price%' placeholder.
    Example:
    Code (Text):
        PriceType: points
        Price: 750

    Items
    Either one or a few items. Find out more about ItemData here.
    Example with one item:
    Code (Text):
        PriceType: item
        Price:
        - - type:DIAMOND
          - amount:5
     


    Example with multiple items:
    Code (Text):
        PriceType: item
        Price:
        - - type:WOOL
          - amount:10
          - durability:14
        - - type:WOOL
          - amount:10
          - durability:11
        - - type:WOOL
          - amount:10
          - durability:4
        - - type:WOOL
          - amount:10
          - durability:5
    The plugin will accept all items that are equal to the given one, by default ignoring lore and displayname of the players items. If you set up a specific displayname or lore in the price section only items with that specific displayname or lore will be accepted by BossShopPro.



    ItemAll
    Sell all items of one kind.
    Example 1:
    Code (Text):
        PriceType: itemall
        Price:
        - type:DIAMOND
        RewardType: money
        Reward: 60

    In this example players can sell all their diamonds with one click and get 60 money for each diamond.

    Example 2:
    Code (Text):
        PriceType: itemall
        Price:
        - type:LOG
        - durability:1
        RewardType: points
        Reward: 2

    In this example players can sell all their dark log and get 2 Points levels for each log.

    Works only together with numerical RewardTypes (like Money, Points and Exp). Set up one item as price (the amount will always automatically be set to 1) and a reward that shall be given for every item sold.


    Exp
    Takes exp levels from the player. When working with multipliers, the taken levels will automatically be adapted and multiplied by the factor. In order to display the actual amount of levels that the player will pay simply use the '%price%' placeholder.
    Example:
    Code (Text):
        PriceType: exp
        Price: 25

    More price types can be added via Addons
  • Loading...
  • Loading...