View Full Version : Server Messages
Slayer(ACC)
10-31-2008, 10:36 AM
How can you setup server message to explain the rules..
through the console.
I tried the same way as our COD4 server and did not work.
any thoughts??
thanks Slayer(ACC)
Dewave
10-31-2008, 11:13 AM
it works thru PB
DeltaDeuce
10-31-2008, 11:25 AM
This is what we did.
First check to see if your server has the pbsv.cfg in the PB folder, if it doesnt go into the server and do this:
/rcon login rconpassword
/rcon pb_sv_writecfg // This will make PB write the pbsv.cfg to the pb folder
now download the pbsv.cfg file to desktop via FTP, & open it w/ notepad
-at the bottom of that config file add this line to it:
pb_sv_load svrmsgs.cfg
upload this file to the pb folder
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now with notepad you'll need to create a svrmsgs.cfg file.
-add this to the new file & change the messages to what you want them to be:
//************************************************** ****************************
// Color Codes
//************************************************** ****************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
pb_sv_task 20 240 "say XXXXXXX"
pb_sv_task 60 240 "say XXXXXXX"
pb_sv_task 120 240 "say XXXXXXX"
Hit enter and save as svrmsgs.cfg file. Upload this file to the PB folder.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
restart your server and now your messages should work
Busterking
10-31-2008, 11:34 AM
Save the following (of course change the text to suite your own needs) and save it as a .txt file, like messages.txt, then change the file name to messages.cfg
pb_sv_taskempty
pb_sv_MsgPrefix "^110^7-^178^7:"
pb_sv_task 5 900 "say ^3Welcome to the ^110^7-^178 ^3No Swearing and you must respect all other players. You have been warned!"
pb_sv_task 50 900 "say ^1 Friendly Fire is ON. You will be banned for teamkilling on purpose"
pb_sv_task 100 900 "say ^3An obscene name will get you banned without any warning!"
pb_sv_task 150 900 "say ^3Welcome to the ^110^7-^178 ^3No Swearing and you must respect all other players. You have been warned!"
pb_sv_task 200 900 "say ^3Visit our website and join our forums at www.10-78.com"
pb_sv_task 250 900 "say ^145 ^3Were banned from our servers. Don't be part of this statistic, obey our rules."
pb_sv_task 300 900 "say ^3Welcome to the ^110^7-^178 ^3No Swearing and you must respect all other players. You have been warned!"
pb_sv_task 400 900 "say ^1WE ARE RECRUITING OVER THE AGE OF 25 FROM THE US & CANADA-GO TO ^2WWW.10-78.COM."
pb_sv_task 500 900 "say ^5Fill out a recruit application at www.10-78.com/Recruit.php You MUST be 25 yrs and over to be recruited, NO exception to this rule."
pb_sv_task 600 900 "say ^3Welcome to the ^110^7-^178 ^3No Swearing and you must respect all other players. You have been warned!"
pb_sv_task 700 900 "say ^3Welcome to the ^110^7-^178 ^3No Swearing and you must respect all other players. You have been warned!"
pb_sv_task 800 900 "say ^3Welcome to the ^110^7-^178 ^3No Swearing and you must respect all other players. You have been warned!"
Copy that file in your main folder of your gaming server.
Then at the very bottom of your server.cfg file add the following:
exec messages.cfg
Make sure that you have PB activated.
Hope this helps.
Stryker412
10-31-2008, 01:53 PM
Works fine without quotes too.
Slayer(ACC)
11-01-2008, 10:21 AM
Thanks all..
I got it working.. missed the pb_sv_load svrmsgs.cfg in the pbsv.cfg file.
Thanks..
Slayer(ACC)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.