Class Server
Server related events.
Inheritance
Inherited Members
Namespace: Exiled.Events.Handlers
Assembly: Exiled.Events.dll
Syntax
public static class Server
Properties
| Improve this Doc View SourceAddingUnitName
Invoked before adding an unit name.
Declaration
public static Event<AddingUnitNameEventArgs> AddingUnitName { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<AddingUnitNameEventArgs> |
ChoosingStartTeamQueue
Invoked before choosing the Team than player will get.
Declaration
public static Event<ChoosingStartTeamQueueEventArgs> ChoosingStartTeamQueue { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<ChoosingStartTeamQueueEventArgs> |
EndingRound
Invoked before ending a round.
Declaration
public static Event<EndingRoundEventArgs> EndingRound { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<EndingRoundEventArgs> |
LocalReporting
Invoked when sending a complaint about a player to the local server administrators.
Declaration
public static Event<LocalReportingEventArgs> LocalReporting { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<LocalReportingEventArgs> |
ReloadedConfigs
Invoked after the "reload configs" command is ran.
Declaration
public static Event ReloadedConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
ReloadedGameplay
Invoked after the "reload gameplay" command is ran.
Declaration
public static Event ReloadedGameplay { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
ReloadedPermissions
Invoked after the "reload permissions" command is ran.
Declaration
public static Event ReloadedPermissions { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
ReloadedPlugins
Invoked after the "reload plugins" command is ran.
Declaration
public static Event ReloadedPlugins { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
ReloadedRA
Invoked after the "reload remoteadminconfigs" command is ran.
Declaration
public static Event ReloadedRA { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
ReloadedTranslations
Invoked after the "reload translations" command is ran.
Declaration
public static Event ReloadedTranslations { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
ReportingCheater
Invoked when a player reports a cheater.
Declaration
public static Event<ReportingCheaterEventArgs> ReportingCheater { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<ReportingCheaterEventArgs> |
RespawningTeam
Invoked before respawning a wave of Chaos Insurgency or NTF.
Declaration
public static Event<RespawningTeamEventArgs> RespawningTeam { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<RespawningTeamEventArgs> |
RestartingRound
Invoked before the restart of a round.
Declaration
public static Event RestartingRound { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
RoundEnded
Invoked after the end of a round.
Declaration
public static Event<RoundEndedEventArgs> RoundEnded { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<RoundEndedEventArgs> |
RoundStarted
Invoked after the start of a new round.
Declaration
public static Event RoundStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
SelectingRespawnTeam
Invoked before selecting the team that will respawn.
Declaration
public static Event<SelectingRespawnTeamEventArgs> SelectingRespawnTeam { get; set; }
Property Value
| Type | Description |
|---|---|
| Event<SelectingRespawnTeamEventArgs> |
WaitingForPlayers
Invoked before waiting for players.
Declaration
public static Event WaitingForPlayers { get; set; }
Property Value
| Type | Description |
|---|---|
| Event |
Methods
| Improve this Doc View SourceOnAddingUnitName(AddingUnitNameEventArgs)
Called before adding an unit name.
Declaration
public static void OnAddingUnitName(AddingUnitNameEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| AddingUnitNameEventArgs | ev | The AddingUnitNameEventArgs instance. |
OnChoosingStartTeam(ChoosingStartTeamQueueEventArgs)
Called before a Player's custom display name is changed.
Declaration
public static void OnChoosingStartTeam(ChoosingStartTeamQueueEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| ChoosingStartTeamQueueEventArgs | ev | The ChoosingStartTeamQueueEventArgs instance. |
OnEndingRound(EndingRoundEventArgs)
Called before ending a round.
Declaration
public static void OnEndingRound(EndingRoundEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| EndingRoundEventArgs | ev | The EndingRoundEventArgs instance. |
OnLocalReporting(LocalReportingEventArgs)
Called when sending a complaint about a player to the local server administrators.
Declaration
public static void OnLocalReporting(LocalReportingEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalReportingEventArgs | ev | The LocalReportingEventArgs instance. |
OnReloadedConfigs()
Called after the "reload configs" command is ran.
Declaration
public static void OnReloadedConfigs()
OnReloadedGameplay()
Called after the "reload gameplay" command is ran.
Declaration
public static void OnReloadedGameplay()
OnReloadedPermissions()
Called after the "reload permissions" command is ran.
Declaration
public static void OnReloadedPermissions()
OnReloadedPlugins()
Called after the "reload plugins" command is ran.
Declaration
public static void OnReloadedPlugins()
OnReloadedRA()
Called after the "reload remoteadminconfigs" command is ran.
Declaration
public static void OnReloadedRA()
OnReloadedTranslations()
Called after the "reload translations" command is ran.
Declaration
public static void OnReloadedTranslations()
OnReportingCheater(ReportingCheaterEventArgs)
Called when a player reports a cheater.
Declaration
public static void OnReportingCheater(ReportingCheaterEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportingCheaterEventArgs | ev | The ReportingCheaterEventArgs instance. |
OnRespawningTeam(RespawningTeamEventArgs)
Called before respawning a wave of Chaos Insurgency or NTF.
Declaration
public static void OnRespawningTeam(RespawningTeamEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| RespawningTeamEventArgs | ev | The RespawningTeamEventArgs instance. |
OnRestartingRound()
Called before restarting a round.
Declaration
public static void OnRestartingRound()
OnRoundEnded(RoundEndedEventArgs)
Called after the end of a round.
Declaration
public static void OnRoundEnded(RoundEndedEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| RoundEndedEventArgs | ev | The RoundEndedEventArgs instance. |
OnRoundStarted()
Called after the start of a new round.
Declaration
public static void OnRoundStarted()
OnSelectingRespawnTeam(SelectingRespawnTeamEventArgs)
Called before selecting the team that will respawn next.
Declaration
public static void OnSelectingRespawnTeam(SelectingRespawnTeamEventArgs ev)
Parameters
| Type | Name | Description |
|---|---|---|
| SelectingRespawnTeamEventArgs | ev | The SelectingRespawnTeamEventArgs instance. |
OnWaitingForPlayers()
Called before waiting for players.
Declaration
public static void OnWaitingForPlayers()