How to Create a Fragsurf Server
Install
The Fragsurf Dedicated Server can be installed through steamcmd, its appid is 1035540. It is a windows build, linux servers are not yet supported.
We've prepared a simple script to get started easily: Fragsurf_Server.zip
Download and unzip this file and run fs_server_install.bat - it will download and install Fragsurf Dedicated Server. Run it again to start the server. If you need to update, close the server and run the script again.
Configure
under Fragsurf/Configs/ is a file called server.example.ini. It's recommended to rename this file to server.ini. In it, you'll find some pre-defined settings you can configure. Here's a full list of available settings, and their defaults:
Config | Default Value | Description |
---|---|---|
PORTS | ||
server.port | 42020 | The UDP port players connect to the server through to play. |
server.steamport | 43025 | The local port used to communicate with the steam servers. |
server.steamqueryport | 43026 | The port that will manage server browser related duties and info pings from clients. |
BASIC SETUP | ||
server.name | Unnamed Server | The name to display in the server browser |
server.password | A password required by players to connect | |
server.motd | There is no message for today | A short message shown to players when they join your server |
server.maxplayers | 10 | The maximum players allowed to connect to your server |
server.map | surf_ski | The default map to load on startup |
server.gamemode | Deathmatch | The default gamemode to load on startup |
MAP CYCLE | ||
mapcycle.enabled | false | Enable/disable the map rotation |
mapcycle.maps | A comma-separated list of maps to rotate from, example: surf_ski,surf_bigloop,3133748283.workshop | |
GAME STATE | ||
game.roundtime | 150 | Time limit, in seconds, for each round. If rounds is set to 0 for Deathmatch, this will be the time limit |
game.freezetime | 5 | Freeze time at the start of each new round |
game.endroundtime | 3 | Short delay at the end of a round before a new one starts |
game.maxrounds | 10 | How many rounds to play before a winner is declared. Setting this to 0 enables Deathmatch mode |
game.spawnprotection | 3 | Duration of spawn protection |
game.dmlimit | 50 | Kill limit to declare a winner when maxrounds is set to zero |
game.enablebuymenu | true | Enable buy menu for players |
game.minimumplayers | 2 | How many players are needed to start the match |
game.spawnhealth | 100 | How much health players spawn with |
GAME CONFIG | ||
game.config | modern | Options: modern, classic |
PORTS
Make sure you've opened all the necessary ports defined above.
Workshop Maps
You can use workshop maps anywhere using the name id.workshop. For example, this is the workshop page for skyworld3, its id is in the url:
https://steamcommunity.com/sharedfiles/filedetails/?id=3133748283
To load this map as the default, you'd use server.map=3133748283.workshop
Support
Find support for setting up your server @ discord.gg/fragsurf