Updated Token System (markdown)

hyperdefined
2025-01-25 17:26:39 -05:00
parent 4447d2d2a9
commit fccb3119cb

@@ -1 +1,25 @@
will add later
The token system is a way for players to add stats to items they want. Players either craft or are given a token to add to an item. Once added, that tool will track that given statistic. Once this system is on, all stats will be turned off unless the player's tool/armor has a token applied.
## Setup
To enable, set `tokens.enabled` true in your config. I recommend setting up the tokens section before using on your server.
## Getting Tokens
By default, tokens can be crafted by players. If you want to disabled this, set `craft-tokens` to `false` in your config. Below are the crafting recipes.
If you want to disable crafting, you can give tokens by using the command `/toolstats givetokens <player> <token-type>`. You can specify more than one by using `/toolstats givetokens <player> <token-type> <amount>`. Requires `toolstats.givetokens` permission.
| Blocks Mined | Player Kills | Mob Kills |
|---|---|---|
| ![blocks-mined](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/blocks-mined.png) | ![player-kills](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/player-kills.png) | ![player-kills](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/player-kills.png) |
| Crops Mined | Sheep Sheared | Fish Caught |
|---|---|---|
| ![crops-mined](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/crops-mined.png) | ![sheep-sheared](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/sheep-sheared.png) | ![fish-caught](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/fish-caught.png) |
| Flight Time | Arrows Shot |
|---|---|
| ![flight-time](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/flight-time.png) | ![arrows-shot](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/arrows-shot.png) |
## Use Tokens
To use a token, simply apply it in an anvil like below. You can configure how many levels it takes for each in the config.
![anvil](https://raw.githubusercontent.com/hyperdefined/ToolStats/refs/heads/master/images/crafting/anvil.png)