This is an all in one Premium MySQL based currency plugin optimized for lag free & efficient storage making use of asynchronous data saving & future tasks for data fetching.
This plugin requires access to a MySQL database. Do not download this if you don’t have access to one.
Efficient Data storage:
This plugin will never lag your server in case of database connection drop. Unlike other plugins which spam console errors & crash if database is offline. This plugin will simply warn you if connection was unsuccessful & take proper action whether it be disabling the plugin temporarily or attempting a reconnection.
Offline Players & Player name Queries:
This plugin supports offline players & player names for commands. If a player’s data exists in the database you can use command for that player regardless if he ever joined the server or not.
PlaceholderAPI Placeholders:
The plugin keeps a cached value for each player’s tokens which is updated timely. This value is used for the placeholders used in this plugin. This means that too much use of these placeholders won’t cause any performance issues. Following placeholders are registered by this plugin:
%epicset-tokens_tokens% =100,000,000 format
%epicset-tokens_tokens_formatted% =100M format
%epicset-tokens_tokens_raw% =100000000 format (for script devs)
Fully Customizable Command based Tokenshop:
What’s the point of having an efficient currency if you can’t have a shop to spend it in? This plugin comes complete with an in-built Token Shop which can be customizes entirely without even opening a single setting file. All you need to do is follow these instructions:
- Create a new tokenshop using command “/tokenshop create <name>”. This will create a blank shop. You can open this shop via “/tokenshop <name>”
- Set a new background for the shop. Hold an item which you want to use as background & type “/tokenshop setbackground <name>”. While holding a glass pane we get:
- Next we can set the name & size of the GUI using command “/tokenshop setsize <name> <size>” & “/tokenshop setname <name> <gui name>”.
- Now we can add items in this GUI. To add a non-purchasable item we will use the command: “/tokenshop add <name> <slot> <trigger> <next shop>”. Here the trigger is what defines what will happen when this item is clicked. Trigger can be none, close_gui or open_shop. If its open_shop then the name given in next shop is opened when this item is clicked. Let’s add a few items to our shop.
- Next is adding a purchasable item in our shop. To do that use command “/tokenshop additem <name> <slot> <price>”. Any extra information will be asked from you via chat.
Per shop Discounts:
What you do when something isn’t selling? Add discount sales of course. This plugin can add timed percentage discounts to selective shops or thought all the shops if you want:
In this plugin each command & sub-command has its own permission. All the permissions are listed in details in the config.yml of the plugin. This plugin has two commands one for tokens & one for the Token Shop.
Token:
/token check you tokens
/token <player> check player’s tokens
/token give <player> <amount> give tokens to player
/token take <player> <amount> take tokens from player
/token set <player> <amount> set a player’s tokens
/token reset <player> <amount> reset player’s tokens to 0
TokenShop:
/tokenshop open main tokenshop
/tokenshop <name> open shop named <name>
/tokenshop create create new shop
/tokenshop delete delete a shop
/tokenshop setbackground set background of a shop
/tokenshop setsize set size of a shop
/tokenshop setname set GUI name of shop
/tokenshop add add non-purchasable item to shop
/tokenshop additem add purchasable item to shop
/tokenshop remove remove an item from shop
/tokenshop discount manage discounts for shops
What’s a plugin without a good API for developers? This plugin comes packed with a complete, extensive & easy API which can be used for personal use only. You can find the api at:
https://github.com/DEVBackstabber/EpicSet-Tokens
Other Features:
These are some features that were requested & were added as updates to this plugin:
- Per-item limits:
You can add purchase limits to items in shops.
- Timed limit resetting:
Limits on items can be setup to reset on a timed basis. They can be reset daily , weekly , monthly or yearly.
- Command to reset limits:
You can use admin command to reset limits of a player
- Op protection on sensitive commands:
You can stop opped players from using sensitive commands such as "token give" etc.
- Permissions on shops:
You can make specific shops require a permission node. To add permission to a shop use "/tokenshop addpermission <shop> <permission>"
- Custom Model Data Support:
If an item contains custom model data the plugin will detect that & add the item with that data.
- Custom Head Textures Support:
If a head has a custom texture that will also be detected & saved/added accordingly.
- Fully Translatable:
All messages in this plugin & text used is present in a .yml file & can be translated easily. (I'm sorry i cant translate myself as in only know English.)
If you find any problems with this plugin let me know here or on my discord: @Backstabber#6374
If you find any problems with this plugin let me know here or on my discord: @Backstabber#6374