Skip to main content

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 ModeDescription
ADD_NUMBERAdds or subtracts an amount
ADD_SCALARAdds scalar
MULTIPLY_SCALAR_1Multiply 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