Effects
Effects are the actions that will be performed when an ability is activated. Examples of effects include damaging an entity, healing an entity, or teleporting an entity. There are many different types of effects available, each with their own unique properties and parameters.
Effect examples
In this example, when the trigger occurs, the victim will be set on fire for 2 seconds, a random greeting will be sent to the victim with their name.
Effect List
There are many different types of effects that can be used in our ability system. Some of the effects available are:
Usage | Description |
---|---|
| Send an actionbar message |
| Modify durability of main item |
| Modify durability of armor |
| Repair item |
| Adds to the player's fly speed (from -1 to 1) |
| Modify player's food level |
| Add health to entity |
| Add money to player account |
| Adds to the player's walk speed (from -1 to 1) |
| Modify player's remaining air |
| Auto reel in fish from fishing rod (for BITE_HOOK trigger only) |
| Steal entity bleed |
| Display blood effect |
| Boost entity up in air |
| Break block |
| Break a whole tree at once |
| Set an entity on fire |
| Display cactus effect |
| Cancel Event, e.g. an attack |
| Cancel use of a material, e.g. ENDER_PEARL |
| Run command through console |
| Remove non-permanent potion effect |
| Remove permanent potion effect |
| Removed. Use ADD_DURABILITY_ARMOR effect |
| Decrease damage by percentage |
| Disable activation for seconds |
| Disable entity's knockback for time |
| Disarm Entity |
| Harm an entity by doing health damage. This does not ignore armor and dealt damage may be reduced depending on armor |
| Take entity's health away, ignores armor and does not play damage animation for player |
| Take entity's health away, ignore armor play damage animation for player |
| Remove health from an entity while allowing the use of totem, "%e:<HEALTH>" |
| Remove health from an entity with damage effect while allowing the use of totem, "%e:<HEALTH>" |
| Double damage |
| Drop player or mob head |
| Drop Experience Orbs |
| Create an explosion |
| Extinguish an entity |
| Shoot a fireball |
| Toggle player's flight |
| Sets the player's fly speed (from -1 to 1) |
| Freeze Entity |
| Spawn a guard to protect an entity. Use baby version of supported mobs by adding |
| Give items to user/location |
| Half damage effect |
| Cancel armor durability reduction |
| Ignores armor damage reduction |
| Increase damage by percentage |
| Toggle entity's invincibility |
| Kill an entity |
| Keep item on death |
| Strike a lightning. Optional argument if true, will cause block damage and harm players around, if false, will only play a visual lightning effect. Default is true. |
| Send a message |
| Multiply drops. We recommend that you set a whitelist for materials, otherwhise this will multiply all drops (e.g. diamond_block) Settings |
| Negate a specified amount of damage |
| Play particles at a location |
| Play particles in straight line. Amount = number of particles in each point, Points = number of points between two locations that particles will be shown at. |
| Toggle player's permission |
| Plant seeds in radius. Seed types: SEEDS, POTATO, MELON, PUMPKIN, CARROT, BEETROOT, NETHER_WART |
| Run command through player |
| Play sound for a specific player |
| Play sound at a location |
| Add potion effect PotionEffectTypes |
| Force-add potion effect |
| Pull away an entity |
| Pull an entity closer |
| Put a pumpkin on entity's head |
| Remove a specific armor piece |
| Remove a random armor piece |
| Remove money from player account |
| Repair item |
| Revive an entity |
| Set player's remaining air |
| Set block to a type |
| Set max. Time for fishing |
| Set min. Time for fishing |
| Shuffle player's hotbar |
| Smelt drops |
| Cancel Event, e.g. an attack |
| Spawn flood of arrows from above |
| Spawn falling blocks from above player and to cause damage |
| Steal EXP from one person for another |
| Steal health from one entity for another |
| Steal Money from one person for another |
| Stop entity's knockback |
| Send a subtitle |
| Take item away from player |
| Teleport behind other entity |
| Teleport to location |
| Send a title |
| Create a TNT explosion |
| Teleport drops to inventory |
| Delete x amount of current item from inventory |
| Spawn an entity at a location (req. EntityType) |
| Spawn a shooting projectile with velocity (req. EntityType Projectile) |
| Walk fast through cobwebs |
| Walk on lava |
| Walk on water |
| Sets the player's fly speed (from -1 to 1) |
| Open a virtual crafting table |
| Open virtual enderchest |
| Drop item in hand |
| Invert a custom variable's boolean. |
| Create a custom variable globally, not per user. To create a variable that could be user for a user, you can include user's name in the variable's name, e.g. |
| Slow player down and show freeze effect on player's screen for defined amount of ticks (1 second = 20 ticks!) |
| Wait for the next effect to activate. |
Plugin-specific effects
AdvancedEnchantments:
Usage | Description |
---|---|
| Add an enchant to item |
| Remove enchant from item |
| Add souls to an item |
| Remove souls from an item |
McMMO:
Usage | Description |
---|---|
Add mcmmo skill experience |
Last updated