ConditionalEvents Wiki
Here you will learn how to properly use my plugin: https://www.spigotmc.org/resources/82271/
Description
This plugin allows you to add different conditions to certain events. If these conditions are acomplished, then custom actions will be executed. The possibilities of what you can do with the plugin are endless. To understand the plugin in a simpler way here some examples:
If a player press a button (or any block) in certain coordinates, you can execute some actions for the player, like executing a command, sending him a message, applying some potion effects, and many other actions.
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"If a player damages another player with a certain item, there is a small chance of giving the victim a poison potion effect.
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!'With ConditionalEvents you can block commands, kick the players who use them or play them a sound.
You can cancel events like breaking or placing blocks in certain worlds.
You can teleport the player to different places after they die depending on which world they are.
You can constantly check if a player enters an area and execute some actions for him.
You can give money to the player who kills another player, depending on its rank.
You can create a command to check another player level.
Last updated
Was this helpful?