NotTokens icon

NotTokens -----

Placeholder and MySQL Tokens system




Added the %nottokens_top_[x]% placeholder to get one of the top 10 token players
----------, Apr 27, 2024

Commands will now accept number of tokens with decimals, but the decimals will be ignored
----------, Nov 5, 2023

Added a new config option called negative-tokens to allow or disallow players from having their tokens changed to a negative number. Added a new message that is sent to the player when they don't have enough tokens.

Messages can now have placeholders.

Optimized some code
----------, Nov 3, 2023

This version was tested for 1.20. Only a few things changed:
1. giveall tab complete was fixed to represent the actual command
2. Added a message to the admin if they try to take too many tokens away
I also cleaned up the code a bit, so it will be easier to update in the future.
----------, Jun 30, 2023

There is a new config option that allows you to declare the rate at which tokens drop.

Example:
Code (YAML):
 1:
    name
: zombie
    amount
: 1
    rate
: 0.1
There is also a new option to have tokens drop for every living mob that is killed.

Example
Code (YAML):
kill-rewards:
  all-mobs
:
    enabled
: true
    amount
: 1
    rate
: 0.1
The manually entered mobs will overwrite the given tokens if all-mobs is enabled
----------, Mar 4, 2023

The plugin will perform a command whether the SQL database still has a connection or not, and then sync that command once it reconnects.
----------, Feb 24, 2023

Small update here. Most server owners do not need to worry about these new features.
  • NotTokens now works on offline servers. I re-coded the places that use online server methods to fallback to stored usernames.
  • When MySQL disconnects, NotTokens will try to reconnect, and if "auto-reconnect:" is enabled in the config, it will try to reconnect every 30 seconds
----------, Feb 16, 2023

There will no longer be errors on offline servers while using this version
----------, Feb 6, 2023

This update only changes one thing from the request of Mr.Rizhin.
  • /token giveall (amount) (online/offline)
This allows admins to give everyone tokens. Leaving the last word blank will default it to only people online. If you use offline, it will give tokens to anyone that has joined the server before, including the people online currently.
----------, Feb 3, 2023

Features
  • MySQL support - NotTokens now supports using MySQL. You can edit the database information in the config. You can paste in the new parts from the plugin page or the plugin will automatically add them once it runs. This is my first time using MySQL, and I tried to bug test it extensively, but if there are any bugs, please let me know so I can fix them.
  • Offline player compatibility - Now, you can add, remove, and set tokens of offline players if they have joined the server before.
  • /token (player) command - the new /token (player) command, accessible with the nottokens.admin permission, allows you to view the token balance of other online or offline players.
Fixes/Other Changes
  • The placeholder can now use offline players - unsure if this was really a problem before, but I updated the code to officially support it
----------, Aug 9, 2022

New Features
  • Auto fixing config - no need to paste in the new config after updating, the plugin will add the missing features. One thing to note is that you will have to refer to the plugin page for usage of the new features
  • New /tokens top command - with the new nottokens.top permission (default given), players can use the /token top command to see who has the most tokens on the server. Now in the config, there is a leaderboard-exclusion list in which you can add player names to be excluded from the top 10
Fixes
  • kill-rewards can be disabled - there is now the "enabled: true" option in the config under "kill-rewards" to disable kill rewards
  • Optimized storing tokens - doesn't read from the files as often anymore
  • Tab complete works better - tab complete now removes excess commands if it doesn't think you are trying to type them
----------, Aug 5, 2022

Can now be used on 1.19 servers
----------, Jul 4, 2022

Changes;
- Plugin now works with 1.18
- added option in config to condense token messages to reduce spam
- added option in config to give tokens to players when they kill an entity
----------, Jul 4, 2022

Added a new command :
/token set (player) (amount)
Sets a player's tokens to a desired amount
----------, Nov 17, 2021

Resource Information
Author:
----------
Total Downloads: 1,311
First Release: Sep 3, 2021
Last Update: Apr 27, 2024
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings