With s&box, you can decide what runs on your server with just a few settings: which game from the s&box library to play, which map to use, and what name your server appears under in the server list. In this guide, we’ll show you how to configure these settings and what to keep in mind.
You can find your s&box server settings in the Configuration tab, under Startup parameters:
| Field | Meaning |
|---|---|
| Server name | The name of your server in the game’s server list |
| Game Package | The game your server starts (required, default facepunch.sandbox) |
| Map Package | The map to play on (default facepunch.flatgrass) |
After you save, ZapX will prompt you to restart the server. The new values only take effect after the restart.
s&box games and maps are packages from the library at sbox.game. Each package has a unique identifier in the format organisation.name, for example, facepunch.sandbox for Sandbox or facepunch.flatgrass for the Flatgrass map. Enter this identifier in Game Package or Map Package.
Keep the following in mind:
- Enter the identifier entirely in lowercase, as shown on sbox.game.
- The package must exist on sbox.game and be public.
- Only letters, numbers, periods, hyphens, and underscores are allowed. Your server automatically removes any other characters at startup.
- If you leave Map Package empty, the game loads its own default map.
- Some games include their own map or switch maps automatically, so they ignore the value you enter in Map Package.
If your server hasn’t encountered a game or map before, it will download it automatically at startup. The first startup with a new package may therefore take a little longer. Downloaded packages remain stored on your server, so subsequent startups are faster.
Players connect to s&box through the Steam network, rather than by IP address and port, so they find your server by its name in the server list. Choose a unique server name that’s easy to search for. For details on how to connect, see our guide Connect to the server.
The game itself determines how many players can play on your server at the same time. That’s why there’s no separate field for this in the startup parameters.
In the Files tab or via SFTP, you can find the data your server creates while running:
download– downloaded games, maps, and contentdata– data that games save on the serverlogs– your server’s log files
In s&box, the Console only displays logs. To change the game or map, use the Startup parameters and then restart the server.
You now know how to configure the game, map, and name of your s&box server. If something isn’t working as expected, see our guide to common issues. If you have any other questions, our support team is available every day! 🙂
