Customizing a Server
2012-07-21, 07:27 PM
#1
Customizing a Server
How do I customize a server and what cfgs do I modify to do so?
Post Reply Quote this message in a reply
2012-07-21, 07:39 PM
#2
RE: Customizing a Server
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.
Post Reply Quote this message in a reply
2012-07-21, 09:10 PM
#3
RE: Customizing a 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.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2012-10-20, 02:32 PM (This post was last modified: 2012-10-20, 02:34 PM by Dennis8162.)
#4
RE: Customizing a Server
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
Post Reply Quote this message in a reply
2012-10-21, 08:43 AM (This post was last modified: 2012-10-21, 08:45 AM by pwned.)
#5
RE: Customizing a Server
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
Post Reply Quote this message in a reply
2012-10-21, 12:27 PM (This post was last modified: 2012-10-21, 12:36 PM by Dennis8162.)
#6
RE: Customizing a Server
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
Post Reply Quote this message in a reply
2012-10-21, 01:10 PM (This post was last modified: 2012-10-21, 01:12 PM by pwned.)
#7
RE: Customizing a Server
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.
Post Reply Quote this message in a reply
2012-10-22, 12:34 PM
#8
RE: Customizing a Server
ok thanks that helps Smile
Post Reply Quote this message in a reply


Forum Jump: