> For the complete documentation index, see [llms.txt](https://docs.eliteminecraftplugins.com/eliteenchantments/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eliteminecraftplugins.com/eliteenchantments/general-information/creating-enchantments/effects.md).

# Effects

List of useable effects for creating custom enchantments.

## What are effects?

Effects are custom abilities that will trigger when an enchantment is active.

Most effects will require arguments that are just customizable options. If the effect requires arguments then you will need to add some to avoid errors.

{% hint style="info" %}
To view a list of effects and how to use them, either execute `/ee effects` in-game or check below.\
\
You should also check /ee effects since this might not be updated to latest
{% endhint %}

|                             **Effect**                             |                                   **Description**                                   |
| :----------------------------------------------------------------: | :---------------------------------------------------------------------------------: |
|                      ADD\_DURABILITY:\[AMOUNT]                     |                    Patch player's armor by a number of durability                   |
|                   ADD\_DURABILITY\_ITEM:\[AMOUNT]                  |                  Patch player's held item by a number of durability                 |
|                            ARMOR\_CANCEL                           |                                 Cancel armor damage                                 |
|                             AUTO\_LOCK                             |                               Auto lock onto a target                               |
|                             BREAK\_TREE                            |                                Instantly break trees                                |
|                          BREAKER:\[BLOCK]                          |                       Instantly break a block \[INTERACT ONLY]                      |
|                               CANCEL                               | Cancel the event the enchant is triggered on \[i.e. On DEFENSE would cancel damage] |
|                  COMMAND:\[CMD]:\[PLAYER/CONSOLE]                  |                      Execute a command \[%player% placeholder]                      |
|           CURE:\[EFFECT]:\[REMOVE-PERMANENT(true/false)]           |             Removes a potion from a player \[Excludes permanent effects]            |
|         DAMAGE:\[MIN-AMOUNT]:\[MAX-AMOUNT]:\[PLAYER/TARGET]        |                             Add damage to player/entity                             |
|                        DAMAGE\_ARC:\[RADIUS]                       |                          Damage targets in a cone shape AoE                         |
|                       DAMAGE\_ARMOR:\[AMOUNT]                      |                   Damage target's armor by a number of durability                   |
|                           DAMAGE\_CANCEL                           |                                Cancel incoming damage                               |
|                          DAMAGE\_DISTANCE                          |                        Increase damage depending on distance                        |
|                     DAMAGE\_INCREASE:\[PERCENT]                    |                                 Increase damage done                                |
|               DISABLE\_ENCHANTMENT:\[ENCHANT]:\[TIME]              |                            Disable a certain enchantment                            |
|            DISABLE\_ENCHANTMENT\_GROUP:\[GROUP]:\[TIME]            |                          Disable a whole enchantment group                          |
|             DISABLE\_ENCHANTMENT\_TYPE:\[TYPE]:\[TIME]             |                           Disable a whole enchantment type                          |
|              DRAIN\_SOULS\_CONSTANT:\[TIME]:\[AMOUNT]              |                         Drains souls constantly from player                         |
|                     DROP\_HEAD:\[PLAYER/TARGET]                    |                                 Drops player's head                                 |
|                         DROPS:\[MULTIPLER]                         |                           Increase the amount of mob drops                          |
|                            EXP:\[AMOUNT]                           |                           Drop a number of experience orbs                          |
|          EXPLODE:\[POWER]:\[BREAK-BLOCK]:\[PLAYER/TARGET]          |                                 Create an explosion                                 |
|                     EXTINGUISH:\[PLAYER/TARGET]                    |                               Extinguishes the entity                               |
|                           FEED:\[AMOUNT]                           |                               Adds food to the player                               |
|                            FILL\_OXYGEN                            |                             Sets player's oxygen to full                            |
|                         FIREBALL:\[AMOUNT]                         |                             Shoots a fireball at entity                             |
|                         FISH:\[MULTIPLIER]                         |               Increase the amount of fish/items you get while fishing               |
|                  FLAME:\[SECONDS]:\[PLAYER/TARGET]                 |                     Sets entity on fire for a number of seconds                     |
|                           FLY:(DURATION)                           |                              Toggle a player's fly mode                             |
|                                FROST                               |                    Replicate permafrost enchantment on CosmicPvP                    |
|            HEAL:\[STEAL/ADD]:\[MIN-AMOUNT]:\[MAX-AMOUNT]           |                             Adds health to player/entity                            |
|                          HEALTH:\[AMOUNT]                          |                         Increase the base health of a player                        |
|                            HIDE\_PLAYER                            |                                     Hide player                                     |
|        IMMUNE:\[SWORD/AXE/PROJECTILE/POTION/ALL]:(DURATION)        |                         Player become immune to damage type                         |
|                                KILL                                |                          Kills the entity (Excludes Player)                         |
|                KNOCKBACK:\[PLAYER/TARGET]:\[AMOUNT]                |                         Increase knockback of target/player                         |
|              LIGHTNING:\[PLAYER/TARGET]:\[EFFECT/REAL]             |                             Strike lightning at a player                            |
|                 MESSAGE:\[MESSAGE]:\[PLAYER/TARGET]                |                               Send a player a message                               |
|        PARTICLE:\[PARTICLE]:(PLAYER/TARGET):(SPEED):(AMOUNT)       |                                Play a particle effect                               |
|          POTION:\[EFFECT]:\[LEVEL]:\[PLAYER/TARGET]:(TIME)         |                          Add potion effect to player/target                         |
|                           RAGE:\[PERCENT]                          |                                   Increase damage                                   |
| RAIN:\[BLOCK]:\[RADIUS]:\[DAMAGE]:\[ARMOR/DAMAGE]:(CHANCE-FOR-AIR) |          Falling blocks out of the sky, if it hits a player they do damage          |
|                  REDUCE\_HEARTS:\[AMOUNT]:\[TIME]                  |                      Reduce the amount of hearts for X seconds                      |
|                        REDUCTION:\[PERCENT]                        |                                Reduce incoming damage                               |
|                            REMOVE\_ARMOR                           |                     Remove a random piece of armor from a target                    |
|              REMOVE\_SOULS:\[AMOUNT]:\[PLAYER/TARGET]              |                       Remove souls for either player or target                      |
|                               REPAIR                               |                                 Repairs item in hand                                |
|                             ROT\_DECAY                             |                                Rot and Decay replica                                |
|                               SHACKLE                              |                       Shackle an entity and disable knockback                       |
|                                SMELT                               |                           Automatically smelt broken ores                           |
|                   SOUND:\[SOUND]:(VOLUME):(PITCH)                  |                                     Play a sound                                    |
|    SPAWN:\[ENTITY]:\[HEALTH]:\[AMOUNT]:\[TIME]:\[DISPLAY\_NAME]    |                            Spawn an entity to defend you                            |
|                       SPAWN\_ARROWS:\[AMOUNT]                      |                            Spawns arrows on top of player                           |
|                        STEAL\_EXP:\[AMOUNT]                        |                            Steal exp from another player                            |
|                       STEAL\_MONEY:\[AMOUNT]                       |                           Steal money from another player                           |
|                  STEAL\_MONEY\_PERCENT:\[PERCENT]                  |                             Steal % of player's balance                             |
|                          TELEBLOCK:\[TIME]                         |                             Block users from teleporting                            |
|                              TELEPORT                              |                              Teleport to player you hit                             |
|                          TELEPORT\_BEHIND                          |                              Teleport behind the entity                             |
|                           TELEPORT\_DROPS                          |                          Teleport drops into your inventory                         |
|                THROW:\[X]:\[Y]:\[Z]:\[PLAYER/ENTITY]               |                          Throw nearby players into the air                          |
|                    TNT:\[AMOUNT]:(PLAYER/TARGET)                   |                      Spawn a number of TNT at player's location                     |
|                TRENCH:\[VALUE]:(DURABILITY\_DAMAGE)                |                                  Trench out an area                                 |
|                   WEB:\[X]:\[Y]:\[Z]:\[DURATION]                   |                Spawn webs in a radius which don't effect the summoner               |
|        WRATH:\[RADIUS]:\[MIN-DAMAGE]:\[MAX-DAMAGE]:(MESSAGE)       |                         Replicate Natures Wrath enchantment                         |
