TokenManager icon

TokenManager -----

An ultimate token management plugin with amazing features.




v3.2.8

New Features & Changes
  • NEW! Now supports Custom Model Data for shop items. Use custommodeldata:<value> in shop.yml!
Bug Fixes
  • Fixed Potions not loading in newer versions of MC.
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Apr 26, 2023

v3.2.7

Bug Fixes
  • Fixed MySQL connection error for MC 1.17+.
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Feb 26, 2023

v3.2.6

New Features & Changes
  • NEW! Now supports up to Minecraft 1.19.
  • Geyser UUIDs now properly save to data.
Bug Fixes
  • Fixed PlaceholderAPI Reload Persistence Issue
  • Fixed Offline Mode Player-Data Mapping Issue
  • Fixed Outdated UUID Fetching Website
Having an issue with the plugin? Report it to my Discord Server to have it resolved as soon as possible.
----------, Feb 25, 2023

Found an issue? Please join the Discord Server to report it.

v3.2.5
  • NEW! Placeholders for top token balances are here!
  • Code (Text):
    (Change %% to {} for MVdW PAPI)
    %tm_rank% - Your position on /token top
    %tm_top_name_[pos]% - Name of the player at selected position on /token top. Ex: %tm_top_name_1% returns the name of the first player on the list.
    %tm_top_tokens_[pos]% - Amount of tokens that the player at selected position on /token top has.
  • NEW! tokenmanager.cancel.[shop]-[slot] - Player with this permission will not be able to purchase the selected slot in the shop. Useful for one-time purchases!
  • [​IMG]
  • %tm_tokens% placeholder no longer has commas - Use %tm_tokens_commas% instead!
  • Commas format (1000 -> 1,000) and simplified format (1000 -> 1.0k) is now available for all number related placeholders in lang.yml.
  • TokenManager's license has been changed from MIT to GPLv3.
Top Placeholders + DeluxeMenus
[​IMG]
----------, Apr 6, 2020

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.4 includes:

  • /token sell all - Sells all items in the player's inventory that has a worth set in worth.yml. (Permission: tokenmanager.use.sell.all)
  • /token worth all - Shows the worth of the player's entire inventory. (Permission: tokenmanager.use.sell.all)
  • Fix for skull item error when displayed without a player option
  • Online mode detection fix for BungeeCord servers
  • API Additions
----------, Jul 20, 2019

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.3 includes:

  • 1.14 support
  • New shop option empty-slots-required! Click here to see a usage example.
  • New config option log-purchases! When enabled, all shop purchases will be logged to console.
  • Added the following API methods:
Code (Java):
boolean addTokens ( final Player player, final long amount ) ;
boolean removeTokens ( final Player player, final long amount ) ;
----------, May 21, 2019

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.3 includes:

  • 1.14 support
  • New shop option empty-slots-required! Click here to see a usage example.
  • New config option log-purchases! When enabled, all shop purchases will be logged to console.
  • Added the following API methods:
Code (Java):
boolean addTokens ( final Player player, final long amount ) ;
boolean removeTokens ( final Player player, final long amount ) ;

----------, May 21, 2019

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.2 includes:

  • Fixes MySQL database not updating properly in v3.2.1.
----------, Feb 5, 2019

Found an issue? Please PM me or join the Discord Server to report it.

v3.2.1 includes:

  • %player% placeholder is now available for shop items!
  • Other bug fixes
----------, Feb 5, 2019

TokenManager v3.2.0

A huge update containing the majority of the requested features!

What's New:
  • %tokens% placeholder is now available for shops! Display your token balance anywhere. (comma-separated)
    [​IMG]
  • %tm_tokens% placeholder now displays comma-separated balance. To display raw balance, use %tm_tokens_raw%.
  • NEW COMMAND! /token sell (tokenmanager.use.sell) - Sells your held item for amount of tokens defined in worth.yml.
  • NEW COMMAND! /token worth (tokenmanager.use.worth) - Displays the worth of your held item defined in worth.yml.
  • NEW OPTION! check-inventory-full - If enabled, forces player's inventory to have an empty slot in order to make a purchase in token shops.
  • Support for custom head textures. 'texture:<base64 texture value>' should now work for heads.
  • Support for dyed leather armor. 'color:r,g,b' should now work for leather armor.
  • Vault hook should now function as expected.
  • New API methods & more events!
  • Other optimization.
  • and more...
Found an issue? Please PM me or join the Discord Server to report it.
----------, Dec 31, 2018

Found an issue? Please PM me or join the Discord Server to report it.

v3.1.3 includes:

  • Support for Minecraft 1.13
  • %price% placeholder is now available for shop item in displayed, message, and commands section
  • /tm transfer now functions with flatfile data storage as well
  • Fixes permission check not working if item has confirm purchase is enabled (Thanks to @Disorbs :))
----------, Jul 30, 2018

Found an issue? Please PM me or join the Discord Server to report it.

v3.1.2 includes:

  • Fixes player being able to place an item in shop using num keys (Thanks to @Kroh :))
  • Added an update notification on login for admins
  • Permission for /token balance <player> - tokenmanager.use.balance.others
----------, Jul 13, 2018

PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.1.1 includes:

  • Fixes the placeholder %tm_tokens% not working as expected
----------, Jun 6, 2018

As of v3.1.0, TokenManager v3 is no longer in beta. Thanks to everyone who've helped by submitting bug reports.

v3.1.0 includes:

  • Minimum & Maximum amount limit for /token send command
  • bStats support
  • New API methods for editing offline player token balances. For more information, please check out the updated API.
----------, Jun 1, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.9 includes:

  • a fix for token balances not being updated properly through Redis
  • a fix for Updater classes version mismatch
----------, May 24, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.8 includes:

  • %player% placeholder for 'COMMAND.token.receive' - displays the name of the player who sent the tokens.
  • An optional command argument for /tm add|set|remove. If '-s' is appended to any of the commands above, it will not display the token added|removed message to the target player.
----------, May 14, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.7 includes:

  • Automatic checking for updates. This can be disabled in the configuration.
  • An optional command argument for /tm add|set|remove. If '-o' is appended to any of the commands above, it will only run if the selected player is online on the server that the command was executed.
----------, May 8, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.7 includes:

  • Automatic checking for updates. This can be disabled in the configuration.
  • An optional command argument for /tm add|set|remove. If '-o' is appended to any of the commands above, it will only run if the selected player is online on the server that the command was executed.
----------, May 8, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.6 includes:

  • Feature suggested by the issue #15 - ItemFlag support !
To make an item glow without displaying enchantments in the lore:
Code (Text):
displayed: TRIPWIRE_HOOK 1 unbreaking:10 flags:HIDE_ENCHANTS
To make an item not display unbreakable or attack damage in the lore:
Code (Text):
displayed: DIAMOND_SWORD 1 flags:HIDE_UNBREAKABLE,HIDE_ATTRIBUTES unbreakable:true

Thanks to @mibby for reporting the issues above.
----------, May 2, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.5 includes:

  • Proper formatting of large amount of tokens. Display 1000000 tokens as 1.0M tokens! This can be done to any amount placeholders in lang.yml OR MVdW/Clip's Placeholders by appending '_formatted' to the placeholder.
Examples:
Code (Text):
balance: '{PREFIX} &7Your token balance is &b%tokens_formatted% token(s)&7.'
MVdWPlaceholderAPI : {tm_tokens_formatted}
Clip's PlaceholderAPI : %tm_tokens_formatted%

  • IP-checking for /token send to prevent alt accounts generating tokens.
  • Players will no longer get the message 'balance is improperly loaded' when running /tm reload
  • Fixes an issue with message not being sent when player has not enough tokens to run /token send
  • Fixes an issue with confirm purchase guis taking tokens without providing the purchased item
  • Added the old API back, which is now deprecated
----------, Apr 30, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.4 includes:

  • A config option to manually specify server mode
