Event Component Method
Get Current Event
Retrieve the current event, which can be used to obtain player instances, cancel events, etc.
Return Event instance
Cancel Event
Cancel the execution of an event.
For example:
Canceling a chat event will prevent the chat from being sent.
Canceling a command event will prevent the command from being executed.
Requires Event instance
and a boolean value of True
Get Language
Obtain the language that the player has switched to. This is only usable when the player changes language settings
!
Require Event instance
Return String