@Override
	public void run() {
		sc = new Scanner(System.in);
		
		while(ctrl.isRunning()){
			sc.reset();
			if(sc.hasNext()){
				String s[] = sc.nextLine().split("\\s+");
				
				switch( s[0]){
					case "list" : listCommand(s);
					break;
					
					case "shutdown" : shutdownCommand(s);
					break;
					
					case "kick" : kickCommand(s);
					break;
					
					case "ban" : banCommand(s);
					break;
					
					case "delete" : deleteCommand(s);
					break;
					
					case "new" : newCommand(s);
					break;
					
					case "move" : moveCommand(s);
					break;
					
					default : System.out.println("Unknown command, 'list commands' to display all usable commands.");
				}
			}
		}
	}