AssaultCube Reloaded Forums

Full Version: Customizing a Server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I customize a server and what cfgs do I modify to do so?
If you look inside your config folder, there are 7 files that start with "default." (ignore default.botnames). those are the files you can modify to customize your server.
default.maprot; map rotation. configs what will be played next (gamemode, map, length, etc)
default.nicknameblacklist: if you put names in there, those people will be restricted from joining your server.
default.serverblacklist: IP blacklist. people with the same ip from that file will be prevented from joining the server.
default.servercmdline: main config to customize. read through the file.
default.serverinfo_en: will display additional server information upon players request
default.serverpwd: this is where you add your admin passwords for the server.
Actually, the bot names are server-sided.
default.botnames: your server randomly assigns bot names based on this file

Rename all those files (remove "default.", so that it isn't overwritten by updates)

Edit servercmdline so that all the default.* lines are removed.
hi i have a problem:

where do i type this :

// to use this file, add -Cconfig/servercmdline.txt to your servers commandline

thanks and how can i apply the changes in that config file??

and how can i set admin passwords im confused by the:

// Use the following scheme...
// password priv
// password: password without spaces or bad characters
// priv: 0 - user; 1 - master; 2 - admin; 3 - owner
// if you omit 'priv' or place 'user', it will be a deban password
right click Server.bat and edit it with notepad

for password file
password privilege
for example
pwd 0 //user
master 1 //master
admin 2 //admin
owner 3 //owner
debanpass //deban
all i see in the server bat is this:

Code:
bin_win32\ac_server.exe -Cconfig/servercmdline.txt %*
pause

so to change the server name i change:

this:

Code:
// commonly used commandline switches:

// -o     // MOTD
// -n     // server description
// -n1    // custom server description prefix
// -n2    // custom server description suffix
// -f     // port, 1..65534, default 28770
// -c     // max client number, 1..20, default 12
// -D     // permanent demo recording, optionally +number of demos to keep in RAM, default 5
// -d     // privilege required to download demos, default 2 (admin)

to this:

Code:
// commonly used commandline switches:

// -o     // MOTD
-n MYSERVER     // server description
// -n1    // custom server description prefix
// -n2    // custom server description suffix
// -f     // port, 1..65534, default 28770
// -c     // max client number, 1..20, default 12
// -D     // permanent demo recording, optionally +number of demos to keep in RAM, default 5
// -d     // privilege required to download demos, default 2 (admin)

or


-nMYSERVER // server description
/[/code]

as you can see the second one don't have a space inbetween -n

I have just worked it out how to change server name.

Code:
// Use the following scheme...
// password priv
// password: password without spaces or bad characters
// priv: 0 - user; 1 - master; 2 - admin; 3 - owner
// if you omit 'priv' or place 'user', it will be a deban password

so if i wanted to add a password i'd add:

owner 3 PASSWORD //owner
in case you modified servercmdline.txt, then you need to edit Server.bat

to change the Server Description, use "-n your server description goes here" (without the quotes)

for the password, i wrote "owner 3 //owner" that "owner" is the password. "//owner" is a comment. i just put it there so that i know this password is for the owner or whoever uses it.

it tells you in the serverpwd.cfg
Code:
// Use the following scheme...
// password priv
priv = privilege


so it goes the password, and then the privilege.


everything is self-explanatory, you just need to read more carefully.
ok thanks that helps Smile