Skip to content

Token System

hyperdefined edited this page Jan 25, 2025 · 13 revisions

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 player-kills player-kills
Crops Mined Sheep Sheared Fish Caught
crops-mined sheep-sheared fish-caught
Flight Time Arrows Shot
flight-time arrows-shot

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

Clone this wiki locally