HomeJavaModsItemEffects [OPENSOURCE]
ItemEffects [OPENSOURCE]
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:
Spoiler: Images
[​IMG]
[​IMG]

Configuration File:
Spoiler: Config
Code (Text):
#
# 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!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ItemEffects [OPENSOURCE] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 673 times (via Spigot). Download it and open it directly in the game.

Explore more