Dedicated Server Guide

guide
server

#1

Windows dedicated server installation example

  1. Download SteamCMD and extract steamcmd.exe to a folder
  2. Open the folder in Explorer, hold shift, right-click in an empty area and click Open command/PowerShell window here. Enter the following commands in the terminal:
  3. .\steamcmd +login anonymous +force_install_dir iosoccer +app_update 673990 validate +quit
  4. cd iosoccer
  5. .\srcds.exe -console -game iosoccer -condebug -port 27015 +maxplayers 32 +fps_max 500 -tickrate 100 +map 8v8_vienna
    You may need to use +ip xxx.xxx.xxx.xxx if the server has multiple network adapters, or is a more complex setup, otherwise this is not necessary.

The server should now be running. You can enter server commands in the console.

Linux dedicated server installation example

  1. See here for instructions on how to install SteamCMD on Linux.
  2. ./steamcmd +login anonymous +force_install_dir iosoccer +app_update 673990 validate +quit
  3. cd iosoccer
  4. ./srcds_run -console -game iosoccer -condebug -port 27015 +maxplayers 32 +fps_max 500 -tickrate 100 +map 8v8_vienna
    You may need to use +ip xxx.xxx.xxx.xxx if the server has multiple network adapters, or is a more complex setup, otherwise this is not necessary.

The server should now be running. You can enter server commands in the console.

Important server console commands and variables

Note: If you execute these commands from the client console you need to set rcon_password x in cfg\server.cfg and write rcon before the actual command.

  • exec x.cfg: Executes a config file in the cfg folder named x.
  • sv_restart x: Resets the match and goes into warm up mode with an x minutes countdown. Use -1 to stay in warm up mode forever.
  • mp_maxplayers x: Sets x number of players per side.
  • benchall 0: Move all players from field to bench.
  • mp_botkeepers x: 1 to enable AI keepers, 0 for human keepers.

Enabling custom assets

If you want to use custom assets on your dedicated server you need a fastdl setup on a webserver, because sending the files to players directly through the game server is extremely slow.

To enable custom assets open iosoccer\cfg\autoexec.cfg and change sv_custom_assets 0 to sv_custom_assets 1.

External resources


Server starts but not loads a map
#2