Abilities
Suggestions
If you have any suggestions, feel free to tell us on our Discord.
Attributeβ
Descriptionβ
Gives the player an attribute modifier with a value and a operation mode
| Operation Mode | Description |
|---|---|
| ADD_NUMBER | Adds or subtracts an amount |
| ADD_SCALAR | Adds scalar |
| MULTIPLY_SCALAR_1 | Multiply amount after adding 1 to it |
Usageβ
ability:
type: attribute
attribute: GENERIC_MAX_HEALTH
value: 2.0
operation: ADD_NUMBER
Poisonβ
Descriptionβ
Poisons the enemy player for a certain amount of time with a chance.
Usageβ
ability:
type: poison
chance: 0.2
duration: 20
amplifier: 1
Potionβ
Descriptionβ
Gives the player a potion effect for a certain amount of time.
Usageβ
ability:
type: potion
potion-effect-type: SPEED
duration: 20
amplifier: 1
Rageβ
Descriptionβ
Gives the player a damage boost for each kill on streak, so if you are on a 2 kill streak, you will have a 2 * damage boost.
Usageβ
ability:
type: rage
maxStack: 2
powerMultiplier: 0.2
Vampireβ
Descriptionβ
Heals the player for a certain amount of health when he hits an enemy, with a chance.
When the player hits an enemy, the plugin will get the enemy's health * healthPercentage. If it less than 0.5 it will be ignored, else it will be taken from enemy to the player.
Usageβ
ability:
type: vampire
chance: 1.0
healthPercentage: 0.2
Multipleβ
Descriptionβ
Allows you to add multiple abilities to the item.
Usageβ
ability:
type: multiple
chance: 1.0
abilities:
- type: poison
chance: 0.2
duration: 20
amplifier: 1
- type: potion
potion-effect-type: SPEED
duration: 20
amplifier: 1