Skip to content
Back to Homepage

Return to Moria Console Commands

Return to Moria dedicated servers expose a live console for server administration. On AleForge, enter commands in the Console page of the Blacksmith’s Portal while your server is running.

For kicking and blocking players, see How do I kick or block players on my Return to Moria server?.

Rename the current world

rename world MyNewWorldName

Regenerate the join code

Run regenerateinvitecode, then restart the server. The new code appears on the Dashboard. See Connect to your server if players cannot join with the old code.

Command Description
help Lists available commands
status Prints the current server status
players Lists connected players
exit Saves the world and stops the server
difficulty Shows the server’s current difficulty settings
regenerateinvitecode Generates a new join code on the next server restart
Command Description
kick [playername] Removes a player from the server. They can rejoin the same session.
block [playername] Blocks a player by name if they are online
unblock [playername] Unblocks a previously blocked player

You can also block players through MoriaServerPermissions.txt. See player permissions and kick/block guide.

Change difficulty on a running server without creating a new world:

Command Description
setdifficulty story Sets the story difficulty preset
setdifficulty solo Sets the solo difficulty preset
setdifficulty normal Sets the normal difficulty preset
setdifficulty hard Sets the hard difficulty preset
setdifficulty custom Sets custom difficulty mode
setcustomdifficulty [name] [value] Sets one custom difficulty value
Name Startup equivalent on AleForge
combatdifficulty Custom Combat Difficulty
enemyaggression Custom Enemy Aggression
survivaldifficulty Custom Survival Difficulty
miningdrops Custom Mining Drops
worlddrops Custom World Drops
hordefrequency Custom Horde Frequency
siegefrequency Custom Siege Frequency
patrolfrequency Custom Patrol Frequency

verylow, low, default, high, veryhigh

Not every setting supports the full range. If you use verylow or veryhigh on a setting that does not support them, the server clamps to low or high instead.

Example:

setcustomdifficulty combatdifficulty high
Command Description
rename world [name] Renames the current world to the given name

To change difficulty presets or world settings for a new world, stop the server and use Startup variables instead. See How do I change world difficulty on my Return to Moria server?.