Skip to content

Set Up a One Hour One Life Server on Your VPS

Learn how to build the open-source One Hour One Life server on your Linux VPS, configure it, and connect your players → Find out more

10 November 20263 min read0 Views0 helpful

Introduction

You can run a One Hour One Life server on your own VPS with ZapX. The One Hour One Life server is open source: you download the source code from the developer, build the server yourself, and run it on Linux. This guide explains what you need, how to build the server, and how your players can connect.

Info

One Hour One Life is not included in the Game Server Installer and does not have a ready-made dedicated server available through SteamCMD. You set up the server manually, as described in this guide.

Requirements

RequirementOne Hour One Life
Operating systemLinux, for example Debian or Ubuntu
Server filesSource code from GitHub
Toolsgit, a C++ compiler, and make (for example, g++)
AccessSSH
Info

The developer builds and runs their servers on Linux. If your VPS runs Windows, install a Linux template via Settings > Reinstallation. This deletes all data on your VPS. For more information, see Server Reinstallation.

Configuration

Settings are stored as individual files in the OneLife/server/settings/ directory. Each file contains exactly one value. The most important ones are:

FileDefaultDescription
port.ini8005Server port
maxPlayers.ini160Maximum number of players
requireClientPassword.ini0Set to 1 to require a password to connect
clientPassword.initestPasswordThe password, if required
requireTicketServerCheck.ini1Checks logins against the official ticket server
Important

For a private server, the developer sets requireTicketServerCheck.ini to 0 in their test script. If you set a password, be sure to change clientPassword.ini—the default value is publicly known.

Connect to the server

Players set up a custom server in the game. To do this, they edit these files in the settings directory of their game installation:

FileValue
useCustomServer.ini1
customServerAddress.iniYour VPS IP address, shown under Overview in the ZapX dashboard
customServerPort.ini8005 or the value in your port.ini
serverPassword.iniThe password from clientPassword.ini, if you require one

The server and game should be running the same version; otherwise, the connection may fail.

Ports and firewall

PortProtocolUse
8005TCPGame (value from port.ini)

If you use a system firewall, open the port there. For more information, see Firewall on Linux. If you use your VPS’s Network Firewall in the ZapX dashboard, open the port there as well.

FAQ

Frequently asked questions

No. One Hour One Life isn’t included in the Game Server Installer and doesn’t have a ready-made dedicated server available through SteamCMD. You build the open-source server yourself from the developer’s source code.
Linux, such as Debian or Ubuntu. The developer builds and runs their servers on Linux, and the build is configured for Linux with ./configure 1.
By default, it uses 8005 (TCP). You can change this in the settings/port.ini file in the server directory.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.