Return to Moria has no admin or role system: there is no admin list, no admin password and no admin commands inside the game. Instead you manage players through the file MoriaServerPermissions.txt in the main directory of your server.
Block a player
-
Stop the server
Stop your server via the dashboard. The file may only be edited while the server is stopped – during operation the server overwrites it. -
Connect via SFTP
Connect to your server via SFTP. -
Open the permissions file
Open the following file in the main directory of your server:MoriaServerPermissions.txt -
Add the player
Add one line per player you want to lock out, following this pattern:Durin = BlockedAll lines starting with
;are comments and are ignored. -
Start the server
Save the file and start your server. The listed player can no longer join.
Remove a block
-
Stop the server
Stop your server via the dashboard. -
Remove the line
Open the fileMoriaServerPermissions.txtand delete the player's line completely. -
Start the server
Save the file and start your server. The player can join again.
What Return to Moria does not offer
Additional permission levels
Besides Blocked, the permissions file offers levels that restrict the building and storage rights of individual players. Every line follows the pattern Name = Option,Option:
| Level | Meaning |
|---|---|
Blocked |
The player with that account name cannot join the server |
Default |
The player gets the default permissions |
NoConstruction |
The player may not build, quick-build or deconstruct |
QuickBuild |
The player may only quick-build platforms and rope ladders |
AllConstruction |
The player may build and deconstruct without restrictions |
NoStorage |
The player may not use storage containers or craft from shared base storage |
AllStorage |
The player may use all storage containers and their contents |
An example with several entries:
Default = QuickBuild,NoStorage
Durin = Blocked
Gimli = AllConstruction,AllStorage
Thorin = Default
Console commands
The server ships with its own server console that allows managing players while it runs:
| Command | Description |
|---|---|
players |
Show all connected players |
status |
Show the status of the server |
kick <name> |
Disconnect a player from the server |
block <name> |
Block a connected player |
unblock <name> |
Remove a block |
regenerateinvitecode |
Generate a new invite code on the next start |
rename world <name> |
Rename the world |
difficulty |
Show the current difficulty |
setdifficulty <preset> |
Set all difficulty settings to a preset |
setcustomdifficulty |
Set one specific difficulty setting |
help |
Show a list of all commands |
exit |
Save the world and shut down the server |
Show server rules
You can display a freely written set of rules to your players when they join.
-
Stop the server
Stop your server via the dashboard. -
Edit the rules file
Open the following file in the main directory of your server via SFTP and enter your text:MoriaServerRules.txt -
Start the server
Save the file and start your server.
