Skip to content

How to Add an Admin to Your Myth of Empires Server ​

Admins – called GM accounts in the game – are added to a Myth of Empires server by their SteamID64. That is a 17-digit number starting with 7656. There is no admin file you could edit via SFTP: the list is passed to the server on startup.

Tip

Here you can find a guide on how to find your SteamID64.

Important

Separate multiple SteamID64 with a semicolon (;) – without any spaces in between. A comma does not work as a separator.

Add an admin ​

  1. Open the dashboard
    Open the dashboard of your server and switch to the settings.

  2. Enter the SteamID64
    Enter your SteamID64 into the field for the admin or GM accounts. If your dashboard only offers a field for additional startup parameters, add the following there:

    -ServerAdminAccounts=76561198012345678;76561198087654321
  3. Enable the GM accounts
    Check whether the settings additionally offer a switch for the GM accounts (bUseServerAdmin). If it is there, it has to be enabled, otherwise the list has no effect.

  4. Restart the server
    Save the change and restart your server. The admin list is only read on server start.

Use admin commands in the game ​

  1. Join the server
    Join your server, see Join Server.

  2. Open the console
    Press the ~ or ` key – on an English keyboard the key to the left of the 1. The console only opens if your account is listed as an admin.

    Keyboard

    If the key does not react, switch your keyboard layout to English (US) and try again.

  3. Enter a command
    All admin commands start with cheat, for example:

    cheat SaveWorld

Command overview ​

Warning

There is no official command reference from the developer for Myth of Empires. The following list comes from the server administration community. Depending on your server version an individual command may therefore differ or be missing.

CommandDescription
cheat SaveWorldSave the world immediately
cheat FlyEnable fly mode
cheat WalkLeave fly mode again
cheat GhostMove through objects
cheat GodToggle invulnerability
cheat HideBecome invisible to other players
cheat EnableSpectatorEnable spectator mode
cheat DisableSpectatorLeave spectator mode
cheat GotoPlayer <SteamID64>Teleport to a player
cheat PullPlayer <SteamID64>Teleport a player to you
cheat GotoPosition <x> <y> <z>Teleport to a coordinate
cheat AttachPlayerForWatch <SteamID64>Watch a player
cheat UnAttachPlayerForWatchStop watching
cheat DestroyTargetRemove the targeted object
cheat StunTargetStun the targeted entity
cheat AddItem <ItemID> <amount> <quality>Put an item into your own inventory
cheat AddItemToPlayer <SteamID64> <ItemID> <amount> <quality>Give an item to a player
cheat AddCopper <SteamID64> <amount>Give copper coins to a player
cheat AddExpToPlayer <SteamID64> <XP>Give experience to a player
cheat EmptyPlayerInventory <SteamID64>Empty a player's inventory
cheat SpawnNPCByIndex <index> <distance> <level> <amount>Spawn NPCs
cheat KillAllSpawnedNPCRemove all spawned NPCs
cheat SetServerLevel <level>Set the server level
cheat setTime <HH:MM>Set the time of day in the world
cheat setTimeSpeed <factor>Speed up or slow down the passing of time
cheat setWeather <0-15>Set the weather

Warning

Admin rights can only be granted through the admin list read on server start. Widely circulated commands such as cheat SetAdmin do not work – a player who is not on the list cannot grant themselves admin rights in the game.

Note

If an admin is added later on, the server has to be restarted. Save the world with cheat SaveWorld beforehand and wait about 30 to 45 seconds before stopping the server.

Tip

To learn how to remove players from your server as an admin, see Kick & Ban Players.