Skip to content

How to Change the Map on Your s&box Server ​

In s&box, maps are packages from sbox.game – just like gamemodes. You pass the map you want as the second value after the gamemode.

Find the package ident of the map ​

Every map on sbox.game has an address following the pattern sbox.game/<organisation>/<package>. You build the ident by replacing the slash with a dot.

Address on sbox.gamePackage ident
sbox.game/facepunch/flatgrassfacepunch.flatgrass
sbox.game/facepunch/constructfacepunch.construct

Change the map permanently ​

  1. Open dashboard
    Open the dashboard of your server.

  2. Open settings
    Navigate to the Settings or to the startup parameters of your server.

  3. Enter the map
    Extend the startup parameter +game with the package ident of the map. The first value is always the gamemode, the second one the map:

    +game facepunch.sandbox facepunch.flatgrass
  4. Restart the server
    Save the setting and restart your server.

Switch the map while the server is running ​

You can also switch the map live via the server console in the dashboard. Pass the gamemode and the map together:

game facepunch.sandbox facepunch.flatgrass

Warning

The switch disconnects all connected players and reloads the server. The change only lasts until the next restart – to set the map permanently, use the startup parameter +game.

Note

The official sandbox mode additionally provides the command map, which changes only the map:

map facepunch.flatgrass

That command belongs to the gamemode and is therefore not available on every server. Using game always works.

If the map does not load ​

Important

Not every gamemode allows a free choice of map. Some gamemodes ship their own map or manage the map rotation themselves and ignore your input. The sbox.game page of the respective gamemode lists which maps are supported.

Tip

Check the ident for typos: it consists solely of the organisation, a dot and the package name – without sbox.game/, without slashes and without a file extension.