ItemEffects [OPENSOURCE]
1.1A lightweight plugin allowing an item to contain a potion effect and when clicked, consumed.
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!
Features:
[+] 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
Instructions:
- 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
Commands:
- /itemeffect give <player> <effecttype> <level> ( Permission: itemeffect.give)
- /itemeffect reload ( Permission: itemeffect.reload)
Images:
Images

Configuration File:
Config
#
# Stores the Material that is used to give enchantments on
# Must be a valud entity:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
#
EffectItem: CLAY_BALL
#
# 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)
#
TimeForLevel1: 60
TimeForLevel2: 120
TimeForLevel3: 180
#Would you like potion particles to show when they activate an effect?
ShowParticles: true
#
# Messages:
# 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
UseTitles: true
# If the above is true, what titles should be displayed?
MainTitle: "&f&l+ &c%POTIONEFFECT%"
SubTitle: "&6&m-----------------------"
#Consume message
OnEffectTaken: "&6Effects &e&l> &cYou have activated &a%POTIONEFFECT%&c for &a%DURATION% &cseconds!"API:
Use the PlayerConsumeEffectEvent (me.jet315.itemeffects.events) -
https://github.com/Jet315/ItemEffec...meffects/events/PlayerConsumeEffectEvent.java
This is called when a player consumes an item
Any Issues:
Send me a PM or create a ticket here:
https://github.com/Jet315/ItemEffects/issues
Thanks - Feel free to leave a review!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta