Fistful of Frags Guide

Windows: Server Administration Guide for Fistful of Frags

Windows: Server Administration Guide

Overview

Learn to set up a dedicated Fistful of Frags server on Windows with our easy-to-follow guide!

Basic Installation

What you need:
– access to decent hardware
– Valve’s SteamCMD commandline tool
ServerManager[cdn.discordapp.com]

Instructions:
1. Download SteamCMD.
2. Extract SteamCMD anywhere – preferably the root of a drive.
3. Download ServerManager.zip
4. Copy the contents of ServerManager.zip to your extracted SteamCMD folder
5. Run ServerManager.bat
6. Wait for game installation to complete. This should take roughly 30 minutes on a decent connection.
7. Server will now launch.

Congratulations! You are now set up for a basic Manual installation!

Firewall Ports Made Simple

Note: On NFOservers dedicated Windows VMs, you do not need to worry about opening these ports.

No matter which type of server you are using, your computer must be able to receive unsolicited incoming connections. This is exactly what routers and software firewalls exist to prevent, so if you are using either you will have to reconfigure. Refer to the manufacturer instructions for how to do this.

The ports SRCDS officially requires are:

– 27015 TCP/UDP (game transmission, pings and RCON)
– 27020 UDP (SourceTV transmission)

SRCDS has also been spotted opening connections on 27005 and 51840 UDP, but these may be outbound only.

Tip: Pinging your own server will fail with some routers and/or ISPs. The most reliable way to test whether your connection is open is either to get a friend to try connecting, or to install the Microsoft Network Monitor (apply the filter Udp.Port == 27015) and watch for requests coming in from random people around the world. Note that the heartbeats you will see being sent to the two master servers do not mean that the connection is open.

Note: A residential internet connection may not have the upload capacity to support large games.

Note: Using service providers which use CGNAT (such as mobile providers or an increasing amount of residential providers) may make it impossible to host any kind of server.

Note: Servers won’t respond to queries until a map is loaded.

h/t Valve Dev Wiki

Optional: Automate Server Launch and Updates

Daily Service Instructions:
1. Run Task Scheduler.
2. Create new task.
3. Title it something descriptive
4. Under the Triggers tab, set it to run every morning at 08:00
5. Under actions, ensure that it runs ServerManager.bat

6. Set the start-in location to where your SteamCMD folder is located
7. Save.

Updates, in this section, refers to game updates, not system updates

Optional: Sourcemod Made Simple

You’ve seen servers with mapvoting. You’ve seen servers with custom soundtracks. You’ve see servers that have funny player hats. You may have wondered how, or why. What makes these servers so special?

Sourcemod.

Sourcemod’s a simple framework that allows the usage of custom plugins. And it’s dead easy to install.

Head on over to the Sourcemod homepage and download the right one for your server platform (hint: Windows):
[link]

Extract to your Fistful of Frags directory. (Assuming nothing was changed in the scripts, it would be C:/steamcmd/fof_server/fof). Tada! Sourcemod is now installed.

To enable mapvoting
Open up the addons folder. Drill into sourcemod, then into plugins. Open up disabled. Copy (control+c) mapchooser. Move up one level. Paste (control+v).

Recommended plugins:
speclist_hud[forums.alliedmods.net]
Game Votes (votemute, votekick)[forums.alliedmods.net]

SteamSolo.com