Feature request
Short description
Additional API events which our plugins can listen to :)
Like for example:
- ArenaLobbyStart - When the lobby is created. Where ArenaStartEvent would act as ArenaLobbyEnd.
- ArenaPlayerLobbyJoin - When a player joins the lobby. (Does ArenaPlayerJoinEvent already do this?)
- ArenaPlayerClassSelect - When a player selects a class. One of the return variables would be the name of the class.
- ArenaPlayerSpectate - When a player starts spectating, doesn't trigger on death in the arena.
- ArenaBossAbilityEvent - When a boss ability is used.
Implementation details
ArenaLobbyStart
| Function |
Returns |
Description |
getArena() |
Arena |
Returns the arena in question. |
ArenaPlayerLobbyJoin
| Function |
Returns |
Description |
getArena() |
Arena |
Returns the arena. |
getPlayer() |
Player |
Returns the player. |
ArenaPlayerClassSelect
| Function |
Returns |
Description |
getArena() |
Arena |
Returns the arena. |
getPlayer() |
Player |
Returns the player. |
getClass() |
ArenaClass |
Returns the chosen class. |
ArenaPlayerSpectate
| Function |
Returns |
Description |
getArena() |
Arena |
Returns the arena. |
getPlayer() |
Player |
Returns the player. |
ArenaBossAbilityEvent
| Function |
Returns |
Description |
getArena() |
Arena |
Returns the arena. |
getBoss() |
MABoss |
Returns the Boss. |
getAbility() |
Ability |
Returns the ability. |
getTarget() |
Player |
Returns the boss' target, if any. |
Additional info
We spoke about it briefly on Discord :)
Feature request
Short description
Additional API events which our plugins can listen to :)
Like for example:
Implementation details
ArenaLobbyStart
getArena()ArenaArenaPlayerLobbyJoin
getArena()ArenagetPlayer()PlayerArenaPlayerClassSelect
getArena()ArenagetPlayer()PlayergetClass()ArenaClassArenaPlayerSpectate
getArena()ArenagetPlayer()PlayerArenaBossAbilityEvent
getArena()ArenagetBoss()MABossgetAbility()AbilitygetTarget()PlayerAdditional info
We spoke about it briefly on Discord :)