Native Minecraft Version:1.13Tested Minecraft Versions:
This plugin provides the functionality to create unlimited, different Repair Tokens with different durability assigned to them. When a user uses a token and tool together, this tool will be repaired by this a predefined amount.
This plugin can be used in all types of gamemodes including Survival, SkyBlock, Factions and Prison.
Versions from 1.8 - 1.14.x supported!
Come and join our official Discord Server!
- /RepairToken give <player> <repairtoken> <amount> - Gives a user a specified repair token - Permission repairtoken.admin.give
- /RepairToken giveall <repairtoken> <amount> - Gives all users online a specified repair token - Permission repairtoken.admin.giveall
- /RepairToken reload - Reloads the configuration file - Permission repairtoken.admin.reload
- /RepairToken list - Lists all valid tokens - Permission repairtoken.admin.list
Instead of using /RepairToken, the alias /rt can be used!
1. Place the jar within the 'plugins' directory
2. Run the server to produce the configuration file
3. Edit the Configuration file to your liking
4. Run the command /rt reload to reload the configuration file
Spoiler: config.yml
The plugin has one event located here: me.jet315.repairtokens.events.TokenUseEvent
This event is called when a Repair Token is about to be consumed
Example:
Code (Text):
@EventHandler
public void onTokenUse(TokenUseEvent e){
//Check if the item being clicked is a wooden pickaxe
if(e.getClickedItem().getType() == Material.WOOD_PICKAXE){
//Check if the player doing it is called jet315
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
This plugin provides the functionality to create unlimited, different Repair Tokens with different durability assigned to them. When a user uses a token and tool together, this tool will be repaired by this a predefined amount.
This plugin can be used in all types of gamemodes including Survival, SkyBlock, Factions and Prison.
Versions from 1.8 - 1.14.x supported!
Come and join our official Discord Server!
- Create unlimited Repair Tokens
- Set the durability amount (the number of uses) that each repair token repairs by
- Modify each Repair Token to your liking
- Modify the list of Materials that these Repair Tokens can be applied to
- No dependencies required
- Extremely customisable
- API For developers
- /RepairToken give <player> <repairtoken> <amount> - Gives a user a specified repair token - Permission repairtoken.admin.give
- /RepairToken giveall <repairtoken> <amount> - Gives all users online a specified repair token - Permission repairtoken.admin.giveall
- /RepairToken reload - Reloads the configuration file - Permission repairtoken.admin.reload
- /RepairToken list - Lists all valid tokens - Permission repairtoken.admin.list
Instead of using /RepairToken, the alias /rt can be used!
1. Place the jar within the 'plugins' directory
2. Run the server to produce the configuration file
3. Edit the Configuration file to your liking
4. Run the command /rt reload to reload the configuration file
Spoiler: config.yml
The plugin has one event located here: me.jet315.repairtokens.events.TokenUseEvent
This event is called when a Repair Token is about to be consumed
Example:
Code (Text):
@EventHandler
public void onTokenUse(TokenUseEvent e){
//Check if the item being clicked is a wooden pickaxe
if(e.getClickedItem().getType() == Material.WOOD_PICKAXE){
//Check if the player doing it is called jet315