Skip to content

[Suggestion] Additional API Events #800

Description

@Valorless

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mobsMonster types, behavior, abilities, configuration.type/enhancementNew or improved feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions