background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categories

Myth of Empires Admin Commands

Available in: ESPAÑOL

As a Myth of Empires server administrator, you have access to GM (Game Master) commands that allow you to manage players, control the environment, spawn items, and maintain server health. This guide covers admin setup, common GM commands, player management tools, and troubleshooting techniques.

Prerequisites: This guide assumes your server is already running and configured. If you have not set up your server yet, see Myth of Empires Server Setup Guide first.

Admin Setup

Before you can use GM commands in-game, you must configure the admin password and optionally add specific players to an admin list.

Setting the Admin Password

  1. Stop your server from GPanel.
  2. Open the server configuration file (e.g., PrivateServerTool.ini) via SFTP or GPanel's file manager.
  3. Find or add the AdminPassword setting:
[ServerSetting]
AdminPassword=YourSecureAdminPassword
  1. Save the file and restart your server.
Security Warning: Use a strong, unique admin password that is different from the server join password. Anyone with the admin password has full control over your server, including the ability to spawn items, teleport, kick, and ban players.

Adding Admins via Config

To grant admin privileges to specific players without sharing the admin password, you can add their Steam IDs to an admin list in the server configuration. Look for an admin list section or file:

[AdminList]
76561198012345678
76561198087654321

Each line contains one Steam ID. Players on this list automatically receive admin privileges when they join the server.

Enabling Admin In-Game

