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.game | Package ident |
|---|---|
sbox.game/facepunch/flatgrass |
facepunch.flatgrass |
sbox.game/facepunch/construct |
facepunch.construct |
Change the map permanently
-
Open dashboard
Open the dashboard of your server. -
Open settings
Navigate to the Settings or to the startup parameters of your server. -
Enter the map
Extend the startup parameter+gamewith the package ident of the map. The first value is always the gamemode, the second one the map:+game facepunch.sandbox facepunch.flatgrass -
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
