Effects Configuration
The effects allow you to create consumable items giving extra stats to players who consume them.
Creating Effects
To create new effects, open (or create) the effects.yml file in the RPProfessions folder and add a new (unique) entry in it:
MMO Effects
As of today, only MMO effects can be created. This means you can only create effects giving stats from plugins using MythicLib.
Options
mmo-id
The mmo-id is the key which the effect will be registered under. You cannot have 2 different effects with the same mmo-id.
duration
The duration sets how much time (in seconds) the effect should last.
mmo-stats
The mmo stats to give to the player.
The stats id are equal to the stat (in-game) name fully capitalised, and where all spaces are replaced by underscores ('_').
E.g.: Max Health -> MAX_HEALTH
save-on-quit
Whether to save the effect's state when the player leaves the server (i.e. how much time remains).
persistent-through-death
Whether the effect remains after the player dies.
Last updated