Using bonuses - montlikadani/RageMode GitHub Wiki
The list of bonus types found in configuration in the bonuses section.
Currently supported bonus types:
- effect
- sound
- points
- givegameitem
[ ] - optional
< > - required
It's easy to use, create any line of bonus, just follow this instruction.
If you want to give point reward to player when a player killed an another player, will add double bonus points to the killer.
Example
list:
- "points:15"
If you want to give potion effect reward to player when a player killed an another player, will adding effect to the killer.
Example
list:
- "effect:regeneration:20:2"
Usage of effects: effect:<effectName>:[durationInSeconds]:[amplifier]
Effect types found in PotionEffectTypes site
If you want to give a game-item to the player if he/she killed someone in game, use:
Example
list:
- "chance:50_givegameitem:grenade:3"
- "givegameitem:grenade"
- "chance:45_givegameitem:combataxe"
If you want to play a sound to the player with the given sound, use:
Example
list:
- "sound:block_anvil_break:1:2"
Usage: sound:<SoundName>;[volume];[pitch]
Sound lists: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
The per-line chances every options supports what is on the list.
Example
list:
- "chance:25_points:15"
- "chance:15_effect:regeneration;30"
This will give a 25% chance of triggering points and a 15% chance of triggering effects.