If you are not on the admin list, you must authenticate each session using the admin password:

  1. Join your Myth of Empires server.
  2. Open the in-game console or chat with the appropriate key (typically Enter for chat or ~/` for console).
  3. Enter the GM login command with your admin password:
GM Login YourSecureAdminPassword

If authentication succeeds, you will receive a confirmation message and gain access to all GM commands. This must be done each time you connect to the server.

Note: The exact syntax for GM authentication may vary between game versions. If GM Login does not work, try GMLogin, gm login, or check the latest community documentation for your game version.

Common GM Commands

GM commands in Myth of Empires allow you to control various aspects of gameplay. Commands are entered through the in-game console or chat. The prefix is typically GM followed by the command name.

Player Management Commands

Command Description
GM Kick <PlayerName> Kicks the specified player from the server. They can rejoin immediately.
GM Ban <PlayerName> Bans the specified player from the server. They cannot rejoin until unbanned.
GM Unban <PlayerName> Removes a ban for the specified player, allowing them to rejoin.
GM ListPlayers Displays a list of all currently connected players with their names and IDs.
GM Announce <Message> Broadcasts a server-wide announcement message to all players.

Teleportation Commands

Command Description
GM TeleportTo <PlayerName> Teleports you to the specified player's location.
GM TeleportToMe <PlayerName> Teleports the specified player to your current location.
GM TeleportToPos <X> <Y> <Z> Teleports you to specific world coordinates.
GM Fly Toggles flight mode, allowing free movement in any direction.
GM Ghost Toggles noclip mode, allowing you to pass through terrain and structures.

Item and Resource Commands

Command Description
GM GiveItem <ItemID> <Quantity> Gives the specified item to yourself. Requires the item's numeric ID.
GM GiveItemToPlayer <PlayerName> <ItemID> <Qty> Gives an item directly to another player's inventory.
GM AddExp <Amount> Grants experience points to your character.
GM SetLevel <Level> Sets your character to the specified level.
GM God Toggles invincibility mode. Your character takes no damage while active.
GM Invisible Toggles invisibility. Other players and NPCs cannot see you.

Time and Weather Commands

Command Description
GM SetTime <Hour> Sets the in-game time to the specified hour (0-23). Example: GM SetTime 12 for noon.
GM SetWeather <Type> Changes the current weather. Types may include clear, rain, storm, fog, etc.
GM StopTime Freezes the day/night cycle at the current time. Useful for events or building.
GM ResumeTime Resumes the normal day/night cycle after using StopTime.

World and Entity Commands

Command Description
GM DestroyTarget Destroys the entity (structure, NPC, or object) you are looking at.
GM SpawnNPC <NpcID> <Quantity> Spawns the specified NPC type at your location.
GM KillAllNPC Removes all wild NPCs from the map. They will respawn naturally over time.
GM SaveWorld Forces an immediate world save. Always run this before shutting down the server.
Command Syntax: GM command syntax and availability can change between game versions and patches. If a command does not work as documented, check the game's official patch notes or community wikis for updated syntax. Commands are generally case-insensitive, but parameter values (like player names) may be case-sensitive.

Server Management Tools

Server Save Management

Admins should perform manual saves at critical moments to protect world data:

  • Before shutdown: Always run GM SaveWorld before stopping the server to ensure all recent changes are preserved.
  • Before configuration changes: Save and then back up save files via SFTP before modifying any configuration.
  • After events: Save after community events or major world changes to lock in the current state.
  • Scheduled backups: Download save data from the server regularly via SFTP and store backups locally with dated filenames.

Player Monitoring

Use GM ListPlayers regularly to monitor who is online. This is useful for:

  • Verifying player identities and checking for alt accounts.
  • Gathering Steam IDs needed for kick, ban, or admin list operations.
  • Monitoring server population to adjust max player settings if needed.

Server Announcements

Use announcements to communicate with your community:

GM Announce Server will restart in 10 minutes for maintenance.
GM Announce Rates have been boosted to 3x for the weekend!
GM Announce PvP event starting at coordinates X:5000 Y:3000 in 30 minutes.

Troubleshooting

Server Crashes

Symptom Likely Cause Solution
Crash on startup after config change Invalid configuration value or syntax error Revert to the previous config file or restore default values. Check for unclosed brackets, missing values, or invalid characters.
Random crashes during gameplay Memory exhaustion or entity overflow Check GPanel for memory usage. Consider lowering MaxPlayers or clearing excessive entities with GM KillAllNPC. Restart the server to free memory.
Crash when spawning items/NPCs Invalid item or NPC ID Verify the ID is valid for the current game version. Spawning large quantities of entities at once can also cause crashes -- spawn in smaller batches.
Crash after game update Config or save incompatibility Check if the update requires config changes. Back up saves and try with fresh config files. Community patches or hotfixes may be needed.

Connection Issues

Issue Solution
Server not showing in browser Wait 5-10 minutes after startup. Verify the query port is correct. Try direct IP connection.
Connection timeout Confirm the server is running in GPanel. Verify the correct game port. The server may still be loading -- check console output.
Version mismatch error Ensure the game client and server are running the same version. Update the server or have players update their game client.
Frequent disconnects Check for server lag by monitoring resource usage in GPanel. Lower entity counts, reduce max players, or optimize rates if the server is overloaded.
GM commands not working Verify you authenticated with GM Login and the correct password. Check that AdminPassword is set in the config. Try reconnecting and re-authenticating.

Performance Optimization

If your server is experiencing lag or poor performance, consider the following optimizations:

Action Impact How To
Reduce max players Medium Lower MaxPlayers in config. Fewer players means less entity tracking and network overhead.
Clear wild NPCs High Use GM KillAllNPC periodically to prevent entity buildup. New NPCs will respawn naturally.
Restart regularly High Schedule daily restarts to clear memory leaks and refresh the server. Save the world first with GM SaveWorld.
Optimize rates Low Very high gather rates produce excessive items in the world, which can impact performance. Balance rates for enjoyment and server health.
Monitor resource usage Informational Check GPanel for CPU and memory usage trends. Consistently high usage indicates the server needs optimization or a resource upgrade.
Pro Tip: Establish a maintenance schedule for your server. A daily restart during low-population hours combined with periodic NPC cleanup and backups keeps the server running smoothly and protects against data loss.

Related Articles

Need Help? If you encounter any issues not covered in this guide, please open a support ticket and our team will assist you.

Was this article helpful?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.