Code (Text):
# Allows you to force set the plugin's mode to online/offline/automatic.
# If you run a cracked server but the plugin detects it as online and saves UUID instead of name, set the value below to 'false'.
# Available modes: true, false, auto (default)
online-mode: auto

  • A new default shops.yml with detailed explanations of newly introduced shop options in v3
  • Some bug fixes with the cache saving/loading
----------, Apr 8, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.3 includes:

  • A config option to toggle off redis while using mysql
  • Module specific reload for ShopsConfig and Lang ( Example: /tm reload ShopsConfig )
  • A 'confirm-purchase' option for both shops and slots to display a confirm purchase GUI before actually purchasing an item.
Example:
Code (Text):
shops:
  test:
    title: '&6Default Shop'
    rows: 1
    auto-close: true
    use-permission: false
    confirm-purchase: true # <-- Add this to open the GUI for every item in the shop
    items:
      '0':
        displayed: 276 1 name:&cGod_Sword sharpness:5 fireaspect:2 lore:&bEliminate_your|&cEnemies&b!|&dCost:&a_10_Tokens
        cost: 10
        confirm-purchase: true # <-- Add this to open the GUI for this item only
        subshop: yoursubshop
        message: '&bTM &8» &7Thanks for your purchase, %player%! &c-10 tokens'
        commands:
        - 'give %player% 276 1 name:&cGod_Sword sharpness:5 fireaspect:2 lore:&bEliminate_your|&cEnemies&b!'

Settings for the confirm purchase GUI was added to the main configuration.
MAKE SURE TO STOP THE SERVER BEFORE UPDATING!
----------, Apr 6, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.2 includes:

  • Fixes an issue with slot messages, thanks to @Disorbs
  • Fixes an issue with SpawnEggs on 1.9+ servers
----------, Mar 14, 2018

THIS VERSION IS IN BETA. PLEASE READ THIS POST BEFORE UPDATING IF YOU ARE USING A VERSION BELOW 3.0

v3.0.1 includes:

----------, Mar 11, 2018

3.0 is still in beta. Use at your own risk!

TokenManager 3.0 BETA

READ THE WHOLE POST BEFORE UPDATING OR THERE WILL BE ISSUES!

TokenManager 3.0 BETA is is a completely rewritten version, which means there could easily be some new bugs . Please PM me about them with information such as error logs to get it fixed as soon as possible.

The new version contains the following :

  • A lot more efficient code than the previous
  • Support for both online & offline servers
  • Auto-updating config file system
  • Better API
  • My own placeholder hook for Clip's PlaceholderAPI / MVdWPlaceholderAPI (no delay in updates!)
  • All known bugs fixed (hopefully)
In order to update to this version, you need to :
  1. Stop the server.
  2. Replace the old plugin jar with the new jar.
  3. Start the server.
Additionally, the new version requires Redis for cross-server synchronization of token balances. There will be a new option in the updated configuration to configure your credentials for it.
----------, Mar 10, 2018

This is a quick update for cracked servers, which should fix the user not found issue with /tokenmanager add/remove/set/send. The completely revamped version is still in development!
Ignore this update if you're not running a cracked server.

Click to download TokenManager 2.0.8 for cracked servers
----------, Jun 12, 2017

(v2.0.8) Changelog:
- Fixes an issue with plugins executing /tm add failing / crashing the server. Much thanks to @ChavitaHD for the help.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Aug 12, 2016

(v2.0.7) Changelog:
- Attempts to fix bugs reported by users. If you're still experiencing the issue you've reported, please reply to your bug report conversation. Thanks to everyone who reported.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Aug 10, 2016

Note: This is a quick bug patch update. I'm still working on the major update that will contain a lot of re-write of my old codes.

(v2.0.6) Changelog:

- Fixes Spawn Eggs not loading properly on 1.10+

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, Jul 17, 2016

(v2.0.5) Changelog:
- Fixes an issue that TokenReceiveEvent was only firing when vault hook was enabled.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 26, 2016

