-
Notifications
You must be signed in to change notification settings - Fork 19
Hosting a server
- Download the Windows server online installer and install.
- Open
C:\cfortsv\fortress\config.cfgand edit the settings from top to bottom. - Open
C:\cfortsv\qwfwd\config.cfgand edit the settings from top to bottom. - Launch
C:\cfortsv\mvdsv.exeand connect!
- Download the Linux server install script.
- Run
chmod +x install_cfortsv.sh - Run
./install_cfortsv.sh - Run
nano ~/.cfortsv/server.confand edit the settings from top to bottom. - Run
nano ~/.cfortsv/qtv.confand edit the settings from top to bottom. - Run
nano ~/.cfortsv/qwfwd.confand edit the settings from top to bottom.
(Optional: runnano ~/cfortsv/start_servers.shand edit the settings at the top.) - Run
./start_servers.shand connect!
- Update the server/mod/proxy binaries by running
./update_binaries.sh - Update the server configuration by running
./update_configs.sh - Update the map pack by running
./update_maps.sh - Download a specific map (+ its media files) by running
./getmap.sh <map name>
Run crontab -e and add the following line to the bottom of your crontab:
*/5 * * * * /home/<user>/cfortsv/start_servers.sh --silent
This will start your servers (if not already running) once every five minutes. Don't forget to change <user> to your actual user.
You can make the server automatically update itself by putting the following in your crontab:
30 4 * * * /home/<user>/cfortsv/update_configs.sh --silent
45 4 * * * /home/<user>/cfortsv/update_binaries.sh --silent
0 5 * * * /home/<user>/cfortsv/update_maps.sh --silent
Don't forget to change <user> to your actual user.
Log files can get quite large over time, especially on popular servers. There is a script included in the server pack that allows you to rotate your log files every day, and gzip the old logs to save space. Put the following in your crontab to enable log rotation:
15 5 * * * /home/<user>/cfortsv/rotate_logs.sh
Don't forget to change <user> to your actual user.
Q: How do I fix this? "Could not start mvdsv due to 32-bit glibc missing"
A: You need to install 32-bit GNU libraries. There are a few ways to do this:
- apt-get:
sudo apt-get install libc6-i386- yum:
yum install glibc.i686- zypper:
zypper in glibc-devel-32bitIf you don't have any package manager, try using Google.
Classes
Combat Medic
Demolitions Man
Engineer
Heavy Weapons Guy
Pyro
Scout
Sniper
Soldier
Spy
Weapons
Assault Cannon
Axe
Detpack
Flamethrower
Grenade Launcher
Incendiary Cannon
Knife
Medikit
Nailgun
Pipebomb Launcher
Railgun
Rocket Launcher
Shotgun
Sniper Rifle
Sniper Rifle on Full Auto
Spanner
Super Nailgun
Super Shotgun
Tranquiliser Gun
Grenades
Caltrop Canisters
Concussion Grenade
EMP Grenade
Flare
Gas Grenade
Hand Grenade
Mirv Grenade
Nail Grenade
Napalm Grenade
Ammunition
Ammoboxes
Cells
Nails
Rockets
Shells
Items
Armor
Backpack
Flag
Health Pack
Utilities
Dispenser
Scanner
Sentry Gun
Abilities
Dash
Healing Aura
Guides
Hosting a server
Reloading
General tips
Reference
Default bindings
List of commands
Useful aliases
Useful settings
New commands
How to write a bug report