BS-SingleUse

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

SingleUse prevents players from buying specific items multiple times

SingleUse works with BossShop, the most player-friendly GUIShop Plugin!

Features

  • Allows to limit the amount of uses of BossShop Items
  • Configurable message (Default: '&cYou already bought this &6%limit%&c/&6%limit% &ctimes!')
  • Lightweight

Commands

  • None

Permissions

  • None

Setup

All you need is the plugin BossShop and shops containing items.

You want to set an Item in a shop to a "Single-Use" Item?

Just add a "SingleUse: true" line to your item!

First:

GodApple:
    RewardType: item
    PriceType: money
    Price: 10000
    Reward:
    - - type:GOLDEN_APPLE
      - amount:1
      - durability:1
    MenuItem:
    - type:GOLDEN_APPLE
    - amount:1
    - name:&9%itemname%
    - 'lore:&cPrice: 10000 Money'
    - durability:1
    Message: '&eYou bought 1 %itemname%! Money left: &c%left%'
    InventoryLocation: 9
    ExtraPermission: ''

Then

  GodApple:
    SingleUse: 1
    RewardType: item
    PriceType: money
    Price: 10000
    Reward:
    - - type:GOLDEN_APPLE
      - amount:1
      - durability:1
    MenuItem:
    - type:GOLDEN_APPLE
    - amount:1
    - name:&9%itemname%
    - 'lore:&cPrice: 10000 Money#&4Only available once!!!'
    - durability:1
    Message: '&eYou bought 1 %itemname%! Money left: &c%left%'
    InventoryLocation: 9
    ExtraPermission: ''

Now your players will only be able to buy the item "GodApple" once.

GitHub Source


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit