s&box
RustCounter-Strike 2s&boxDeadlock
Wiki
Get s&box on Steam
Browse
OverviewGetting StartedCreating GamesEngine & ToolsDocumentationCommunity GamesResources
s&boxDocumentationNetworkingTesting Multiplayer
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

Testing Multiplayer

The number one best way to test multiplayer is to have someone join your game.. but that's obviously not always possible.

For this reason you can spawn another instance of the game, which will join your currently running session.

To do this, click on the network status icon in the header bar, and select Join via new instance.

A new instance of the game will appear and join your game.

You can continue to code on your main instance, with the game running and the other instance joined. The code changes will be mirrored to the other client. In fact, they'll be mirrored to all clients - so even if you have a friend join, their game will update.

If you need to reconnect, you can do this via the reconnect command.

You can open an instance and manually join your local editor session by running connect local in the console.

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2024-03-28. 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.