Esempio n. 1
0
		public Server(TextWriter log) {
			this.log = log;
			
			Name = "Custom Minecraft server";
			Motd = "Welcome to my custom Minecraft server!";
			Public = false;
			Verify = true;
			Slots = 16;
			Help = "&eTo show a list of commands, type '/help commands'.";
			
			listener.AcceptEvent += Accept;
			heartbeat = new Heartbeat(this);
			updateThread = new Thread(UpdateBodies);
			lua = new Lua(this);
			Commands = new Command.List(this);
			Groups = new Group.List();
			Accounts = new Account.List();
			Queue = new UpdateQueue(this);
		}