ConditionalEvents Wiki
Here you will learn how to properly use my plugin: https://www.spigotmc.org/resources/82271/
Description
example1:
type: block_interact
conditions:
- '%block_x% == 20'
- '%block_y% == 60'
- '%block_z% == 20'
- '%block_world% == lobby'
- '%block% == STONE_BUTTON'
- '%action_type% == RIGHT_CLICK'
actions:
default:
- "message: &aYou''ve received $500!"
- "console_command: eco give %player% 500"
- "playsound: ENTITY_PLAYER_LEVELUP;10;2"example2:
type: player_attack
conditions:
- '%victim% == PLAYER'
- '%item% == DIAMOND_SWORD'
- '%item_name% == VIP Sword'
- '%random_1_10% >= 8'
actions:
default:
- 'message: &aYour diamond sword poison effect was activated!'
- 'to_target: give_potion_effect: POISON;120;1'
- 'to_target: message: &cYou were poisoned by &e%player%&c!'Last updated