s&box
RustCounter-Strike 2s&boxDeadlock
Wiki
Get s&box on Steam
Browse
OverviewGetting StartedCreating GamesEngine & ToolsDocumentationCommunity GamesResources
s&boxDocumentationNetworkingDedicated ServersUser Permissions
SOURCE 2 · C#
Build and play games with s&box.

Facepunch's game engine and creation platform — make games in C#, or jump straight into community games.

Get s&box on Steam

s&box Wiki

  • Overview
  • Getting Started
  • Creating Games
  • Engine & Tools
  • Documentation
  • Community Games
  • Resources

Tools & Community

  • Getting Started
  • Creating Games
  • Engine & Tools
  • Resources

Platforms

  • RustBattle
  • CSBattle
  • Rust Game Wiki
  • CS2 Skins Wiki
  • Deadlock Wiki

About

  • Official Site
  • Developer Wiki
  • GitHub
  • Get on Steam
NOT AFFILIATED WITH FACEPUNCH STUDIOS · © 2026 s&box Wiki (community)
Docs/Networking
Networking

User Permissions

On a Dedicated Server, you can specify who is an admin of your server, or customize permissions even further with claims for individual Steam accounts.

Users

On your Dedicated Server, you can edit the config/users.json file to add specific permissions per user. The default config demonstrates how these are set up.

[

	/* You can give a Steam account specific permissions here using their Steam Id. */
	
	{
		"SteamId": "00000000000000000",
		"Claims": [ "kick", "ban", "restart" ],
		"Name": "Example"
	},
	
	{
		"SteamId": "00000000000000000",
		"Claims": [ "kick", "ban", "restart" ],
		"Name": "Example"
	}
	
]

Claims

Claims are strings which describe actions that a user can take. You can add your own custom claims, as they're just strings.

The host can check if a specific Connection has a permission with Connection.HasPermission( string ). By default, the host has all permissions.

:::info Permissions are not networked right now, so only the host can check if a connection has a specific permission.

:::

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2025-01-17. Read it rendered on the official docs.

More in Networking

Connection Permissions
Custom Snapshot Data
Dedicated Servers
Http Requests
Network Events
Network Helper
Network Visibility
Networked Objects
← All documentation

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.