how do i create a ark survival evolved server?
- User
how do i create a ark survival evolved server?
- Assistant
Creating an "Ark: Survival Evolved" server involves several steps, and you have a few options depending on whether you want to host it on your own hardware or use a hosting service. Below are the general steps for setting up a server on your own hardware:
Prerequisites:
- A computer with a solid internet connection that can run the server continuously.
- Knowledge of port forwarding on your router.
- Basic understanding of command line operations.
Steps for Windows:
-
Prepare Your System
- Ensure your system meets the game's requirements.
- Install SteamCMD, a command-line version of Steam. This is used to download and update the server.
-
Install SteamCMD
- Download SteamCMD from the official website.
- Extract it to a folder (e.g.,
C:\steamcmd).
-
Download the Game Server Files
- Run
steamcmd.exe. - Once in the SteamCMD prompt, type the following:
login anonymous force_install_dir C:\ArkServer app_update 376030 validate quit - This will install the necessary ARK server files into
C:\ArkServer.
- Run
-
Configure the Server
- Navigate to the
ShooterGame\Saved\Config\WindowsServerdirectory within your server folder. - Edit
GameUserSettings.iniandGame.inito configure server settings like difficulty, taming speed, etc. - Set up
ServerSettingsinGameUserSettings.inifor various server options.
- Navigate to the
-
Port Forwarding
- Access your router's settings and forward the following ports to your server's local IP address:
- UDP: 7777
- UDP: 7778 (needs to be one higher than your game port)
- UDP: 27015 (for Steam queries)
- Access your router's settings and forward the following ports to your server's local IP address:
-
Launching the Server
- Create a batch file named
StartServer.batin your server directory. - Include the following command (customize it according to your needs):
start ShooterGameServer "TheIsland?listen?SessionName=MyServerName?ServerPassword=MyPassword?ServerAdminPassword=AdminPassword" -server -log - Double-click the batch file to start your server.
- Create a batch file named
-
Joining Your Server
- Start Ark on your personal machine.
- Select "Join Ark" and filter by "Unofficial Servers."
- Look for your server in the list or connect using your public IP.
Steps for Linux:
-
Prepare Your System
- Ensure your Linux machine is set up and meets the requirements.
- Install
lib32gcc1if not already installed:sudo apt-get install lib32gcc1.
-
Install SteamCMD
- Use the command:
sudo apt-get install steamcmd - Or download and extract manually similar to Windows.
- Use the command:
-
Download Server Files
- Execute SteamCMD and enter:
login anonymous force_install_dir /home/username/arkserver app_update 376030 validate quit
- Execute SteamCMD and enter:
-
Configure and Launch the Server
- Use the same configuration guidance as for Windows.
- Use a script or command line to start the server:
./ShooterGameServer TheIsland?listen?SessionName=MyServerName?ServerPassword=MyPassword?ServerAdminPassword=AdminPassword -server -log
-
Port Forwarding
- Similar process as on Windows but depends on your network's configuration.
Considerations:
- Mods: Use the
GameUserSettings.inito configure mods. - Updates: Regularly update the server using SteamCMD.
- Performance: Monitor server performance and tweak settings as needed.
Using a professional hosting service simplifies the process as they handle the technical configurations, updates, and maintenance, allowing you to focus on gameplay and customization.
- User
Should i do this directly on Windows or WSL (Ubuntu 24.4)?
- Assistant
When deciding whether to run an "Ark: Survival Evolved" server directly on Windows or via the Windows Subsystem for Linux (WSL) using Ubuntu, there are several factors to consider. Here's a breakdown of the pros and cons of each approach:
Running Directly on Windows
Pros:
- Compatibility: The server software and SteamCMD are primarily designed for Windows, which may make installation and setup more straightforward.
- Ease of Use: Windows provides a more familiar and user-friendly environment if you're less comfortable with command-line operations.
- Support and Documentation: A lot of guides and community support focus on setting up servers on Windows, making troubleshooting easier.
Cons:
- Resource Usage: Windows tends to use more system resources compared to Linux environments. This might affect server performance if you're running on limited hardware.
- Stability: Linux servers are often considered more stable and efficient for long-running processes such as game servers.
Running on WSL (Ubuntu 24.4)
Pros:
- Efficiency: Linux generally has lower overhead, potentially providing better performance on the same hardware.
- Stability: Linux environments are known for stability and can handle running servers without needing frequent reboots.
- Flexibility: Provides access to powerful command-line utilities and scripting capabilities to automate tasks.
Cons:
- Complexity: Setting up on WSL may require more command-line expertise and might be less intuitive for users unfamiliar with Linux.
- Networking: Networking and port forwarding can be more complex within WSL, especially with port bindings and permissions.
- Compatibility with Mods: Some mods or scripts might have Windows-specific requirements.
Recommendation
If you're comfortable with command line operations and want potentially better performance and stability, using WSL with Ubuntu could be a good choice, especially for running a server environment long-term. However, remember that WSL also introduces some networking complexities, since it operates slightly differently than a native Linux install or Windows application.
If you prefer simplicity, straightforward setup, and easier management, setting up the server directly on Windows is probably more convenient, especially if you are more familiar with Windows or need to manage other Windows applications and services on the same machine.
In either case, make sure your system has adequate resources and network settings configured correctly to support a smooth multiplayer experience.