Forums Index >> Help >> How do I put the pass in Dash's admin script?
Page : <1> :
If you open the pref.cs file in the game/server/dash folder you should see this. The fifth line down holds the password. Change it to what you want and click file, save. After making the change delete the pref.cs.dso in the same folder. It will generate a new.dso file.
// game/server/dash/pref.cs
// This file contains settings related to my admin system
// Password used for logging in using /sadm or /adm
// PLEASE CHANGE YOUR PASSWORD!!!!!!!!!!!!!!!!!!!!!!!!!!!
$pref::Server::AdminPassword = "Password Here";
// 1: players can change tanks; 0: players cannot change tanks
$pref::Server::TankChangers = 1;
// 1: players can change teams; 0: players cannot change teams
$pref::Server::TeamChangers = 1;
// 1: players can change projectiles; 0: players cannot change projectiles
$pref::Server::ProjectileChangers = 0;
//Players can use the observer code
$pref::Server::ObserverOn = 1;
// Message displayed to a player when they are banned from a server
$pref::Server::BanMessage = "YOU HAVE BEEN FROM THIS SERVER. ";
// Message displayed to others when a player is banned from the server
$pref::Server::BanAnnouncment = " HAS BEEN BANNED";
// Message displayed to others when a player is kicked from the server
$pref::Server::KickAnnouncment = " HAS BEEN KICKED";
// Message displayed to a player when is kicked from the server
$pref::Server::KickMessage = " YOU HAVE BEEN KICKED FOR BAD BEHAVIOR, YOU ARE WELCOME TO COME BACK IF YOU WILL PLAY NICELY";
// Message displayed to others when a player is silenced
$pref::Server::SilenceMessage = " HAS BEEN DEEMED UNWORTHY OF CHAT";
// Message displayed to others when a player is un-silenced
$pref::Server::UnSilenceMessage = " HAS BEEN GIVEN ANOTHER CHANCE TO USE CHAT";
// Message sent to a silenced player who tries to chat
$pref::Server::ChatDeniedMessage = "NO CHAT FOR YOU";
// Message sent to all players when a player is killed by the admin
$pref::Server::AdminKillMessage = " HAD HIS BRAIN POPPED BY AN ADMIN FOR BEING A PUNK";
// Message sent to all players when a player is kicked for an admin login attempt
$pref::Server::FailedAdminLogin = " HAS BEEN KICKED FOR A FAILED ADMIN LOGIN ATTEMPT";
// Message sent to all players when the nuke command is used
$pref::Server::NukeMessage = " NUKE 'EM ALL";
$pref::Server::PreloadAnnounce = "You need ModPack from www.reagentx.com to play here";
Thanks so much CB. Ok this can be locked not or moved. Thanks again.
Cloud
I didnt want to make a new thread so I hope somebody sees my post. Just wondering how do I change the amount of people that can come into my server? B) Thanks for the help
Cloud
That is in game/server/pref.cs this also makes a new pref.cs.dso file after you make changes so delete it after making changes. You just need to copy and paste bot lines. Make a backup of your pref.cs file ,, copy and paste it somewhere in case you mess up and do some experimenting. You will figure it out. If you get into trouble paste the original pref.cs back inside and no damage done. Best way to learn is trial and error and do some reading in the modding forums, most all of this is covered somewhere.
Last edited: Thursday, January 19, 2006 at 12:50:31 PM
Thanks again
Cloud
Page : <1> :
! 4 FOOBAR $Pref::Server::AdminPassword $pref::Server::TankChangers $pref::Server::TeamChangers $pref::Server::ProjectileChangers $pref::Server::ObserverOn YOU HAVE BEEN FROM THIS SERVER. $pref::Server::BanMessage HAS BEEN BANNED $pref::Server::BanAnnouncment HAS BEEN KICKED $pref::Server::KickAnnouncment YOU HAVE BEEN KICKED FOR BAD BEHAVIOR, YOU ARE WELCOME TO COME BACK IF YOU WILL PLAY NICELY $pref::Server::KickMessage HAS BEEN DEEMED UNWORTHY OF CHAT $pref::Server::SilenceMessage HAS BEEN GIVEN ANOTHER CHANCE TO USE CHAT $pref::Server::UnSilenceMessage NO CHAT FOR YOU $pref::Server::ChatDeniedMessage HAD HIS BRAIN POPPED BY AN ADMIN FOR BEING A PUNK $pref::Server::AdminKillMessage HAS BEEN KICKED FOR A FAILED ADMIN LOGIN ATTEMPT $pref::Server::FailedAdminLogin NUKE 'EM ALL $pref::Server::NukeMessage [ D % -:A % +@A % +@A % +@A% +@D˜% -:DÓ% -:Dÿ % -:Dÿ2 % -:Dÿª % -:Dÿê % -:Dÿ5 % -:Dÿf % -:Dÿ¹ % -:Dÿ % -:
W ë Q ™ K E E ? Ì 9 3 - ä ' ¹ ! ~ @ $
Where should I put it. Thanks. I know this is suppose to be in the help section but I sorta need an answer sooner than suppose to later. If its a real problem please move, not lock. Thanks so much
Cloud