This plugin provides the ability for Potion Effects, such as Strength, to be put onto an item. When this item is right clicked, the potion effect is applied to the user!
- Tested Minecraft Versions:
- Source Code:
[+] Configurable Messages & Titles
[+] ALL Minecraft potion effects are supported - https://hub.spigotmc.org/javadocs/b...onEffectType.html#getByName-java.lang.String-
[+] Commands supported
[+] API for developers
- Place the ItemEffects jar within your /plugins directory
- Start the server - It will work out the box!
- Edit the configuration file to match your likings
- Reload the configuration file by typing /itemeffects reload
- /itemeffect give <player> <effecttype> <level> (Permission: itemeffect.give)
- /itemeffect reload (Permission: itemeffect.reload)
# Stores the Material that is used to give enchantments on
# Must be a valud entity:
# Stores the times that the effect is given (in seconds) for a particular level
# (I.E A Strength Level I potion will last 60 seconds)
#Would you like potion particles to show when they activate an effect?
# Place holders include:
# %POTIONEFFECT% - Is replaced for the type of effect that is being activated (I.E Strength)
# %LEVEL% - Is replaced for the potion effects level
# %DURATION% - The time (in seconds) the effect is present for
# %PLAYER% - The player's name
# Whether or not Titles should be used
# If the above is true, what titles should be displayed?
MainTitle: "&f&l+ &c%POTIONEFFECT%"
OnEffectTaken: "&6Effects &e&l> &cYou have activated &a%POTIONEFFECT%&c for &a%DURATION% &cseconds!"
Use the PlayerConsumeEffectEvent (me.jet315.itemeffects.events) -
This is called when a player consumes an item
Send me a PM or create a ticket here:
Thanks - Feel free to leave a review!