Table of Contents

Class Server

Namespace
Exiled.Events.Handlers
Assembly
Exiled.Events.dll

Server related events.

public static class Server
Inheritance
Server
Inherited Members

Properties

AddingUnitName

Invoked before adding an unit name.

public static Event<AddingUnitNameEventArgs> AddingUnitName { get; set; }

Property Value

Event<AddingUnitNameEventArgs>

AllPlayersSpawned

Invoked after all players have spawned at the start of a new round.

public static Event AllPlayersSpawned { get; set; }

Property Value

Event

ChoosingStartTeamQueue

Invoked before choosing the Team than player will get.

public static Event<ChoosingStartTeamQueueEventArgs> ChoosingStartTeamQueue { get; set; }

Property Value

Event<ChoosingStartTeamQueueEventArgs>

CompletingObjective

Invoked before before the completion of an objective.

public static Event<CompletingObjectiveEventArgs> CompletingObjective { get; set; }

Property Value

Event<CompletingObjectiveEventArgs>

EndingRound

Invoked before ending a round.

public static Event<EndingRoundEventArgs> EndingRound { get; set; }

Property Value

Event<EndingRoundEventArgs>

LocalReporting

Invoked when sending a complaint about a player to the local server administrators.

public static Event<LocalReportingEventArgs> LocalReporting { get; set; }

Property Value

Event<LocalReportingEventArgs>

ReloadedConfigs

Invoked after the "reload configs" command is ran.

public static Event ReloadedConfigs { get; set; }

Property Value

Event

ReloadedGameplay

Invoked after the "reload gameplay" command is ran.

public static Event ReloadedGameplay { get; set; }

Property Value

Event

ReloadedPermissions

Invoked after the "reload permissions" command is ran.

public static Event ReloadedPermissions { get; set; }

Property Value

Event

ReloadedPlugins

Invoked after the "reload plugins" command is ran.

public static Event ReloadedPlugins { get; set; }

Property Value

Event

ReloadedRA

Invoked after the "reload remoteadminconfigs" command is ran.

public static Event ReloadedRA { get; set; }

Property Value

Event

ReloadedTranslations

Invoked after the "reload translations" command is ran.

public static Event ReloadedTranslations { get; set; }

Property Value

Event

ReportingCheater

Invoked when a player reports a cheater.

public static Event<ReportingCheaterEventArgs> ReportingCheater { get; set; }

Property Value

Event<ReportingCheaterEventArgs>

RespawnedTeam

Invoked after team spawns.

public static Event<RespawnedTeamEventArgs> RespawnedTeam { get; set; }

Property Value

Event<RespawnedTeamEventArgs>

RespawningTeam

Invoked before respawning a wave of Chaos Insurgency or NTF.

public static Event<RespawningTeamEventArgs> RespawningTeam { get; set; }

Property Value

Event<RespawningTeamEventArgs>

RestartingRound

Invoked before the restart of a round.

public static Event RestartingRound { get; set; }

Property Value

Event

RoundEnded

Invoked after the end of a round.

public static Event<RoundEndedEventArgs> RoundEnded { get; set; }

Property Value

Event<RoundEndedEventArgs>

RoundStarted

Invoked after the start of a new round.

public static Event RoundStarted { get; set; }

Property Value

Event

SelectingRespawnTeam

Invoked before selecting the team that will respawn.

public static Event<SelectingRespawnTeamEventArgs> SelectingRespawnTeam { get; set; }

Property Value

Event<SelectingRespawnTeamEventArgs>

Unbanned

Invoked after player is being unbanned.

public static Event<UnbannedEventArgs> Unbanned { get; set; }

Property Value

Event<UnbannedEventArgs>

Unbanning

Invoked before player is being unbanned.

public static Event<UnbanningEventArgs> Unbanning { get; set; }

Property Value

Event<UnbanningEventArgs>

WaitingForPlayers

Invoked before waiting for players.

public static Event WaitingForPlayers { get; set; }

Property Value

Event

Methods

OnAddingUnitName(AddingUnitNameEventArgs)

Called before adding an unit name.

public static void OnAddingUnitName(AddingUnitNameEventArgs ev)

