Do you have a Windows VPS and want to install the open.mp Dedicated Server on it? You're in the right place. In this guide, we'll walk you through installing this service on your server step by step.
First, connect to your VPS using Remote Desktop (RDP). If you need help, check out our First Login (RDP) guide.
Once you have access to your server, download the latest version from the open.mp GitHub repository. Make sure to select the win-x86 version.
After downloading the release, extract the files using a tool such as 7zip or WinRAR. This should create a Server folder containing all the necessary server files.
To start the server, simply run omp-server.exe and the server will boot. However, we recommend setting up port forwarding and configuring your server first.
To make your server publicly accessible, you need to create port forwarding rules for the ports used by the Dedicated Server. You can do this either directly with PowerShell commands, which is easier, or the traditional way using Windows Defender Firewall.
When you start the server for the first time, a UAC prompt should appear. If you confirm it, the firewall rules will be set up automatically, and you can move straight to the next section. If not, follow one of the methods below.
Open Windows Search and search for PowerShell. Right-click it and select Run as administrator to ensure you have the necessary permissions and everything works smoothly.
Make sure to run PowerShell as an administrator, or the settings may not be applied correctly.
Then copy and paste the following commands into PowerShell:
New-NetFirewallRule -DisplayName "open.mp Server" -Direction Inbound -LocalPort 7777 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "open.mp Server" -Direction Inbound -LocalPort 7777 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "open.mp Server" -Direction Outbound -LocalPort 7777 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "open.mp Server" -Direction Outbound -LocalPort 7777 -Protocol UDP -Action Allow
These commands automatically create the firewall rules your open.mp server needs to be publicly accessible.
Use Windows Search to open Windows Defender Firewall with Advanced Security. If you only see the basic firewall, click Advanced settings to open the correct window.
Create new rules for your open.mp server. To do this, click Inbound Rules and Outbound Rules, then add the following protocols and ports:
- TCP inbound and outbound: 7777
- UDP inbound and outbound: 7777
If you need more help, check out our Port Forwarding (Firewall) guide.
Once you've added these rules, your server will be accessible, and you can connect using your server's IP address.
We recommend configuring your server in the next section before connecting.
At this point, you've completed the basic installation of your open.mp server. You can adjust additional settings in a configuration file.
Go back to the root directory and open the config.json file. There, you can customize many server parameters, such as the port, password, and more.
Here is an example of a few configuration options:
"name": "ZAP-Hosting Docs Test",
"password": "iLoveZAP!2024",
"website": "zap-hosting.com"
Check out our Server Configuration guide to learn about all available options and what they do.
You can now start your server. Go to the root directory and run omp-server.exe to begin the startup process. The server console will open in a command window, and the server will boot.
You can now connect to your server directly in the game using the open.mp launcher. If you want your server to appear in the server list, check out our Server Configuration guide and make sure the enable_query parameter is set to true (it should be by default). Save the file and restart the server.