Jump to content
Sign in to follow this  
SpecOp9

Sample cfg setup

Recommended Posts

Does anybody have a list of all the commands for the server to do specific things?

For example, setting the Max Number of players that can connect,

Welcome messages?

Share this post


Link to post
Share on other sites

//password = "*********";

passwordAdmin = "***********";

hostname="1-8th's Hell's Kitchen **Invasion1944 Demo!**";

checkfiles[]=

{

"res\addons\steyr.pbo",

"res\addons\bmp2.pbo",

"res\addons\vulcan.pbo",

"res\addons\m2a2.pbo",

"res\addons\g36a.pbo",

"res\bin\config.bin",

"res\bin\resource.bin",

"res\dta\anims.pbo",

"res\dta\anim.pbo",

"res\dta\data.pbo",

"res\dta\data3d.pbo",

"res\dta\hwtl\data.pbo",

"res\dta\hwtl\data3d.pbo",

"res\dta\hwtl\merged.pbo",

};

motd[]=

{

" ";

" ";

" ";

" ***1-8th's Hell's Kitchen***";

" ***1.91 Required!!!***";

" ***SOME MAPS REQUIRE ADDONS**SOME MAPS REQUIRE ADDONS***";

" ******GO TO WWW.1-8th.COM AND FOLLOW THE ADDON LINK*****";

" ";

" ";

" 1-8th's Hell's Kitchen Rules:";

" 1) Have fun";

" 2) Treat each other with respect";

" 3) Do NOT team kill, spawn Kill, or base Rape";

" 4) Other squads should not recruit from our server";

" ";

" ";

" ***Semper Fi!***";

};

voiceOverNet=0;

voteThreshold=1;

reportingIP="master.gamespy.com";

voteMissionPlayers=1;

maxPlayers=32;

motdInterval=3;

MaxMsgSend = 384;

MinBandwidth = 1540000;

MaxBandwidth = 84000000;

kickDuplicate = "true";

class Missions

{

class Mission121

{

template = DECISIVE V4 (2-40).CAIN;

cadetmode = 0;

param1 = 1800;

param2 = 50;

}; //Mission

class Mission142

{

template = HIGHLANDS V5 (2-40).ABEL;

cadetmode = 0;

param1 = 1800;

param2 = 50;

}; //Mission

class Mission165

{

template = OFPLN CHAPOI.ABEL;

cadetmode = 0;

param1 = 1800;

param2 = 50;

}; //Mission

class Mission166

{

template = OFPLN REGINA.EDEN;

cadetmode = 0;

param1 = 1800;

param2 = 50;

}; //Mission

class Mission190

{

template = THINLY SPREAD V3 (2-40).EDEN;

cadetmode = 0;

param1 = 1800;

param2 = 50;

}; //Mission

};

Share this post


Link to post
Share on other sites

yay!

Thank you both, 2 good resources smile_o.gif

Share this post


Link to post
Share on other sites

OK, well this seems very odd, but none of this stuff seems to work correctly...

For example

maxPlayers=24;

Wont work...

Share this post


Link to post
Share on other sites

File Name server.cfg

hostname="www.FragHaus.com BAS ADDONS Multi/OC3";

passwordAdmin="*********";

reportingIP = "master.gamespy.com";

maxPlayers=99;

aiKills=true;

MaxMsgSend="***";

MaxSizeGuaranteed="***";

MaxSizeNonguaranteed="***";

MinBandwidth="********";

MaxBandwidth="********";

motd[]={

"** NO CUSTOM FILES OVER 9999 B-BAS ADDONS NEEDED. Download from - ftp://ftp.fraghaus.com/ofp",

"** VISIT WWW.FRAGHAUS.COM TODAY!",

"** FASTEST OFP SERVER ON THE NET WITH MULTIPLE OC3 CONNECTIVITY!",

"** TEAMSPEAK2 SERVER AVAILABLE - 209.240.25.10",

};

motdInterval=10;

voteThreshold=0.50;

voteMissionPlayers=3;

checkfiles[]=

{

"res\bin\config.bin",

"res\bin\resource.bin",

"res\addons\6g30.pbo",

"res\addons\g36a.pbo",

"res\addons\bizon.pbo",

"res\addons\bmp2.pbo",

"res\addons\m2a2.pbo",

"res\addons\steyr.pbo",

"res\addons\xms.pbo",

};

class Missions

{

class Mission01

{template = [c&h] desertrumble deluxe.noe;cadetMode = 1};

};

Share this post


Link to post
Share on other sites

rage why do you not check res/dta/hwtl/merged.pbo ?

Share this post


Link to post
Share on other sites

lol cause thats an old file i had laying around. are new file checkes that and any addon that we have on the server Cause how hard is it for someone to unpack an addon and redue the config for that.

For this reason i have a hard time playing on a server with lots of addons in it.

It a known fact that anyone can use a depbo and change the addon config to make that addon a god addon.

This is why we try to limit are server to the best of best addons like the BAS addons.

Maybe ofp2 well have something to check or help addon makers make their addons cheat proof.

Share this post


Link to post
Share on other sites

Yeah i understand your point. Merged is a common one used to cheat though.

Share this post


Link to post
Share on other sites
OK, well this seems very odd, but none of this stuff seems to work correctly...

For example

maxPlayers=24;

Wont work...

I'll ask for the obvious: Did you specify the config file in your server startup? E.g. for a linux server (assuming server.cfg is your server config):

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">./server -config=server.cfg

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×