package com.dmgame.net.script;

import com.dmgame.net.script.*;

return new Help();

class Help extends ServerCommand{

	String getName(){return "help"};

	public boolean perform(Scanner s){
		println("Commands:                                                                \r\n"
			+ "/gamemode - sets the specified gamemode for the next match                 \r\n"
			+ "          - type /gamemode help for more info                              \r\n"
			+ "/mode     - sets the communication mode the server is in.                  \r\n"
			+ "          - note that the mode cannot change once clients connect.         \r\n"
			+ "/ping     - server responds with \"pong\"                                  \r\n"
			+ "/reset    - resets the server without requiring it to be shut down         \r\n"
			+ "/reload   - reloads all server command scripts.                            \r\n"
			+ "/stop     - stops the server                                               \r\n"
			+ "/verbose  - sets the detail level of output. Accepted values are true|false\r\n"
			+ "/help     - see this dialog                                                    ")
		return false
	}
}