-
Notifications
You must be signed in to change notification settings - Fork 48
Home
Realized edited this page Jun 2, 2018
·
14 revisions
Welcome to the wiki of TokenManager. For more information, check the navigation bar on the right.
Q. How do I show my token balance in FeatherBoard or any other Maximvdw's plugins?
A. See Placeholders.
Q. How do I show my token balance in DeluxeChat or any other Clip's plugins?
A. See Placeholders.
Q. Can I make an item only purchasable once?
A. Yes, you can. Follow the steps below.
- Set 'use-permission: true' for the item.
items:
'1':
displayed: 373:16421 1 name:&dSPlash_Potion_of_Healing
cost: 5
commands:
- 'give %player% 373:16421 1 name:&dSplash_Potion_of_Healing'
use-permission: true
- Add
tokenmanager.use.[shop name]-[slot id]
to your default group's permissions.
permissions:
- tokenmanager.use.testshop-1
- Add
-tokenmanager.use.[shop name]-[slot id]
to 'commands'. In the example, PermissionsEx is used.
commands:
- 'pex user %player% add -tokenmanager.use.testshop-1'
Done! When player purchases the item, their permission to purchase the item will be negated.