Class Server
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
AllPlayersSpawned
Invoked after all players have spawned at the start of a new round.
public static Event AllPlayersSpawned { get; set; }
Property Value
ChoosingStartTeamQueue
Invoked before choosing the Team than player will get.
public static Event<ChoosingStartTeamQueueEventArgs> ChoosingStartTeamQueue { get; set; }
Property Value
CompletingObjective
Invoked before before the completion of an objective.
public static Event<CompletingObjectiveEventArgs> CompletingObjective { get; set; }
Property Value
EndingRound
Invoked before ending a round.
public static Event<EndingRoundEventArgs> EndingRound { get; set; }
Property Value
LocalReporting
Invoked when sending a complaint about a player to the local server administrators.
public static Event<LocalReportingEventArgs> LocalReporting { get; set; }
Property Value
ReloadedConfigs
Invoked after the "reload configs" command is ran.
public static Event ReloadedConfigs { get; set; }
Property Value
ReloadedGameplay
Invoked after the "reload gameplay" command is ran.
public static Event ReloadedGameplay { get; set; }
Property Value
ReloadedPermissions
Invoked after the "reload permissions" command is ran.
public static Event ReloadedPermissions { get; set; }
Property Value
ReloadedPlugins
Invoked after the "reload plugins" command is ran.
public static Event ReloadedPlugins { get; set; }
Property Value
ReloadedRA
Invoked after the "reload remoteadminconfigs" command is ran.
public static Event ReloadedRA { get; set; }
Property Value
ReloadedTranslations
Invoked after the "reload translations" command is ran.
public static Event ReloadedTranslations { get; set; }
Property Value
ReportingCheater
Invoked when a player reports a cheater.
public static Event<ReportingCheaterEventArgs> ReportingCheater { get; set; }
Property Value
RespawnedTeam
Invoked after team spawns.
public static Event<RespawnedTeamEventArgs> RespawnedTeam { get; set; }
Property Value
RespawningTeam
Invoked before respawning a wave of Chaos Insurgency or NTF.
public static Event<RespawningTeamEventArgs> RespawningTeam { get; set; }
Property Value
RestartingRound
Invoked before the restart of a round.
public static Event RestartingRound { get; set; }
Property Value
RoundEnded
Invoked after the end of a round.
public static Event<RoundEndedEventArgs> RoundEnded { get; set; }
Property Value
RoundStarted
Invoked after the start of a new round.
public static Event RoundStarted { get; set; }
Property Value
SelectingRespawnTeam
Invoked before selecting the team that will respawn.
public static Event<SelectingRespawnTeamEventArgs> SelectingRespawnTeam { get; set; }
Property Value
Unbanned
Invoked after player is being unbanned.
public static Event<UnbannedEventArgs> Unbanned { get; set; }
Property Value
Unbanning
Invoked before player is being unbanned.
public static Event<UnbanningEventArgs> Unbanning { get; set; }
Property Value
WaitingForPlayers
Invoked before waiting for players.
public static Event WaitingForPlayers { get; set; }
Property Value
Methods
OnAddingUnitName(AddingUnitNameEventArgs)
Called before adding an unit name.
public static void OnAddingUnitName(AddingUnitNameEventArgs ev)
Parameters
evAddingUnitNameEventArgsThe 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
evChoosingStartTeamQueueEventArgsThe ChoosingStartTeamQueueEventArgs instance.
OnCompletingObjective(CompletingObjectiveEventArgs)
Called before the completion of an objective.
public static void OnCompletingObjective(CompletingObjectiveEventArgs ev)
Parameters
evCompletingObjectiveEventArgsThe CompletingObjectiveEventArgs instance.
OnEndingRound(EndingRoundEventArgs)
Called before ending a round.
public static void OnEndingRound(EndingRoundEventArgs ev)
Parameters
evEndingRoundEventArgsThe EndingRoundEventArgs instance.
OnLocalReporting(LocalReportingEventArgs)
Called when sending a complaint about a player to the local server administrators.
public static void OnLocalReporting(LocalReportingEventArgs ev)
Parameters
evLocalReportingEventArgsThe 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
evReportingCheaterEventArgsThe ReportingCheaterEventArgs instance.
OnRespawnedTeam(SpawnableWaveBase, List<ReferenceHub>)
Called after team spawns.
public static void OnRespawnedTeam(SpawnableWaveBase teamType, List<ReferenceHub> hubs)
Parameters
teamTypeSpawnableWaveBasehubsList<ReferenceHub>
OnRespawningTeam(RespawningTeamEventArgs)
Called before respawning a wave of Chaos Insurgency or NTF.
public static void OnRespawningTeam(RespawningTeamEventArgs ev)
Parameters
evRespawningTeamEventArgsThe 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
evRoundEndedEventArgsThe 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
evSelectingRespawnTeamEventArgsThe SelectingRespawnTeamEventArgs instance.
OnUnbanned(UnbannedEventArgs)
Called after player is being unbanned.
public static void OnUnbanned(UnbannedEventArgs ev)
Parameters
evUnbannedEventArgsThe UnbannedEventArgs instance.
OnUnbanning(UnbanningEventArgs)
Called before player is being unbanned.
public static void OnUnbanning(UnbanningEventArgs ev)
Parameters
evUnbanningEventArgsThe UnbanningEventArgs instance.
OnWaitingForPlayers()
Called before waiting for players.
public static void OnWaitingForPlayers()