How to Set Up a Myth of Empires Dedicated Server on AnonVM Hosting
Introduction
Myth of Empires is a medieval-themed multiplayer game that involves crafting, combat, and large-scale battles. Setting up a dedicated server ensures you and your community can play on a persistent world, independently of official servers.
Prerequisites
- An AnonVM VPS with at least 4GB of RAM and 2 CPU cores (recommended for smooth server performance).
- SSH access to your VPS.
- Basic knowledge of Linux command-line operations.
- Myth of Empires server files (available through SteamCMD or an official distribution method from the developers).
Step 1: Access Your AnonVM VPS
- Log in to your AnonVM dashboard and access your VPS details.
- Use SSH to connect to your VPS:
your-vps-ip
with the actual IP address of your VPS.
Replace
Step 2: Install Required Dependencies
-
Update your system: Make sure your system is up-to-date:
-
Install required libraries: Myth of Empires may require certain libraries to run properly. For example:
Step 3: Install SteamCMD
To install the Myth of Empires server, you’ll likely use SteamCMD, a tool that allows you to download and update games on a dedicated server.
-
Install SteamCMD:
-
Extract SteamCMD:
-
Run SteamCMD:
After this, you can exit SteamCMD by typing
quit
.
Step 4: Download Myth of Empires Server Files
-
Install the server files: Use SteamCMD to download the Myth of Empires server files:
Inside SteamCMD, run the following commands:
Replace
<app_id>
with the actual app ID for Myth of Empires (this can usually be found on Steam’s database or from the game’s official sources).
Step 5: Configure the Server
-
Navigate to the server configuration files: After the installation, you should have the necessary files in
/home/mythofempires
. You may find the main server configuration files in a directory like/home/mythofempires/server
. -
Edit the server configuration: The server will have configuration files, such as
ServerConfig.ini
orGameSettings.ini
, that you can edit to customize the server settings. Use a text editor to modify them:Common configuration settings to adjust:
- Server Name: Set the server's display name.
- Max Players: Adjust the maximum number of players allowed to join.
- Server Password: Set a password if you want to restrict access to your server.
- Game Mode: Choose between PvP or PvE mode.
- Map: Set the map type or select a custom one.
Example of a server configuration:
Step 6: Open Required Ports on Your VPS
To allow players to connect to your server, you need to open the necessary ports in your VPS firewall.
-
Find out the necessary ports for Myth of Empires. Commonly used ports can be found in the server documentation or community forums.
-
Open the required ports using UFW (Uncomplicated Firewall):
This example assumes port
7777
and27015
for game and query traffic. Adjust the ports as necessary for your specific configuration.
Step 7: Run the Server
-
Start the server: After configuring everything, you can start the server with the following command:
This command will start the server based on the configuration files you set up.
-
Running in the background: To keep the server running even after you disconnect from your SSH session, use
screen
ortmux
:-
Install
screen
: -
Start a new screen session:
-
To detach from the screen session, press
Ctrl + A
, thenD
. To reattach later:
-
Step 8: Connect to Your Server
Once the server is running, players can connect by entering your VPS’s public IP address and the port it’s running on (e.g., your-vps-ip:7777
).
- Launch Myth of Empires on your PC.
- Go to the Server Browser or Join IP section and enter the server details.
- If you set a password, players will be prompted to enter it.
Step 9: Update the Server
To keep your server up to date, periodically run SteamCMD to fetch any updates released by the developers.
-
Stop the server by pressing
Ctrl + C
in the screen session. -
Run the following commands to update:
-
Restart the server by running
./start_server.sh
again.
Conclusion
You’ve now successfully set up your Myth of Empires dedicated server on your AnonVM VPS. You can now host your own persistent world, where you and your friends can build, fight, and survive in this medieval sandbox. The flexibility of hosting a server gives you full control over the experience, from gameplay settings to world management.