Using events - Entropy159/Entropy-Arena GitHub Wiki
This mod has many events to make adding additional functionality easier. Here is a comprehensive list:
MatchStartEvent
This event has two subclasses, Pre and Post. Pre is called right before a match is started, and Post right after.
MatchEndEvent
This is similar to MatchStartEvent and also has Pre and Post, but it's fired when a match ends.
TeleportToLobbyEvent
This event fires when a player is teleported to the lobby, and also has a Pre and Post variant.
GiveLoadoutEvent
This event fires immediately after a loadout is deserialized and given to the player. It can be used to modify the contents of the inventory.
ModifyGlowColorEvent
This event fires on the client instead of the server, unlike most of the other events. It can be used to change the glow color of an entity.
ShouldBlockBeInfiniteEvent
This event determines whether a block should be infinite (not consumed when placed). This is normally only used for Team Blocks when the configuration option is turned on, but the event allows for other requirements.