Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 15s ago· Viewing build 6698 (Sep 17 2026), not the latest

server_pre_shutdown

game event

Declared in core.gameevents

Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.

Deadworks (C#), as ServerPreShutdownEvent
[GameEventHandler("server_pre_shutdown")]
public HookResult OnServerPreShutdown(ServerPreShutdownEvent args) {
	// args.Reason
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
reasonstring
Reason string
reason why server is about to be shut down

History

  1. 6696–6745first dumped