Parameters

ev AddingUnitNameEventArgs

The AddingUnitNameEventArgs instance.

OnAllPlayersSpawned()

Called after all players have spawned at the start of a new round.

public static void OnAllPlayersSpawned()

OnChoosingStartTeam(ChoosingStartTeamQueueEventArgs)

Called before a Player's custom display name is changed.

public static void OnChoosingStartTeam(ChoosingStartTeamQueueEventArgs ev)

Parameters

ev ChoosingStartTeamQueueEventArgs

The ChoosingStartTeamQueueEventArgs instance.

OnCompletingObjective(CompletingObjectiveEventArgs)

Called before the completion of an objective.

public static void OnCompletingObjective(CompletingObjectiveEventArgs ev)

Parameters

ev CompletingObjectiveEventArgs

The CompletingObjectiveEventArgs instance.

OnEndingRound(EndingRoundEventArgs)

Called before ending a round.

public static void OnEndingRound(EndingRoundEventArgs ev)

Parameters

ev EndingRoundEventArgs

The EndingRoundEventArgs instance.

OnLocalReporting(LocalReportingEventArgs)

Called when sending a complaint about a player to the local server administrators.

public static void OnLocalReporting(LocalReportingEventArgs ev)

Parameters

ev LocalReportingEventArgs

The LocalReportingEventArgs instance.

OnReloadedConfigs()

Called after the "reload configs" command is ran.

public static void OnReloadedConfigs()

OnReloadedGameplay()

Called after the "reload gameplay" command is ran.

public static void OnReloadedGameplay()

OnReloadedPermissions()

Called after the "reload permissions" command is ran.

public static void OnReloadedPermissions()

OnReloadedPlugins()

Called after the "reload plugins" command is ran.

public static void OnReloadedPlugins()

OnReloadedRA()

Called after the "reload remoteadminconfigs" command is ran.

public static void OnReloadedRA()

OnReloadedTranslations()

Called after the "reload translations" command is ran.

public static void OnReloadedTranslations()

OnReportingCheater(ReportingCheaterEventArgs)

Called when a player reports a cheater.

public static void OnReportingCheater(ReportingCheaterEventArgs ev)

Parameters

ev ReportingCheaterEventArgs

The ReportingCheaterEventArgs instance.

OnRespawnedTeam(SpawnableWaveBase, List<ReferenceHub>)

Called after team spawns.

public static void OnRespawnedTeam(SpawnableWaveBase teamType, List<ReferenceHub> hubs)

Parameters

teamType SpawnableWaveBase
hubs List<ReferenceHub>

OnRespawningTeam(RespawningTeamEventArgs)

Called before respawning a wave of Chaos Insurgency or NTF.

public static void OnRespawningTeam(RespawningTeamEventArgs ev)

Parameters

ev RespawningTeamEventArgs

The RespawningTeamEventArgs instance.

OnRestartingRound()

Called before restarting a round.

public static void OnRestartingRound()

OnRoundEnded(RoundEndedEventArgs)

Called after the end of a round.

public static void OnRoundEnded(RoundEndedEventArgs ev)

Parameters

ev RoundEndedEventArgs

The RoundEndedEventArgs instance.

OnRoundStarted()

Called after the start of a new round.

public static void OnRoundStarted()

OnSelectingRespawnTeam(SelectingRespawnTeamEventArgs)

Called before selecting the team that will respawn next.

public static void OnSelectingRespawnTeam(SelectingRespawnTeamEventArgs ev)

Parameters

ev SelectingRespawnTeamEventArgs

The SelectingRespawnTeamEventArgs instance.

OnUnbanned(UnbannedEventArgs)

Called after player is being unbanned.

public static void OnUnbanned(UnbannedEventArgs ev)

Parameters

ev UnbannedEventArgs

The UnbannedEventArgs instance.

OnUnbanning(UnbanningEventArgs)

Called before player is being unbanned.

public static void OnUnbanning(UnbanningEventArgs ev)

Parameters

ev UnbanningEventArgs

The UnbanningEventArgs instance.

OnWaitingForPlayers()

Called before waiting for players.

public static void OnWaitingForPlayers()