Custom durability bar
This tutorial ONLY WORKS if instead of working with vanilla durability you work with the custom durability of usage.
If you would like to remove the vanilla durability and combined with the custom durability tutorial create a custom durability bar like this, you have to:
Follow the first tutorial
Follow the custom durability tutorial
Remove the flags in hiders option
You may want to remove the flags to make the tool look smooth and clean
Set the item to unbreakable
You should have done this already but just in case, you have to enable the unbreakable part, otherwise the vanilla durability will appear.
Add the bar in the lore
To achieve this you have to use the next placeholder:
%usage_bar(amount:1,color1:&d,color2:&5,symbol:|)%
Obviously you can edit it as you want, once you have your ideal bar, you are done !!
Try it now
Copy this into ExecutableItems and reload
From the SCore custom commands reference. Paste it into a config, run the plugin's reload command, and you have a working starting point to edit.
activators:
activator0: # Activator ID, you can create as many activator on the activators list
option: # Here goes an activator that is at least instance of player
playerCommands:
- ABSORPTION amount:5 time:200 # Gives the player absorption
activator1: # Activator ID, you can create as many activator on the activators list
option: # Here goes an activator that is at least instance of target
targetCommands:
- ABSORPTION amount:5 time:200 # Gives the target absorptionPlugin used on this page
ExecutableItemsCustom items with abilities, activators and commands — no code.
- 5.0/5 from 10 reviews
- 3.0K servers running it right now (bStats)
- 51 downloads on SPlugins
€19.99
one-time, lifetime updates