Command list:
- help returns a list of all console commands with descriptions
- random returns a random number
- exit shuts console
- ping returns ping of given url
- clear clears messages
- base64 decrypts and encrypts base64
- echo returns the given string
- calc returns the result of operations: + − × ÷ %
- time returns current date and time
Sample command:
public class SampleCommand extends CommandBase implements Command {
public SampleCommand(ConsoleMain main) {
super(main);
}
@Override
public void execute(String[] args) {
print("Hello, World");
}
@Override
public String getDescription() {
return "sample command";
}
}