(v2.0.4) Changelog:
- TokenReceiveEvent will now fire when Vault's Economy#depositPlayer method is called if vault hook is enabled.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 24, 2016

(v2.0.3) Changelog:
- TokenReceiveEvent was added! Requested by @Tara3208 , enjoy!
- New Shop Option! Enable permission for individual slots. Suggestion from @Saxion , thanks! - Click Me For an Example Usage -

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 16, 2016

(v2.0.2) Changelog:
- Patches Monster Egg issue reported by @nickshelton80 . Thank you!

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 15, 2016

(v2.0.1) Changelog:
- Patches a cast exception reported by @Hakogaming , thank you.

If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 7, 2016

To anyone viewing this update, please click that 'Read More' button if you're planning to update! This update contains a lot of stuff that you probably should read about before updating.
————————————————————————​


TokenManager v2.0


It's finally here, after 3 months of work... Just kidding, I just didn't have enough time to update, it actually took few weeks. Anyways, this update should probably contain most of the things people have requested. Continue reading to find out!


New Features

- Vault Economy Support! It's actually here. Click Me for a video of it functioning! Also, please read the comments in the configuration about it. If you're too lazy, here's a link - CLICK ME, MUST SEE
- New /tm giveall command! Reward every single online players with some tokens easily.
- lang.yml ! All messages are now located in this new configuration file for future waves of configurable messages.
- 1.9 Support for shop configuration! Display Potions and Mob Eggs without a problem. Read the updated shops.yml section in resources' Overview for more information.
- Brand new config.yml ! Please re-generate your configuration file to view all the new stuff. Actually, you must re-generate it or things will start breaking...


General Improvements

