Installation

This guide is all about getting RoxMod up and running smoothly on your Operating systems, perfect for setting up your personal server at home or a dedicated server on a Virtual Private Server.

Before you start installing the mod, it's important to make sure your SOF2 folder is clean. This means removing any other mods or modifications that might interfere with the RoxMod's proper functioning. Alternatively, you can simply download a clean copy of SOF2.


Supported OS
Debian and Ubuntu are officially supported, while compatibility with other distributions has not been verified.
Support spans Windows NT 4.0, Windows 2000, and onwards.

Installing the Mod on Linux

Installing the mod on Linux is as easy as downloading and extracting the files into the SOF2 directory. Once you have downloaded a clean copy of the SOF2 folder, you can extract the roxmodlinux.tar.gz file into the SOF2 root directory.

linuxinstall

Once you have downloaded and installed the mod, ensure that you make the sof2ded executable and StartServer.sh script in the RPM Directory executable by running chmod +x.

linuxinstall

Please keep in mind that there may be instances where the patches fail to apply at runtime. To resolve this issue, you can edit the /etc/sysctl.d/10-ptrace.conf file (create it if it doesn't exist yet) and add the following line: kernel.yama.ptrace_scope = 0.

Installing the Mod on Windows

Just like on Linux before proceeding to install the Mod, make sure you have a clean copy of the SOF2 folder. Once this is done, simply extract the RoxMod files into the SoF2 directory and click on "Start DLL Server.bat" file to start your server.

windowsinstall windowsinstall

Server Management

RoxMod is fully customizeable and you will find many easy ways to manage your server.

Admin System

The admin system isn't anything brand new and should be quite familiar to you, it's straightforward and manageable.

There are 2 ways of calling an admin command : in the chat (short command) by using "!shortcommand", or in the console by using "/adm longcommand".

Chat Command !tba 1 10 wallhack will ban the player with ID 1 for 10 days due to wallhack.

Console Command /adm timeban 1 10 wallhack will ban the player with ID 1 for 10 days due to wallhack.


Admin Commands list

Short Command Long Command First Argument Second Argument Third Argument Description
ml maplist Show all available maps
dmap devmap <dmap> (gametype) Set a specific map (Cheats)
amap altmap <amap> (gametype) Set a specific modified map
map map <map> (gametype) Set a specific map
v callvote <vote> Call a vote
cv cancelvote Cancel the current vote
pv passvote Pass the current vote
ft forceteam <#idnum/name> <team> Force a player to a team
pa pause Pause the game
uc/u uppercut <#idnum/name> Launch a player upwards
tm timemute <#idnum/name> (time) Timemute a player
um unmute <#idnum/name> Unmute a player
ro runover <#idnum/name> Boost a player backwards
pl plant <#idnum/name> Plant a player in the ground
upl unplant <#idnum/name> Unplant a player
up unpause <#idnum/name> Unpause the game
ba ban <#idnum/name> (reason) Permanent ban a player
tba timeban <#idnum/name> (days) (reason) Temporary ban a player
sb subnetban <#idnum/name> (reason) Subnet ban a player
ub unban <#line> Unban a banned player
su subnetunban <#line> Unban a banned subnet
ab addbadmin <#idnum/name> (password) Add a Basic Admin
aa addadmin <#idnum/name> (password) Add an Admin
as addsadmin <#idnum/name> (password) Add a Server Admin
ra removeadmin <#idnum/name> (password) Remove an Admin
acl addclan <#idnum/name> Add a Clan member
rc removeclan <#idnum/name> Remove a Clan member
et eventeams Equilibrate teams
sw swapteams Swap the teams
cva clanvsall All clan players vs the rest
rs respawn <#idnum/name> Respawn a player
tw twist <#idnum/name> Twist a player
utw untwist <#idnum/name> Untwist a player
adl addleader <#idnum/name> Add a team leader
rl removeleader <#idnum/name> Remove a team leader
mr maprestart Restart the map
gr gametyperestart Restart the round
g gametype <gametype> Set a specific gametype
mc mapcycle Load next map in the mapcycle
fl flash <#idnum/name> Flash a player
bl banlist List of banned clients
sbl subnetbanlist List of subnet banned clients
adr adminremove <#line> pass Remove admin from list
al adminlist pass Show admin list
clm clearmap Clears all extra map entities
clr clanlistremove <#line> Remove player from clan list
cl clanlist Show clan list
sh shuffle Pick random teams
cm compmode Competition mode on/off
fd falldamage Fall damage on/off
ff friendlyfire Friendly fire
con cheatson Enable the cheats
cof cheatsoff Disable the cheats
gf goldenflag 5 extra min for victory flag
cmp anticamp Enable or disable anticamp
nn nonades Enable or disable grenades
nl nolower Enable or disable nolower
nr noroof Enable or disable noroof
nw nowhole Enable or disable whole
sl scorelimit <score> Change the scorelimit
tl timelimit <minutes> Change the timelimit
ri respawninterval <seconds> Change the respawn interval
rn rename <#idnum/name> <name> Change the player's name
nd normaldamage Load normal damage settings
rd realdamage Load real damage settings
br broadcast <message> Broadcast a message
3d third Enable or disable 3rd person
3c thirdcross Enable or disable 3rd cross
ul unlock <team> UnLock a team
l lock <team> Lock a team
k kick <#idnum/name> (reason) Kick a player
b burn <#idnum/name> Burn a player
p pop <#idnum/name> Kill a player
st strip <#idnum/name> Remove weapons from a player
m mute <#idnum/name> Mute a player

Admin levels

For example, if you want to elevate the permission level of an admin command, such as restricting the "kick" command from being usable by admins at level 3 or below, and instead make it accessible only to admins at level 4, you can do so effortlessly.

  • [0] Disabled admin command
  • [2] B-Admin
  • [3] Admin
  • [4] S-Admin
  • [5] RCON
  1. Check and edit the ServerConfig.cfg file.
  2. Modify the admin command levels in the file.

Warning

Setting the admin level to 0 will disable the admin command.

Managing Admins

We use the sqlite3 backend for managing admins. Admins are stored in the users.db file, which is located in the users folder. You can easily edit the tables yourself. We recommend downloading a database browser for SQLite. This is only necessary if you want to manage the admins offline. Otherwise, you can use the provided commands in the game to add and remove admins (such as addadmin, adminlist).

Passworded Admins

RoxMod supports passworded admins as a solution for players with dynamic IP addresses.

You can enable the passworded admins system in the ServerConfig.cfg file by setting the parameter g_passwordAdmins "1".

  1. Once enabled, you can add an admin with password by adding the "pass" argument at the end (e.g: "!aa #id pass).
  2. The player matching #id number will then be assigned a custom password set by you in the ServerConfig.cfg according to the admin level value (in this case: g_adminPass).
  3. Once this is done, the player will be able to change its password to a custom one in-game.
Console Commands
ATTENTION Please be aware that the playertag has to match the name in the database. If you change your tag, the login will no longer work.
/adm password serverpass This command will log in with the password that is set in the ServerConfig.cfg. It is always required when adding the player to the admin passlist for the first time.
/adm password serverpass newpassword You can change the current password set by the server owner to a custom one (your own).

Warning

Server owners should carefully select who to grant passworded admin access to. Since the admins are not based on IP but rather checked with their playertags, if other users gain access to their password, they can rename themselves and log in with the password.

Bad Words Filter System

To ensure that playing the game is only about fun, we decided to implement a basic Anti Bad Words system. The idea is to set up a list of words that you want to be banned from the server. Every time a player is using this word, it is replaced by "*" characters in the chat.

To enable this, activate the "g_noBadWords" parameter in your ServerConfig file, then add words in the badwords.db file inside of "users" folder, use any database editor (like db browser) to modify the file.

Mapcycle System

You can define a default map that your server will start on, but you can also set up a complete mapcycle to allow players to play different maps. To do so, simply uncomment (remove "//" characters) in from of the mapcycle commands in your ServerConfig and choose the mapcycle used.

Here below, find an example of how to set up a mapcycle for your server

mapcycle

Sounds System

The mod features a sound cache system that enables the utilization of more than 256 sounds, allowing players to effectively add up to 300 sounds.

When adding extra sounds to the RPMRox.vchat file, players can easily locate a specific sound by using the command /extrasounds followed by the sound name.

linuxinstall
linuxinstall

Scrim System

RoxMod offers a fully customizable Competition Mode that allows to set up matches between teams easily.

Setting up a match

To start a match, use the "!cm" (chat) or "/adm compmode" (console) command, make sure the settings are as you want and restart the map ("!mr"):

compmode settings

Team Commands

A comprehensive list of Team Commands can be found during Competition Mode by writing "/tcmd" in console:

compmode team commands

Custom Gametypes

Besides providing standard gametypes such as Infiltration, Capture The Flag, ... we also want to offer players the possibility to play different gametypes that bring more fun to the game. Here is a list of custom gametypes that you can play.

Hide & Seek

Hide & Seek is currently being the most popular Gametype on SoFII. It was first introduced to players back in 2007 by 2k3Servers (an old gameserver hoster).

There are two sides: Hiders and Seekers. The first ones must hide and survive till the end of the round. The second ones need to kill the most hiders they can.

hide&seek

Cops & Robbers

This gametype's purpose is for the Cops to catch the Robbers and for the Robbers to stay out of the Jail till the time goes over.

It is similar to Hide & Seek, except that Robbers don't die, they are simply put in jail and can escape from it either by slicing cops or being sliced by the free robbers. Knives are also special because you can jump on them once thrown.

cops&robbers

Demolition

Most of you know the Demolition gametype from 2k3servers, other games or just from SoFII GOLD, we decided to bring it back to SoFII 1.00 (full version).

This gametype is not only fun, but it's also cool for people that like to scrim : blue team must get a bomb and plant it at one of two sites to win the round. The red team must defend both sites and prevent the bomb from going off by either eliminating the blue team before the bomb is planted or defusing the bomb.

demolition

Gun Game

Gun Game is a replica from counter strike. This gametype is new on SoFII so we recommend you to check it out.

Players are spawned everywhere on the map with a knife and a pistol. Each time you kill 5 players, you get a new weapon. The goal is to reach the last weapon (RPG7) and kill 5 players. Each time you get killed with a knife (sliced), your weapon is downgraded. If you enable gg_Extra, when you get a heavier weapon, your speed will decrease.

It can be played either as Deathmatch or Team Deathmatch style (according to gg_Style parameter).

gungame

Zombies

There is an infection ! If you get killed by a zombie, you get transformed into one of them.

Each time you kill a zombie, he will drop a weapon/ammo. Last humans alive at the end of the round win.

zombies