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.
With ConditionalEvents you can block commands, kick the players who use them or play them a sound.
example3:type:player_commandconditions: - '%command% startsWith //calc or %command% startsWith //solve or %command% startsWith //eval'actions:default: - 'cancel_event: true' - 'kick: &cWhat are you trying to do?'ignore_with_permission:conditionalevents.ignore.example3
You can cancel events like breaking or placing blocks in certain worlds.
example4:type:block_breakconditions: - '%block_world% == spawn'actions:default: - "cancel_event: true" - "message: &cYou can''t break blocks on this world." - "playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1"ignore_with_permission:conditionalevents.ignore.event4
You can teleport the player to different places after they die depending on which world they are.
example5:type:player_respawnconditions: - '%player_world% equals pvp1 or %player_world% equals pvp2'actions:default: - "teleport: lobby;0;60;0;90;0" - "message: &cYou died. Teleporting you back to the PvP Lobby..."
You can constantly check if a player enters an area and execute some actions for him.