This guide covers all admin and console commands available for your Empyrion: Galactic Survival dedicated server on Legion Hosting. Learn how to set up admin permissions, manage players, and use GameMaster commands to administer your server. For initial server setup and configuration, see our Empyrion: Galactic Survival Server Setup Guide.
Permission Levels
Empyrion uses a numbered permission system where lower numbers grant higher privileges. Each permission level includes all commands available to higher-numbered levels.
| Level | Role | Code | Description |
|---|---|---|---|
| 0 | Player | pl |
Default permission level for all players. Access to basic commands only. |
| 3 | GameMaster | gm |
Elevated permissions for game management, teleportation, spawning, and world control. |
| 6 | Moderator | mod |
Player management capabilities including banning, giving items, and entity management. |
| 9 | Admin | admin |
Full administrative privileges including role assignment, playfield management, and server control. |
Setting Up Admin Permissions
Method 1: adminconfig.yaml (Recommended)
The most reliable way to set up admin permissions is through the adminconfig.yaml file. This file is located in your server's Saves/ folder (or sometimes alongside your dedicated.yaml).
Create or edit adminconfig.yaml with the following structure:
Elevated:
- Id: 76561198012345678
Permission: 3
Name: "PlayerOne"
- Id: 76561198087654321
Permission: 9
Name: "ServerAdmin"
Banned:
- Id: 76561198099999999
Until: "2027-01-01 00:00:00"
Each entry requires:
Id— The player's SteamID64 (a 17-digit number starting with 7656)Permission— The permission level to assign (3 = GameMaster, 6 = Moderator, 9 = Admin)Name— The player's name (optional, for your reference)
7656.
Method 2: initadmin Console Command
If you are logged into the server as a player and no admin has been set yet, you can use the initadmin command to set yourself as the initial administrator:
initadmin
This only works if no admin is currently configured. Once an admin exists, further role assignments must be done through the setrole command or the adminconfig.yaml file.
Method 3: setrole Console Command
Existing admins (permission level 9) can assign roles to other players using the setrole command:
setrole PlayerName gm # Set as GameMaster (level 3)
setrole PlayerName mod # Set as Moderator (level 6)
setrole PlayerName admin # Set as Admin (level 9)
setrole PlayerName pl # Reset to Player (level 0)
You can also use the player's SteamID64 instead of their name:
setrole 76561198012345678 gm
Opening the Console
To access the in-game console, press the tilde key (~) on your keyboard. The console allows you to enter commands directly while playing. All commands are case-insensitive.
dedicated.yaml. Connect using PuTTY or a similar terminal client with Raw connection type (not standard Telnet) to the Telnet port (default: 1030). See the Server Setup Guide for Telnet configuration details.
Player Commands (Level 0+)
These commands are available to all players.
| Command | Description |
|---|---|
help |
List all available console commands. Use help [command] for details on a specific command. |
detach |
Detaches the local player if stuck under a cockpit or in geometry |
destroyme |
Kills your own character (useful if stuck) |
undock |
Undocks a specified SV or HV from its parent structure |
difficulties |
Shows the current difficulty settings for the game |
origins |
Lists available origins (starting factions) |
oxygen |
Shows oxygenated areas in a POI |
combiner |
Toggles mesh combiner on/off (performance) |
deco |
Toggles terrain decorations on/off (performance) |
initadmin |
Sets yourself as the initial administrator (only works if no admin is set) |
GameMaster Commands (Level 3+)
GameMaster commands provide control over the game world, entities, and player state.
Player and Entity Management
| Command | Description |
|---|---|
godmode / gm |
Toggles god mode (invulnerability) for yourself |
itemmenu / im |
Enables/disables the creative item menu for spawning any item |
kick [player] |
Kick a player (or all players) from the game |
unban [player|SteamID] |
Remove a ban for a player |
list |
Lists players with special permissions and banned players |
level [set|add] [value] |
Modify level, experience points, or upgrade points for the current player |
entity [operation] |
Perform various operations on entities (use help entity for details) |
ents |
List all entities on the current playfield |
find [name] |
Find a structure by name within the current playfield and display its ID |
faction [operation] |
Faction management helper functions |
Teleportation and Movement
| Command | Description |
|---|---|
teleport [x] [y] [z] / tt |
Teleport yourself (and controlled ship) to specific coordinates |
setposition [entity] [x] [y] [z] |
Set the position of an entity to specific coordinates |
setrotation [entity] [x] [y] [z] |
Set the rotation of a structure |
sector [x] [y] [z] |
Jump to a specific sector in space |
World and Game Management
| Command | Description |
|---|---|
changemode |
Switch the game between Survival and Creative mode |
map |
Uncovers all resources and POIs on the current map |
regenerate [entityId] |
Regenerate a POI or structure, restoring it to its original state |
weather [type] |
Activate a custom weather setting on the current playfield |
time [set] [value] |
Get or set the global server time |
finishbp / fbp |
Instantly finish the current blueprint production |
spawnanyblueprint / sbp |
Toggle the ability to spawn any blueprint regardless of requirements |
gameoptions / gopt |
List all current game option values (see Game Options section below) |
op [entityId] |
Toggle offline protection on a specific structure |
wipe [target] |
Wipe targeted aspects after server reboot (use carefully) |
stats |
Print status information about the current playfield |
traders |
List all traders and reload the trader config file |
Status Effects and Player State
| Command | Description |
|---|---|
statuseffect [effect] |
Apply a status effect to the player |
statuseffectremove [effect] |
Remove a status effect from the player |
prefabactivate |
Switch all powered blocks on in a structure |
prefabinfo |
Show information about a user blueprint |
resetcore |
Clear fuel and oxygen in the local structure |
Moderator Commands (Level 6+)
Moderator commands add player management and entity control capabilities.
| Command | Description |
|---|---|
ban [player] [duration] |
Ban a player for a specified amount of time |
give [player] [itemId] [amount] |
Give items to a player by item ID |
repair [player] |
Repair a player's items |
destroy [entityId] |
Destroy an entity or structure |
debugmenu / dm |
Enable/disable the debug menu |
armor [operation] |
Armor adjustments for players |
gents [factionId] |
List all structures belonging to a specific faction |
alliances |
List alliances, alliance requests, and manage alliance settings |
sectors [reveal|hide] |
Reveal or hide playfields on the map |
ai |
Toggle AI on or off for the current playfield |
si |
Toggle structural integrity calculations on or off |
globaleffects |
Show current global effects active on the server |
marker [operation] |
Manage map markers |
weathersv [type] |
Activate a custom weather setting server-wide |
poimanager |
POI (Point of Interest) management commands |
Admin Commands (Level 9)
Admin commands provide the highest level of server control.
| Command | Description |
|---|---|
setrole [player|SteamID] [role] |
Set a player's permission role (gm, mod, admin, pl) |
playfield / pf |
Reload the current playfield (server-only command) |
replaceblocks [entityId] [blockFrom] [blockTo] |
Replace specified blocks in a structure with another block type |
setdevicespublic [entityId] |
Set all devices in a structure to public access |
pda [operation] |
Execute PDA-related commands (use help pda for details) |
Game Options (gopt) Command
The gameoptions (or gopt) command allows you to view and modify server gameplay settings at runtime without editing configuration files or restarting the server.
Viewing Settings
# Show all game options
gopt
# Show only settings that differ from defaults
gopt nd
Modifying Settings
# Set a specific option
gopt set DecayTime 48
gopt set MaxStructures 150
gopt set ForcePvP true
gopt set DiffAttackStrength Hard
gopt set DiffConstrCraftTime Instant
Available Game Options
| Option | Default | Description |
|---|---|---|
DecayTime |
24 | Hours before coreless/small structures are removed when unvisited |
WipeTime |
0 | Hours before any unvisited structure is removed (0 = disabled) |
ProtectTime |
48 | Hours of offline protection for player structures |
ProtectDelay |
300 | Seconds before offline protection activates |
MaxStructures |
200 | Maximum structures per playfield (0-255) |
AntiGriefDistancePvE |
30 | Minimum meters between faction bases in PvE |
AntiGriefDistancePvP |
300 | Minimum meters between faction bases in PvP |
ForcePvP |
false | Force PvP on all playfields |
DiffAmountOfOre |
Normal | Ore deposit abundance (Rich, Normal, Poor) |
DiffNumberOfDeposits |
Normal | Deposit frequency (Plenty, Normal, Few) |
DiffAttackStrength |
Medium | NPC attack damage (Easy, Medium, Hard) |
DiffConstrCraftTime |
Normal | Constructor speed (Faster, Normal, Slower, Instant) |
Server Management Commands
These are essential commands for day-to-day server administration, available via the in-game console or Telnet.
# Save and shut down the server (with countdown in minutes, max 15)
saveandexit 5
# List all connected players
plys
# List all active playfield servers
servers
# Regenerate a specific playfield
regenerateplayfield [name]
# View server performance statistics
stats
saveandexit [minutes] to safely shut down the server. This triggers an auto-save and gives connected players a warning countdown. Directly killing the server process may result in data loss.
Common Admin Tasks
Dealing with Stuck Players
If a player is stuck in geometry or under a cockpit:
# Player can try this themselves:
detach
# If that fails, teleport them:
tt [player] [x] [y] [z]
# Or as a last resort, kill and respawn:
destroyme
Cleaning Up Abandoned Structures
# List all structures for a faction
gents [factionId]
# Find a specific structure
find "Structure Name"
# Destroy a structure by ID
destroy [entityId]
# Adjust automatic decay timers
gopt set DecayTime 12
gopt set WipeTime 168
Banning and Unbanning Players
# Ban a player (duration examples: 1h, 24h, 7d, permanent)
ban PlayerName 7d
# Unban a player
unban PlayerName
# List all players with special roles or bans
list
Related Articles
- Empyrion: Galactic Survival Server Setup Guide
- How to Find Your Server IP and Port
- How to Upload Files via SFTP
- Getting Started with Your New Server
Need Help?
If you need further assistance with Empyrion server administration or have questions about specific commands, our support team is ready to help. Submit a support ticket and we will get back to you as soon as possible.