Skip to content
goflishMC edited this page Oct 24, 2024 · 1 revision

Commands

Optional: can for example be used to allow players to purchase more shopitem uses

  • /lius set <player> <shop> <shopitem> <count>
  • /lius add <player> <shop> <shopitem> <count>
  • /lius remove <player> <shop> <shopitem> <count>
  • /lius reset <player> <shop> <shopitem>
  • /lius reset <player>
  • /lius resetall

Requires the permission LimitedUses.Modify.

Example Configuration

  Obsidian:
    MenuItem:
    - type:OBSIDIAN
    - amount:64
    - name:&964 Obsidian
    - 'lore:&cPrice: %price%#&eBought: &4%uses%/10 &etimes.'
    RewardType: ITEM
    Reward:
    - - type:OBSIDIAN
      - amount:64
    PriceType: MONEY
    Price: 10000
    Message: '&eYou bought %reward%! Money left: &c%left%'
    ExtraPermission: ''
    InventoryLocation: 7
    Condition:
    - type:uses
    - below:10

Example Shop

  Obsidian:
    MenuItem:
    - type:OBSIDIAN
    - amount:64
    - name:&964 Obsidian
    - 'lore:&cPrice: %price%#&eBought: &4%uses%/10 &etimes.'
    RewardType: ITEM
    Reward:
    - - type:OBSIDIAN
      - amount:64
    PriceType: MONEY
    Price: 10000
    Message: '&eYou bought %reward%! Money left: &c%left%'
    ExtraPermission: ''
    InventoryLocation: 7
    Condition:
    - type:uses
    - below:10

Clone this wiki locally