codeAPI Reference

s&box ServerSettings: Replicated server-controlled settings

calendar_today May 12, 2026 schedule ~1 min read person patrickjr verified 50

ServerSettings API Reference

ServerSettings is a static class for server-controlled settings that are replicated to all clients.

Type Signature

CSHARP
public static class ServerSettings

Example Property

CSHARP
[Title( "Show Developer Entities" )]
[Group( "Other" )]
[ConVar( "sb.developer_entities", ConVarFlags.Replicated | ConVarFlags.GameSetting | ConVarFlags.Server, Help = "Show developer entities in the spawn menu." )]
public static bool DeveloperEntities { get; set; } = false;

public static bool ShowDeveloperEntities => Game.IsEditor || DeveloperEntities;

Key Attributes

Notes

Was this helpful?