SETUP:
- Install PlaceholderAPI and the JavaScript expansion
- put Water_Barrel.yml in ExecutableItems/items/
- download the .txt files and put them in PlaceholderAPI/javascripts/ folder and turn their file types back to .js
- if you do not know how to add js file placeholders to PlaceholderAPI, the javascript_placeholders.yml is included and can be pasted at PlaceholderAPI folder
(do not use this item config if you're not super good at technical stuff.)
References:
- https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Advanced-Scripts#player-information
- https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html
- Install PlaceholderAPI and the JavaScript expansion
- put Water_Barrel.yml in ExecutableItems/items/
- download the .txt files and put them in PlaceholderAPI/javascripts/ folder and turn their file types back to .js
- if you do not know how to add js file placeholders to PlaceholderAPI, the javascript_placeholders.yml is included and can be pasted at PlaceholderAPI folder
(do not use this item config if you're not super good at technical stuff.)
References:
- https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Advanced-Scripts#player-information
- https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html