misc generics, tweaks, OCD changes, yadda yadda
This commit is contained in:
parent
5f07f81fe1
commit
f9c2f5b04e
17 changed files with 36 additions and 45 deletions
|
|
@ -6,13 +6,12 @@ namespace Server.Misc
|
|||
{
|
||||
public class AccountPrompt
|
||||
{
|
||||
// This script prompts the console for a username and password when 0 accounts have been loaded
|
||||
public static void Initialize()
|
||||
{
|
||||
if ( Accounts.Count == 0 && !Core.Service )
|
||||
{
|
||||
Console.WriteLine( "This server has no accounts." );
|
||||
Console.Write( "Do you want to create an administrator account now? (y/n)" );
|
||||
Console.Write( "Do you want to create the owner account now? (y/n)" );
|
||||
|
||||
if( Console.ReadKey( true ).Key == ConsoleKey.Y )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue