Skip to content

Latest commit

 

History

History
125 lines (95 loc) · 6.42 KB

File metadata and controls

125 lines (95 loc) · 6.42 KB

Arma Reforger

Server version currently marked as early access by the Arma developers! Check back often for egg updates as more features are added to the server software.


Authors / Contributors


Red-Thirten

💻 🔨

Soljian

💡

Game Description

From Bohemia Interactive's Website:

Experience authentic Cold War combat and join friends in the struggle for a sprawling, 51 km² mid-Atlantic island — or take on the role of Game Master and create your very own scenarios for others to enjoy.


Egg Capabilities

  • Configurable to automatically check for server updates on start via SteamCMD. Forcing validation is also configurable.
  • Able to download and load Arma Reforger Workshop mods on startup (requires manual editing of the config.json file).
  • Configuration of multiple common settings in the config.json file via Startup Parameters:
    • Server Name, Passwords, Scenario ID, Disable Third Person, Max FPS, and more...
  • Max Players is configurable and able to be host enforced (*see Recommended Egg Modifications).
  • WHMCS compatible.

Server Ports

Port Default (UDP) Notes
Game 2001 Required / Primary port in Pterodactyl
Steam communication 50000..65000 Documented, but not seemingly needed
Steam Query 17777 Used to provide Steam with server status (but does not seemingly need to be forwarded)

Installation/System Requirements

Bare Minimum Recommended
Processor Recent x86/64 (AMD/Intel) processor. No ARM support. Can use up to 300-600% CPU under load with uncapped FPS (set Max FPS to prevent).
RAM 3328 MiB 6144-8192 MiB
Storage 5 GB 7-10 GB (or more, depending on number of mods downloaded)
Network If node is behind a NAT, will require Egg Modification (*see Define Host Registered Bind Address Pterodactyl Node is not behind a NAT
Game Ownership Not required to start or download mods. ----

How to Add Mods

Currently, adding mods to your server is tricky because there is very little documentation and it is difficult to find mod IDs. Hopefully this will change in the future, but following these steps will get it to work:

  1. Open up a client copy of Arma Reforger and subscribe/download any mods you want to add to the server (at this time, I do not know of a way to find mod IDs without requiring use of the game).
  2. Once done, close the game and navigate to this folder on your computer: My Documents\My Games\ArmaReforger\addons\
  3. Aimlessly open each folder to find which mods you want to add and open each of their ServerData.json files in a text editor.
  4. Then, on your server panel, open the config.json file for editing.
  5. Find "mods": [] and replace it with the following:
"mods": [
	{
		"modId": "591AF5BDA9F7CE8B",
		"name": "Capture & Hold",
		"version": "1.0.0"
	},
	{
		"modId": "9A51598BACFBFDE7",
		"name": "Explosive Goats Beta",
		"version": "0.5.42"
	}
]
  1. Change modId to equal the id value found at the top of the ServerData.json file you found.
  2. Change name to equal the name value found at the top of the ServerData.json file you found.
  3. Change version to equal the version value found at the top of the ServerData.json file you found.
  4. Repeat for each mod you want to add by copy/pasting the {} sections like shown above. Make sure each {} section has a , after it, except for the last item.

The server will automatically download and run the mods you specify on startup. For mods that add scenarios, you can find the Scenario IDs listed as gameId in the ServerData.json file. Lastly, if a mod updates, you will likely have to change the version value to match it's new version. You may also have to delete the mod folder in the addons/ directory to have it re-download (reports on this have been mixed).


Recommended Egg Modifications

The following are highly recommended variable modifications you can make to the egg after importing it to your panel.

Define Host Registered Bind Address

Due to a current behavior of Pterodactyl, SERVER_IP will not return the node's public IP address if it is behind a NAT; it will return its private IP address. Unfortunately at this time, Arma Reforger requires the server's public IP address to be strictly defined within config.json. If you know your node is behind a NAT (or you are finding your node's private IP address being added to config.json), you will need to edit this egg after importing it by following these steps:

  1. As a panel admin, find and open the egg within your Nests tab.
  2. On the first tab "Configuration", find the "Configuration Files" box under the "Process Management" section.
  3. Carefully (as to not touch anything else), find {{server.build.default.ip}} and replace it with your node's public IP address. If done correctly, the line should now look something like this:
"    \"gameHostRegisterBindAddress\"": "    \"gameHostRegisterBindAddress\": \"123.4.56.789\",",

Restrict Max Players

If you would like to restrict the maximum number of players that can join your client's server, you can change the permissions of the "Max Players" variable so that clients can only view this value (and not edit it). It's default value can also be changed, or the value can be changed on a server-by-server basis as desired.