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"

Last updated