Plugin Events

CITIZENS RIGHT CLICK NPC

Event called when a player right clicks on a Citizens NPC.

example:
  type: citizens_right_click_npc
  conditions:
  - '%npc_id% == 50'
  actions:
    default:
    - "player_command: rtp"

WGEVENTS REGION ENTER

Event called when a player enters a WorldGuard region.

example:
  type: wgevents_region_enter
  conditions:
  - '%region% == main_city'
  actions:
    default:
    - "title: 20;40;20;&6&lENTERING AREA;&7City of Kryngel"

WGEVENTS REGION LEAVE

Event called when a player leaves a WorldGuard region.

example:
  type: wgevents_region_leave
  conditions:
  - '%region% == main_city'
  actions:
    default:
    - "title: 20;40;20;&6&lLEAVING AREA;&7City of Kryngel"

PROTOCOLLIB RECEIVE MESSAGE

Event called when a player receives a chat message.

example:
  type: protocollib_receive_message
  conditions:
  - "%normal_message% contains &cWelcome to the server."
  actions:
    default:
    - "cancel_event: true"

Last updated

Was this helpful?