Events

Events are the main feature of MechanicsEverywhere, and are not in any specific folder (unlike Commands, Mechanics Pools, and Repeated Mechanics)

To use any event, all you need is a .yml file in the main directory (plugins > MechanicsEverywhere). Then you can add the config for the event into the file. For example, for the PlayerJoinEvent, we can add this to our file:

Player_Join_Event:
  - "Message{message=Welcome to our server} @Source{}"

Last updated