A console window pops up when you run MoriaServer.exe – this is how to control the server in real-time.
block
Blocks a specified player by name if they are online.
difficulty
Gets the server's current difficulty settings
exit
Saves the current game and stop the server.
help
Describes commands.
kick
Kicks a specified player.
players
Prints the list of connected players.
setcustomdifficulty
Sets one specific difficulty setting to the given value.
setdifficulty
Sets all of the server's difficulty settings to use a preset
status
Prints the current status of the server. See section below.
unblock
Unblocks a previously blocked player.
regenerateinvitecode
Regenerates the invite code after next restart.
rename world
Renames the world to the given name.