This is for NewestCOServer.
Some people may find this useful, some may not.
This is how it works: When you start the server, it will ask for a password, if you enter it incorrectly, the console will close as you click enter, if you enter it correctly, it will resume.
Search for:
Above that add:
Search for:
Above that put:
Search for:
Above that add:
To change the password to what you desire, edit the following:
End
Some people may find this useful, some may not.
This is how it works: When you start the server, it will ask for a password, if you enter it incorrectly, the console will close as you click enter, if you enter it correctly, it will resume.
Search for:
Code:
static void Main(string[] args)
Code:
public static string Password;
Code:
Database.AddSkills();
Code:
Database.LoadPass();
Code:
public static void LoadItems()
Code:
public static void LoadPass()
{
Console.Write("What is the password?: ");
Program.Password = Console.ReadLine();
if (Program.Password != "elitepvpers")
{
Console.Write("Wrong password, click enter to close the console!");
Console.ReadLine();
Environment.Exit(0);
}
}
Code:
if (Program.Password != "[COLOR="Red"]elitepvpers[/COLOR]")
End