SingleUse prevents players from buying specific items multiple times
SingleUse works with BossShop, the most player-friendly GUIShop Plugin!
- Allows to limit the amount of uses of BossShop Items
- Configurable message (Default: '&cYou already bought this &6%limit%&c/&6%limit% &ctimes!')
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!
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: ''
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.
Add Mysql Plz
I have 2 servers and want them to have the same information.
Tell me one more please, did in Pro version i able to set 2 diferent and paralel actions per one item??
For example: Bought 1 stone: given 10 money and 5 exp.
Or another example: Sold 1 stone: taken 5 money + given 2 exp
Ok, thank! Good luck in your jobs :]
I'm going to start studying this year and have to do some physical work (production or construction) in order to be able to pay my rent. Besides I'll be away from 30.07 - 08.08. That's why I can not make promises yet. I will definitely check your tickets out as soon as I have some free time. One more thing is that I have released one premium plugin (BossShopPro) at spigot and as people pay for it I kinda feel responsible to invest more time into that plugin than in others.
PFFFFF! Other work...
Why all cool plugin maker busy with some "other work" ?? You shuld be busy with that work that you love and know how to do!
I'll answer new BossShop tickets as soon as I have time to think about new features. Currently I'm quite busy with lots of other work.
Can you give answer on my tickets ?? http://dev.bukkit.org/bukkit-plugins/bossshop/tickets/307-transactions-delay/
I think it is way more clear and well structured when special features like the one that BS-SingleUse offers are separated from the main project. Mainly because of the additional storage file that BS-SingleUse introduces which would be unnecessary for people that do not work with it.
why u just not add BS-singleUse to BS core ??
Time cooldowns are not possible yet (Already planned). Currently all you can do is limit the amount of uses. Data is saved locally in a storage file inside "plugins/BS-SingleUse/" and due to that is restricted to one server.
About your issue: I do not get that error when testing with my v1.10 server, however I found the reason that causes it and am currently fixing it.
Looks like works not fine :[
Spigot build #904
and can i set this usages globally, per all players in server ??
But i don't understand, how can i configurable amount of time, after which i can again use shop item ??
SingleUse: <x> - it's how many times i can use this items, but what shuld i add to config, if i want for example have 30 usages and all cooldown 10 sec. If for example player use item 5 times, after 50 sec this 5 items is cooldowning again
Works fine with 1.10 ??
This Addon allows to limit the use of every type of ShopItem including every reward type.
This can limit only buy action, or sell, permissions and other action to ??
you are using the old BS-SingleUse version
Woo! Thanks! Works great on my 1.9.2 spigot server. :D
Found this on 1.9.2: http://pastebin.com/ZNGskevw