- A lot of optimization with SQL stuff. No more random connection crashes!
- Overall code clean ups. My old code sucks. (And probably the new one too, in some experienced people's eyes)
- Optimization with MVDW Placeholder support. Player's balances are now cached for 20 seconds to prevent over-load from the database.

Bug Fixes

- Everything reported through PM, I hope. (If not, PM me again with details!)

————————————————————————
If you're experiencing any issues, please PM me about them. Thanks for downloading!
----------, May 4, 2016

(v1.8.9) Changelog:
- Now hooks into MVdWPlaceholderAPI for custom placeholder support. Placeholder: {tm_tokens}
You must have MVdWPlaceholderAPI installed on your server.
- General code improvements and bug fixes.
----------, Feb 11, 2016

(v1.8.8) Changelog:
- Patches a bug with default shop option in the configuration. (Found by @Elijah , I can't even count how many reports he sent me anymore. Thanks for all the help.)
- General code improvements.
----------, Feb 3, 2016

(v1.8.7) Changelog:
- Patches a bug that caused errors with shop system on /tm reload . (Found by @SuperRonanCraft , thanks.)
----------, Jan 24, 2016

(v1.8.6) Changelog:
- Attempts to patch a bug that apparently didn't load the player's balance properly. (Found by @Vukajlovic once again, much thanks.)
- Patches a bug that didn't allow users to purchase items with price set as '0'. (Found by @Cymmeh , thanks.)
- More optimisation with Data Manager (Flatfile storage)

I recommend anyone using flatfile storage to update to this version.
Feel free to report me any bugs, and I'll get to work as soon as possible.
----------, Jan 22, 2016

(v1.8.5) Changelog:
- Patches message formatting error when there are no data loaded in top 10 balances. Thanks to @Vukajlovic for reporting.
----------, Jan 21, 2016

(v1.8.4) Changelog:
- Attempts to patch a bug that allowed users to send tokens without loosing any from their balance. (Bug found by @CelestiaNetwork , thanks!)
- General code improvements
- More optimisation with Data Manager

I HIGHLY recommend anyone using my resource to update to this version.
----------, Jan 20, 2016

(v1.8.3) Changelog:
- Code cleanups and some optimisation with Data Manager, no bug patches contained.
----------, Jan 18, 2016

(v1.8.2) Changelog:
- Patches a bug in shop purchasing that allowed users to purchase anything even without having enough tokens .

I HIGHLY recommend anyone using my resource to update to this version.
----------, Jan 18, 2016

(v1.8.1) Changelog:
- Patches a bug in top 10 balances loading scheduler.
- Patches a bug in /tm reload where configuration didn't reload properly, thanks to @Elijah once again!
----------, Jan 12, 2016

[Please Note: Regenerate your configuration to see the new config options and messages! No changes were made with the shop system, phew.]

Updates, updates, updates...

Version 1.8 of TokenManager contains the following add-ons/patches/changes:


- Brand new /tm reload command!
- So many optimisations and improvements . Just so many. Every single data method is now safe from data-loss by directly accessing the databases when a change happens.
- New config option : Set a delay between clicks in shop system! Better performance for your server.
- New config option (Suggestion by @Elijah , thanks!): Set a default shop for /token shop command! Enabling this option will open the configured shop on /token shop and disable opening of a shop by /token shop <name> .
- New Add-on (Suggestion by @Elijah ): Sub-command alias ! Find out more on the resource's main page's commands & permissions section.
- New messages in the Messages section!
----------, Jan 12, 2016

(v1.7.2) Changelog:
- Patches a bug in default balance loading system, huge thanks to @Taylor-PH .
----------, Jan 6, 2016

(v1.7.1) Changelog:
- Patches a bug in shop displayed item loading system.
----------, Dec 27, 2015

Greeting to anyone viewing this message,

I finally had some time to update this resource. Version 1.7 contains the following patches/add-ons:

- Patched pretty much every problems reported through PM.
- MySQL support.
- Removed inefficient data saving methods from version 1.5.
- Well detailed comments per message in the configuration.

(Note: Please re-generate your current config.yml . shops.yml will have zero affect with this update, except a nice addition of few improvements to shop loading system that will help you to catch mis-types.)

If you are experiencing any problem with the updated version, please PM me by clicking this message .

Thanks for viewing/downloading/using my resource.
----------, Dec 26, 2015

(v1.6) Changelog:
- Patches a bug found by @VirtualBum , thanks!
----------, Nov 14, 2015

TokenManager v1.5
Many, many improvements and additions you would love.

- Updated to the latest version of Spigot.
- Multi-shop support with many options! Add your own sub-categories!
- Individual permissions per shop! Configurable.
- New shop configuration! No more spending crap ton of time configuring, the new version is highly simplified. Configure your shops in the shops.yml!
- Backups! The new TokenManager contains a daily backup system. Configure the backup interval and more inside the new configuration! You can also force a backup in-game using /tm save.
- New placeholders for messages! Check out the new configuration for a well-detailed information about the new placeholders.
- New command! Administrative commands of TokenManager now can be managed using /tokenmanager. Contains many new sub commands! Check out my updated resource description for farther information.
- API for developers! Check out my updated resource description for farther information.
- and more to come...

Thanks for downloading TokenManager! If you're experiencing any problem, please PM me. (Click to PM)
----------, Oct 19, 2015

(v1.4) Changelog:
- Patched shop inventory glitching randomly
- This is a quick bug (found by @ryu for the third time, much thanks) patch update, everything else is the same
----------, Sep 7, 2015

(v1.3) Changelog:
- Patched default config enchantments adding to no enchantment items on default config slots
- This is a quick bug (found by @ryu once again, much thanks) patch update, everything else is the same
----------, Aug 20, 2015

(v1.2) Changelog:
- Patched adding an enchantment not working, thanks to @ryu
- Minor optimisations
----------, Aug 19, 2015

(v1.1) Changelog:
- All found bugs patched
- Better optimisation
- Added: /token top
- Added: /token balance
- Added: AutoSave option
----------, Aug 14, 2015

Resource Information
Author:
----------
Total Downloads: 67,356
First Release: Jun 24, 2015
Last Update: Apr 26, 2023
Category: ---------------
All-Time Rating:
123 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings