Dedicated Server Gamemode

Heyho

how can i set the spacebuild gamemode as a default gamemode in my dedicated server?
i can´t find anything on the server.cfg i try´d to add “sv_defaultgamemode” but it doesnt work

pls help :frowning:

This has been answered way too many times, use the search button near the top or google it.

Put this in your startup command line: +sv_defaultgamemode ‘spacebuild’

Should look something like this:

srcds.exe -console -game garrysmod +sv_defaultgamemode ‘spacebuild’ -port 27015

If the gamemode folder in garrysmod/gamemodes/ is called “spacebuild” leave the command line as I showed, but if the gamemode folder in garrysmod/gamemodes/ is called something like “spb” or anything else, it should be +sv_defaultgamemode ‘spb’.

Hopes this helps. Feel free to contact me if you need any further help.