Console¶
server.console: the operator console on stdin (started by listen()
unless { console: false }).
command(name, usage, (args, rest) => ...) |
Adds a command. Throwing prints the error. |
run(line) |
Runs a line as if typed. |
Built in: help, players, time [HH:MM], freeze, unfreeze,
skin <id> <model|random>, say <text>, kick <id> [reason],
tp <id> <x> <y> <z>, hp <id> <health> [armour], heal <id>.