mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 20:42:54 +08:00
Merge pull request #1240 from lilkingjr1/arma3-update
Arma 3 Egg Rewrite
This commit is contained in:
commit
f4f3f9e72f
@ -62,12 +62,12 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
|||||||
* [MariaDB](/database/sql/mariadb)
|
* [MariaDB](/database/sql/mariadb)
|
||||||
* [PostgreSQL](/database/sql/postgres)
|
* [PostgreSQL](/database/sql/postgres)
|
||||||
|
|
||||||
## Voice Servers
|
## [Voice Servers](/voice_servers)
|
||||||
* [Lavalink](/voice_servers/lavalink)
|
* [Lavalink](/voice_servers/lavalink)
|
||||||
* [TeaSpeak](/voice_servers/teaspeak)
|
* [TeaSpeak](/voice_servers/teaspeak)
|
||||||
* [TS3-Manager](/voice_servers/ts3_manager)
|
* [TS3-Manager](/voice_servers/ts3_manager)
|
||||||
|
|
||||||
## Game Eggs
|
## [Game Eggs](/game_eggs)
|
||||||
[Among Us](game_eggs/among_us)
|
[Among Us](game_eggs/among_us)
|
||||||
* [Impostor Server](game_eggs/among_us/impostor_server)
|
* [Impostor Server](game_eggs/among_us/impostor_server)
|
||||||
* [CrewLink Server](game_eggs/among_us/crewlink_server)
|
* [CrewLink Server](game_eggs/among_us/crewlink_server)
|
||||||
@ -161,8 +161,6 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
|||||||
* [ARK: Survival Evolved](game_eggs/steamcmd_servers/ark_survival_evolved)
|
* [ARK: Survival Evolved](game_eggs/steamcmd_servers/ark_survival_evolved)
|
||||||
* [Arma](game_eggs/steamcmd_servers/arma)
|
* [Arma](game_eggs/steamcmd_servers/arma)
|
||||||
* [Arma 3](game_eggs/steamcmd_servers/arma/arma3)
|
* [Arma 3](game_eggs/steamcmd_servers/arma/arma3)
|
||||||
* [Arma 3 64 Bit](game_eggs/steamcmd_servers/arma/arma3_x64)
|
|
||||||
* [Arma 3 Headless Client](game_eggs/steamcmd_servers/arma/arma3_headless_client)
|
|
||||||
* [Assetto Corsa](game_eggs/steamcmd_servers/assetto_corsa)
|
* [Assetto Corsa](game_eggs/steamcmd_servers/assetto_corsa)
|
||||||
* [Avorion](game_eggs/steamcmd_servers/avorion)
|
* [Avorion](game_eggs/steamcmd_servers/avorion)
|
||||||
* [Barotrauma](game_eggs/steamcmd_servers/barotrauma)
|
* [Barotrauma](game_eggs/steamcmd_servers/barotrauma)
|
||||||
|
@ -92,8 +92,6 @@
|
|||||||
* [ARK: Survival Evolved](steamcmd_servers/ark_survival_evolved)
|
* [ARK: Survival Evolved](steamcmd_servers/ark_survival_evolved)
|
||||||
* [Arma](steamcmd_servers/arma)
|
* [Arma](steamcmd_servers/arma)
|
||||||
* [Arma 3](steamcmd_servers/arma/arma3)
|
* [Arma 3](steamcmd_servers/arma/arma3)
|
||||||
* [Arma 3 64 Bit](steamcmd_servers/arma/arma3_x64)
|
|
||||||
* [Arma 3 Headless Client](steamcmd_servers/arma/arma3_headless_client)
|
|
||||||
* [Assetto Corsa](steamcmd_servers/assetto_corsa)
|
* [Assetto Corsa](steamcmd_servers/assetto_corsa)
|
||||||
* [Avorion](steamcmd_servers/avorion)
|
* [Avorion](steamcmd_servers/avorion)
|
||||||
* [Barotrauma](steamcmd_servers/barotrauma)
|
* [Barotrauma](steamcmd_servers/barotrauma)
|
||||||
@ -158,4 +156,4 @@
|
|||||||
|
|
||||||
[Vintage Story](vintage_story/vintage_story)
|
[Vintage Story](vintage_story/vintage_story)
|
||||||
|
|
||||||
[Xonotic](xonotic/xonotic)
|
[Xonotic](xonotic/xonotic)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SteamCMD Servers
|
# SteamCMD Servers
|
||||||
|
|
||||||
This is a collection of servers that use SteamCMD to install.
|
This is a collection of servers that use SteamCMD to install.
|
||||||
|
|
||||||
@ -9,10 +9,7 @@ This is a collection of servers that use SteamCMD to install.
|
|||||||
[ARK: Survival Evolved](ark_survival_evolved)
|
[ARK: Survival Evolved](ark_survival_evolved)
|
||||||
|
|
||||||
## Arma
|
## Arma
|
||||||
[Arma](arma)
|
|
||||||
* [Arma 3](arma/arma3)
|
* [Arma 3](arma/arma3)
|
||||||
* [Arma 3 64 Bit](arma/arma3_x64)
|
|
||||||
* [Arma 3 Headless Client](arma/arma3_headless_client)
|
|
||||||
|
|
||||||
## Assetto Corsa
|
## Assetto Corsa
|
||||||
[Assetto Corsa](assetto_corsa)
|
[Assetto Corsa](assetto_corsa)
|
||||||
@ -129,4 +126,4 @@ This is a collection of servers that use SteamCMD to install.
|
|||||||
## Valheim
|
## Valheim
|
||||||
[Valheim](valheim)
|
[Valheim](valheim)
|
||||||
* [Valheim Vanilla](valheim/valheim_vanilla)
|
* [Valheim Vanilla](valheim/valheim_vanilla)
|
||||||
* [Valheim Plus Mod](valheim/valheim_plus)
|
* [Valheim Plus Mod](valheim/valheim_plus)
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
ARMA is a series of first-person tactical military shooters, originally released for Microsoft Windows. It features large elements of realism and simulation; a blend of large-scale military conflict spread across large areas alongside the more close quartered battles.
|
ARMA is a series of first-person tactical military shooters, originally released for Microsoft Windows. It features large elements of realism and simulation; a blend of large-scale military conflict spread across large areas alongside the more close quartered battles.
|
||||||
|
|
||||||
## Arma 3
|
## Arma Titles
|
||||||
* [Arma 3](arma3)
|
* [Arma 3](arma3)
|
||||||
|
@ -1,32 +1,67 @@
|
|||||||
# Arma 3
|
# Arma 3
|
||||||
### From their [Site](https://arma3.com/)
|
***Updating your Egg? Please see [How to Update Egg](#how-to-update-egg) to avoid any issues!***
|
||||||
Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single- and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC’s premier military game. Authentic, diverse, open - Arma 3 sends you to war.
|
___
|
||||||
|
### Authors / Contributors
|
||||||
|
<!-- prettier-ignore-start -->
|
||||||
|
<!-- markdownlint-disable -->
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/lilkingjr1">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/4533989" width="50px;" alt=""/><br /><sub><b>Red-Thirten</b></sub>
|
||||||
|
</a>
|
||||||
|
<br />
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=lilkingjr1" title="Codes">💻</a>
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=lilkingjr1" title="Maintains">🔨</a>
|
||||||
|
</td>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/aussieserverhosts">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/65438932" width="50px;" alt=""/><br /><sub><b>Aussie Server Hosts</b></sub>
|
||||||
|
</a>
|
||||||
|
<br />
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=aussieserverhosts" title="Codes">💻</a>
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=aussieserverhosts" title="Contributor">💡</a>
|
||||||
|
</td>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/Yomanz">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/5119107" width="50px;" alt=""/><br /><sub><b>Daave</b></sub>
|
||||||
|
</a>
|
||||||
|
<br />
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=Yomanz" title="Codes">💻</a>
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=Yomanz" title="Original Creator">⭐</a>
|
||||||
|
<a href="https://github.com/parkervcp/eggs/commits?author=Yomanz" title="Retired from Development">💤</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<!-- markdownlint-enable -->
|
||||||
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
|
___
|
||||||
|
### Game Description
|
||||||
|
From Bohemia Interactive's [Website](https://arma3.com/):
|
||||||
|
> Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC’s premier military game. Authentic, diverse, open - Arma 3 sends you to war.
|
||||||
|
___
|
||||||
### Egg Capabilities
|
### Egg Capabilities
|
||||||
- Configurable to run 32 or 64-bit versions of the server.
|
- Configurable to run 32 or 64-bit versions of the server
|
||||||
- Configurable to run Beta/Performance binaries of the server (if desired; advanced users only).
|
- Max Players is configurable and able to be host enforced (\*see [Recommended Egg Modifications](#recommended-egg-modifications))
|
||||||
- Able to download server updates.
|
- Able to download server updates on startup
|
||||||
- Able to download Steam Workshop mods\* and move `.bikey`'s to the `/keys/` directory (\*see Installation Requirements).
|
- Able to download, update, and load Steam Workshop mods on startup (\*see [Installation Requirements](#installation-requirements))
|
||||||
- Configurable to run up to 5 Headless Clients in parallel with the main server (may require additional performance overhead).
|
- Accepts uploaded HTML modlist files exported from the Arma 3 Launcher to define mods to load on the server.
|
||||||
|
- Also accepts manually listed mods, CDLCs, and server-side only mods.
|
||||||
|
- Checks for mod updates against their Steam Workshop page's last update for quick and efficient update checks.
|
||||||
|
- Automatically moves mod `.bikey`'s to the `/keys/` directory.
|
||||||
|
- Configurable to download Creator DLCs
|
||||||
|
- Configurable to run Beta/Performance binaries of the server (if desired; advanced users only)
|
||||||
|
- Additional [Arma 3 startup parameters](https://community.bistudio.com/wiki/Arma_3_Startup_Parameters) can be added to fine-tune performance
|
||||||
|
- Configurable to run up to 5 Headless Clients in parallel with the main server (may require additional performance overhead)
|
||||||
|
- [WHMCS](https://www.whmcs.com/) compatible (\*see [Recommended Egg Modifications](#recommended-egg-modifications))
|
||||||
|
___
|
||||||
### Installation Requirements
|
### Installation Requirements
|
||||||
- A valid, real Steam account, with **Steam Guard turned off**, is required to install the server (default "anonymous" login cannot be used). For security reasons it is [recommended](https://developer.valvesoftware.com/wiki/SteamCMD#With_a_Steam_account) that you create a new Steam account just for your dedicated servers. This account *does not* need to own Arma 3.
|
- A valid, **real** Steam account, with **Steam Guard turned off**, is required to install the server (default "anonymous" login cannot be used). For security reasons it is [recommended by Valve](https://developer.valvesoftware.com/wiki/SteamCMD#With_a_Steam_account) that you create a new Steam account just for your dedicated servers. This account *does not* need to own Arma 3.
|
||||||
- For automatic Steam Workshop mod downloading to work, the Steam account *does* need to own Arma 3. This is, of course, optional functionality, and mods can be manually uploaded to the server if desired. Hosts may feel free to delete the "Steam Workshop Mods to Download/Update" variable if they would not like to offer it's functionallity.
|
- For automatic Steam Workshop mod downloading to work, the Steam account *does* need to own Arma 3. However, this is optional functionality, and mods can be manually uploaded to the server if desired. Hosts may feel free to change the "Disable Mod Downloads/Updates" variable to `1` if they would not like to offer it's functionality to clients.
|
||||||
|
___
|
||||||
### Minimum RAM Warning
|
|
||||||
This server requires about 2048 MB of RAM to run properly. If used, every Headless Client uses an additional 2048 MB of RAM as well.
|
|
||||||
|
|
||||||
### CPU Usage Information
|
|
||||||
ARMA 3 is mainly CPU intensive. Contrary to popular belief, the server binary *can* run on multiple cores/threads. However, it's ability to manage asynchronous tasks and hyperthread is *very* limited, meaning additional cores/threads reach diminishing returns very quickly. In addition, it's ability to utilize all of the CPU alloted to it for AI processing seems to be limited as well. Therefore, a Headless Client ***and*** a properly written mission file are highly recommended if large amounts of AI units will be used.
|
|
||||||
|
|
||||||
### Additional Settings
|
|
||||||
Additional server flags can be found [here](https://community.bistudio.com/wiki/Arma_3_Startup_Parameters).
|
|
||||||
These can help you fine tune how the server will behave during runtime.
|
|
||||||
|
|
||||||
*Note: The `-maxMem=` flag is currently known to cause an unknown segmentaion fault crash on startup. Other hardware related flags may cause similar behavior.*
|
|
||||||
|
|
||||||
### Server Ports
|
### Server Ports
|
||||||
Default server ports. **All ports are required.** Ports after the Main port are relative to the main port (For example: The BattlEye port is always 4 ports higher than the main port). It is [recommended](https://community.bistudio.com/wiki/Arma_3:_Dedicated_Server#Port_Forwarding) that each server be 100 ports seperate from each other.
|
Default server ports are listed below, but the Main port can be any port. There are three more ports after the Main port are relative to the Main port (For example: The BattlEye port is always 4 ports higher than the main port). **All four ports are required for normal server behavior.** It is [recommended](https://community.bistudio.com/wiki/Arma_3:_Dedicated_Server#Port_Forwarding) that each server be 100 ports separate from each other.
|
||||||
|
|
||||||
| Port | Default |
|
| Port | Default |
|
||||||
|---------|---------|
|
|---------|---------|
|
||||||
@ -36,3 +71,29 @@ Default server ports. **All ports are required.** Ports after the Main port are
|
|||||||
| BattleEye (+4) | 2306 |
|
| BattleEye (+4) | 2306 |
|
||||||
|
|
||||||
#### Mods/Plugins may require ports to be added to the server.
|
#### Mods/Plugins may require ports to be added to the server.
|
||||||
|
___
|
||||||
|
### CPU Usage Information
|
||||||
|
ARMA 3 is mainly CPU intensive. Contrary to popular belief, the server binary *can* run on multiple cores/threads. However, it's ability to manage asynchronous tasks and hyperthread is *very* limited, meaning additional cores/threads reach diminishing returns very quickly. In addition, it's ability to utilize all of the CPU allotted to it for AI processing seems to be limited as well. Therefore, a Headless Client ***and*** a properly written mission file are highly recommended if large amounts of AI units will be used.
|
||||||
|
___
|
||||||
|
### Minimum RAM Requirement
|
||||||
|
This server requires about 2048 MB of RAM to run properly. If used, every Headless Client uses an additional 2048 MB of RAM as well.
|
||||||
|
___
|
||||||
|
### Minimum Disk Requirement
|
||||||
|
This server requires just under 10 GB of disk space to safely run properly with no mods. However, mods can easily increase disk usage to 50 GB or more, depending on how many are downloaded.
|
||||||
|
___
|
||||||
|
### Recommended Egg Modifications
|
||||||
|
The following are highly recommended variable modifications you can make to the egg after importing it to your panel. While viewing this egg, simply go to the "Variables" tab of the egg editor to make these changes.
|
||||||
|
#### Default Steam Username & Password
|
||||||
|
- To make deploying servers easy (**or if you are using WHMCS**), it is recommended to edit the default values of "Steam Username" and "Steam Password" to your Steam account dedicated for hosting. This will make all newly installed servers use these credentials. **DO NOT** make these fields visible to the end user so that they can use their own Steam accounts; the panel will save their Steam credentials in **plain text**, which is a BIG NO NO for security and privacy.
|
||||||
|
#### 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.
|
||||||
|
___
|
||||||
|
### How to Update Egg
|
||||||
|
If you already have an Arma 3 egg installed on your panel, there are a couple things to consider before updating to this egg:
|
||||||
|
- The Startup Command has changed, but Pterodactyl currently does not update this across all your existing servers. Servers will still boot with their old Startup Command, but the new HTML Modlist feature will not work, and depreciated variables for config files will be used. Servers will have to be manually updated to the new Startup Command via the Startup tab.
|
||||||
|
- Startup Variables have been completely rehauled. While most important existing variables have retained their Environment Variable names, a lot of their titles and order have been adjusted. Simply updating your existing egg with this egg may lead to Startup Variables being terribly out of order and cluttered. Therefore, the following steps are recommended to avoid this:
|
||||||
|
1. Change the name of your existing Arma 3 egg to "Arma 3 (Old)".
|
||||||
|
2. Install this updated egg as a new egg in your nest.
|
||||||
|
3. Make any egg modifications you would like. (\*see [Recommended Egg Modifications](#recommended-egg-modifications))
|
||||||
|
4. Change all existing Arma 3 servers to the new egg via the Startup tab.
|
||||||
|
5. Delete the old egg.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
hostname = "Arma 3 Server";
|
hostname = "Arma 3 Server";
|
||||||
|
|
||||||
// Server password - for private servers.
|
// Server password - for private servers.
|
||||||
//password = "arma3pass";
|
password = "";
|
||||||
|
|
||||||
// Admin Password
|
// Admin Password
|
||||||
//passwordAdmin = "ADMINPASSWORD";
|
//passwordAdmin = "ADMINPASSWORD";
|
||||||
|
@ -1,45 +1,36 @@
|
|||||||
{
|
{
|
||||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
"_comment": "Pterodactyl Arma 3 Egg ~ David Wolfe (Red-Thirten) ~ 2021-07-11",
|
||||||
"meta": {
|
"meta": {
|
||||||
"version": "PTDL_v1",
|
"version": "PTDL_v1",
|
||||||
"update_url": null
|
"update_url": null
|
||||||
},
|
},
|
||||||
"exported_at": "2021-07-02T04:17:45+03:00",
|
|
||||||
"name": "Arma 3",
|
"name": "Arma 3",
|
||||||
"author": "rehlmgaming@gmail.com",
|
"author": "rehlmgaming@gmail.com",
|
||||||
"description": "Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single- and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC's premier military game. Authentic, diverse, open - Arma 3 sends you to war.",
|
"description": "Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single- and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC's premier military game. Authentic, diverse, open - Arma 3 sends you to war.",
|
||||||
"features": null,
|
"features": null,
|
||||||
"images": [
|
"images": [
|
||||||
|
"ghcr.io\/parkervcp\/games:arma3",
|
||||||
"quay.io\/parkervcp\/pterodactyl-images:game_arma3"
|
"quay.io\/parkervcp\/pterodactyl-images:game_arma3"
|
||||||
],
|
],
|
||||||
"file_denylist": [],
|
"file_denylist": [],
|
||||||
"startup": ".\/{{SERVER_BINARY}} -ip=0.0.0.0 -port={{SERVER_PORT}} -profiles=.\/serverprofile -bepath=.\/battleye -cfg=\\\"{{BASIC}}\\\" -config=\\\"{{CONFIG}}\\\" -mod=\\\"{{MODIFICATIONS}}\\\" -serverMod=\\\"{{SERVERMODS}}\\\" {{STARTUP_PARAMS}}",
|
"startup": ".\/{{SERVER_BINARY}} -ip=0.0.0.0 -port={{SERVER_PORT}} -profiles=.\/serverprofile -bepath=.\/battleye -cfg=basic.cfg -config=server.cfg -mod=\\\"{{CLIENT_MODS}}\\\" -serverMod=\\\"{{SERVERMODS}}\\\" {{STARTUP_PARAMS}}",
|
||||||
"config": {
|
"config": {
|
||||||
"files": "{}",
|
"files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"password=\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"\/\/password=\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"password =\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"\/\/password =\": \"password = \\\"{{env.SERVER_PASSWORD}}\\\";\",\r\n \"maxPlayers\": \"maxPlayers = {{env.MAX_PLAYERS}};\",\r\n \"headlessClients\": \"headlessClients[] = { \\\"127.0.0.1\\\" };\",\r\n \"localClient\": \"localClient[] = { \\\"127.0.0.1\\\" };\"\r\n }\r\n }\r\n}",
|
||||||
"startup": "{\r\n \"done\": \"Host identity created.\"\r\n}",
|
"startup": "{\r\n \"done\": \"Host identity created.\"\r\n}",
|
||||||
"logs": "{}",
|
"logs": "{}",
|
||||||
"stop": "^C"
|
"stop": "^CC"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"installation": {
|
"installation": {
|
||||||
"script": "#!\/bin\/bash\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} +force_install_dir \/mnt\/server +app_update ${STEAMCMD_APPID} ${STEAMCMD_EXTRA_FLAGS} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## ARMA III specific setup\r\ncd \/mnt\/server\/\r\n\r\nmkdir -p \"\/mnt\/server\/.local\/share\/Arma 3\" \"\/mnt\/server\/.local\/share\/Arma 3 - Other Profiles\"\r\n\r\n[[ -f basic.cfg ]] || curl -sSLO https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3-config\/basic.cfg\r\n[[ -f server.cfg ]] || curl -sSLO https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3-config\/server.cfg\r\nchmod 755 basic.cfg server.cfg",
|
"script": "#!\/bin\/bash\r\n\r\n## File: Pterodactyl Arma 3 Egg - egg-arma3.json\r\n## Author: David Wolfe (Red-Thirten)\r\n## Date: 2021\/07\/11\r\n## License: MIT License\r\n\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n# Download and install SteamCMD\r\ncd \/tmp\r\nmkdir -p \"\/mnt\/server\/steamcmd\" \"\/mnt\/server\/steamapps\"\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n# Install game server using SteamCMD\r\n.\/steamcmd.sh \"+login \\\"${STEAM_USER}\\\" \\\"${STEAM_PASS}\\\"\" +force_install_dir \/mnt\/server +app_update ${STEAMCMD_APPID} ${STEAMCMD_EXTRA_FLAGS} validate +quit\r\n\r\n# Set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n# Set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n# Arma 3 setup\r\ncd \/mnt\/server\/\r\n\r\nmkdir -p \"\/mnt\/server\/.local\/share\/Arma 3\" \"\/mnt\/server\/.local\/share\/Arma 3 - Other Profiles\"\r\n\r\n[[ -f basic.cfg ]] || curl -sSLO ${BASIC_URL}\r\n[[ -f server.cfg ]] || curl -sSLO ${BASIC_URL%\/*}\/server.cfg\r\nchmod 755 basic.cfg server.cfg",
|
||||||
"container": "debian:buster-slim",
|
"container": "debian:buster-slim",
|
||||||
"entrypoint": "bash"
|
"entrypoint": "bash"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variables": [
|
"variables": [
|
||||||
{
|
{
|
||||||
"name": "Arma 3 Dedicated Server App ID",
|
"name": "[REQUIRED] Steam Username",
|
||||||
"description": "Used for installation and updates.",
|
"description": "Used for installation and updates. Account does not need to own Arma 3, but MUST BE a VALID Steam account (anonymous login cannot be used). For security reasons it is recommended that you create a new Steam account just for your dedicated servers. *This info is not visible to the server owner.*",
|
||||||
"env_variable": "STEAMCMD_APPID",
|
|
||||||
"default_value": "233780",
|
|
||||||
"user_viewable": false,
|
|
||||||
"user_editable": false,
|
|
||||||
"rules": "required|integer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Steam Username",
|
|
||||||
"description": "Used for installation and updates. Account does not need to own Arma 3, but must be a valid Steam account (anonymous login cannot be used). For security reasons it is recommended that you create a new Steam account just for your dedicated servers. *This info is not visible to the server owner.*",
|
|
||||||
"env_variable": "STEAM_USER",
|
"env_variable": "STEAM_USER",
|
||||||
"default_value": "your_steam_username",
|
"default_value": "your_steam_username",
|
||||||
"user_viewable": false,
|
"user_viewable": false,
|
||||||
@ -47,14 +38,23 @@
|
|||||||
"rules": "required|string"
|
"rules": "required|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Steam Password",
|
"name": "[REQUIRED] Steam Password",
|
||||||
"description": "Used for installation and updates. Steam Guard must be TURNED OFF for install to complete successfully. *This info is not visible to the server owner.*",
|
"description": "Used for installation and updates. Steam Guard MUST be completely TURNED OFF for install to complete successfully. *This info is not visible to the server owner, BUT IS stored in PLAIN TEXT. It is NOT advised to use a personal account; best to use a dummy account.*",
|
||||||
"env_variable": "STEAM_PASS",
|
"env_variable": "STEAM_PASS",
|
||||||
"default_value": "your_steam_password",
|
"default_value": "your_steam_password",
|
||||||
"user_viewable": false,
|
"user_viewable": false,
|
||||||
"user_editable": false,
|
"user_editable": false,
|
||||||
"rules": "required|string"
|
"rules": "required|string"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Number of SteamCMD Retry Attempts",
|
||||||
|
"description": "How many times SteamCMD should retry downloading a server or mod after a recoverable error. (ie. A particularly large mod like CUP or RHS download times out)",
|
||||||
|
"env_variable": "STEAMCMD_ATTEMPTS",
|
||||||
|
"default_value": "3",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|integer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Server Binary",
|
"name": "Server Binary",
|
||||||
"description": "Server binary to call on server start. (32-bit: arma3server | 64-bit: arma3server_x64)",
|
"description": "Server binary to call on server start. (32-bit: arma3server | 64-bit: arma3server_x64)",
|
||||||
@ -66,7 +66,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Extra Startup Parameters",
|
"name": "Extra Startup Parameters",
|
||||||
"description": "See https:\/\/community.bistudio.com\/wiki\/Arma_3_Startup_Parameters for more info.",
|
"description": "See https:\/\/community.bistudio.com\/wiki\/Arma_3_Startup_Parameters for more info on valid flags for this field. \"-noLogs\" is recommended to prevent console rate-limit warnings.",
|
||||||
"env_variable": "STARTUP_PARAMS",
|
"env_variable": "STARTUP_PARAMS",
|
||||||
"default_value": "-noLogs",
|
"default_value": "-noLogs",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -74,26 +74,62 @@
|
|||||||
"rules": "string|nullable"
|
"rules": "string|nullable"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Server Configuration File",
|
"name": "Max Players",
|
||||||
"description": "See https:\/\/community.bistudio.com\/wiki\/server.cfg for more info.",
|
"description": "Maximum number of players allowed to join the server.",
|
||||||
"env_variable": "CONFIG",
|
"env_variable": "MAX_PLAYERS",
|
||||||
"default_value": "server.cfg",
|
"default_value": "32",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "string|nullable"
|
"rules": "required|integer|gt:0"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Basic Network Configuration",
|
"name": "Server Password",
|
||||||
"description": "See https:\/\/community.bistudio.com\/wiki\/basic.cfg for more info.",
|
"description": "Password required to join the server. Leave blank to have no password.",
|
||||||
"env_variable": "BASIC",
|
"env_variable": "SERVER_PASSWORD",
|
||||||
"default_value": "basic.cfg",
|
"default_value": "",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "required|string"
|
"rules": "nullable|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Mods",
|
"name": "Automatic Updates",
|
||||||
"description": "Mod folders to be used with the -mods startup option. NO capital letters, spaces, or folders starting with a number! Each folder must be followed with a semicolon (ex. @123456789;@987654321;etc;)",
|
"description": "Quickly checks for any server or mod updates on startup, and updates if necessary. (1 Enable | 0 Disable)",
|
||||||
|
"env_variable": "UPDATE_SERVER",
|
||||||
|
"default_value": "1",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Disable Mod Downloads\/Updates",
|
||||||
|
"description": "If the Steam account does not own the base Arma 3 game, Steam Workshop mod downloads\/updates will not work. If so, this setting allows disabling of this feature to avoid errors. (1 Disable | 0 Enable)",
|
||||||
|
"env_variable": "DISABLE_MOD_UPDATES",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Download Creator DLCs",
|
||||||
|
"description": "Downloads\/Updates all the mod files required to run any CDLC during the next Automatic Update. DLCs can be enabled by adding their mod folder name to the Additional Mods startup variable. For example, add \"vn;\" to load the Prairie Fire CDLC. (1 Yes | 0 No)",
|
||||||
|
"env_variable": "CDLC",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Modlist File (Exported from A3 Launcher)",
|
||||||
|
"description": "Filename for an exported modlist. This file will be parsed for mod installation and loading. Upload your HTML file to the root directory (eg. \/home\/container\/modlist.html). Leave blank to disable loading mods from a modlist.",
|
||||||
|
"env_variable": "MOD_FILE",
|
||||||
|
"default_value": "modlist.html",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "nullable|string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Additional Mods",
|
||||||
|
"description": "A semicolon-separated list of additional mod folders to load. Useful for loading CDLCs or manually uploaded mods. This mod list will be loaded in addition to the Modlist File (if used). Any mods in this list that are in \"@workshopID\" form will also be included in Automatic Updates (if enabled). NO capital letters, spaces, or folders starting with a number! (ex. myMod;vn;@123456789;@987654321;etc;)",
|
||||||
"env_variable": "MODIFICATIONS",
|
"env_variable": "MODIFICATIONS",
|
||||||
"default_value": "",
|
"default_value": "",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -101,44 +137,35 @@
|
|||||||
"rules": "nullable|string"
|
"rules": "nullable|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Server Mods",
|
"name": "[Repair] Make Mod Files Lowercase",
|
||||||
"description": "Server-side only mod folders to be used with the -serverMods startup option. NO capital letters, spaces, or folders starting with a number! Each folder must be followed with a semicolon (ex. @123456789;@987654321;etc;)",
|
"description": "Every mod that is set to be loaded will have its folder and files changed to lowercase (to prevent errors). It is recommended to enable this for one server boot after copying a mod from a Windows machine to the server, or if mods seem to not be loading. (1 Enable | 0 Disable)",
|
||||||
"env_variable": "SERVERMODS",
|
|
||||||
"default_value": "",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "nullable|string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Check for Server Updates",
|
|
||||||
"description": "Check for server updates on server start. (1 True | 0 False)",
|
|
||||||
"env_variable": "UPDATE_SERVER",
|
|
||||||
"default_value": "0",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Steam Workshop Mods to Download\/Update",
|
|
||||||
"description": "[*Only works if the host owns Arma 3] Comma separated list of Steam Workshop mod IDs to download\/update on server start. (ex. 450814997,463939057) Each mod will be downloaded to the root directory with the folder format \"@ModIdNumber\". NOTE: Particularly large mods (ie. RHS, CUP, typically anything over 3 GB) may not download properly due to limitations of SteamCMD.",
|
|
||||||
"env_variable": "UPDATE_WORKSHOP",
|
|
||||||
"default_value": "",
|
|
||||||
"user_viewable": true,
|
|
||||||
"user_editable": true,
|
|
||||||
"rules": "string|nullable"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Set Mods to Lowercase",
|
|
||||||
"description": "On server start, goes through all the mod folders listed in \"Mods\" & \"Server Mods\", and makes sure every folder and file is lowercase (to prevent errors). This is particularly useful to run ONCE after copying a mod from a Windows machine to the server, or if mods seem to not be loading.",
|
|
||||||
"env_variable": "MODS_LOWERCASE",
|
"env_variable": "MODS_LOWERCASE",
|
||||||
"default_value": "0",
|
"default_value": "0",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "boolean"
|
"rules": "boolean"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "[Repair] Validate Server Files",
|
||||||
|
"description": "Validates all server files when Automatic Updates is enabled. Note: This will significantly increase server startup times, so it is recommended to only enable this when needed. (1 Enable | 0 Disable)",
|
||||||
|
"env_variable": "VALIDATE_SERVER",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] Server-Side Only Mods",
|
||||||
|
"description": "Mod folders to be used with the \"-serverMods\" startup option. They only run server-side and are not required by clients if \"verifySignatures\" is enabled. Any mods in this list that are in \"@workshopID\" form will also be included in Automatic Updates (if enabled). NO capital letters, spaces, or folders starting with a number! Each folder must be followed with a semicolon (ex. @123456789;@987654321;etc;)",
|
||||||
|
"env_variable": "SERVERMODS",
|
||||||
|
"default_value": "",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "nullable|string"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "[Advanced] Extra Flags for SteamCMD",
|
"name": "[Advanced] Extra Flags for SteamCMD",
|
||||||
"description": "Only used when checking for server updates, and typically used for grabbing beta builds.\r\nExample: -beta profiling -betapassword CautionSpecialProfilingAndTestingBranchArma3",
|
"description": "[This will override \"Download Creator DLCs\" if used] Only used when checking for server updates, and typically used for grabbing beta builds. Example: -beta profiling -betapassword CautionSpecialProfilingAndTestingBranchArma3",
|
||||||
"env_variable": "STEAMCMD_EXTRA_FLAGS",
|
"env_variable": "STEAMCMD_EXTRA_FLAGS",
|
||||||
"default_value": "",
|
"default_value": "",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -147,7 +174,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "[Advanced] Headless Clients (HC)",
|
"name": "[Advanced] Headless Clients (HC)",
|
||||||
"description": "Number of Headless Clients (0 - 5) to launch parallel with the server. Be sure to set the following \"HC Connect Password\" variable if your server is password locked. PLEASE NOTE: Using a headless client is only recommended for advanced users, adds extra overhead to your permitted server resources, and is only beneficial if a properly written, HC compliant mission file is provided. See https:\/\/community.bistudio.com\/wiki\/Arma_3:_Headless_Client for more info.",
|
"description": "Number of Headless Clients (0 - 5) to launch parallel with the server. Be sure to set the following \"HC Connect Password\" variable if your server is password locked. PLEASE NOTE: Using a headless client is only recommended for advanced users, adds extra overhead to your permitted server resources, and is only beneficial if a properly written, HC compliant, mission file is provided. See https:\/\/community.bistudio.com\/wiki\/Arma_3:_Headless_Client for more info.",
|
||||||
"env_variable": "HC_NUM",
|
"env_variable": "HC_NUM",
|
||||||
"default_value": "0",
|
"default_value": "0",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
@ -155,13 +182,58 @@
|
|||||||
"rules": "required|integer|between:0,5"
|
"rules": "required|integer|between:0,5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "[Advanced] HC Connect Password",
|
"name": "[Advanced] HC Hide Console Output",
|
||||||
"description": "If Headless Clients are used, this is the password used to connect to the server if the server is password locked.",
|
"description": "Hides Headless Client console output (except for critical errors) to prevent nonessential console spam. (1 Hide | 0 Show)",
|
||||||
"env_variable": "HC_PASSWORD",
|
"env_variable": "HC_HIDE",
|
||||||
"default_value": "",
|
"default_value": "1",
|
||||||
"user_viewable": true,
|
"user_viewable": true,
|
||||||
"user_editable": true,
|
"user_editable": true,
|
||||||
"rules": "nullable|string"
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] Clear HC Profiles Cache on Startup",
|
||||||
|
"description": "Deletes all profiles from the \"\/home\/container\/serverprofile\/home\" directory on startup, except for the server's main \"Player\" profile. Recommended to enable when running HCs, because the profiles are generally unused and can cause HCs to crash if they develop errors. (1 Enable | 0 Disable)",
|
||||||
|
"env_variable": "CLEAR_CACHE",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] Arma 3 Dedicated Server App ID",
|
||||||
|
"description": "Used for installation and updates. Rarely needs to be changed.",
|
||||||
|
"env_variable": "STEAMCMD_APPID",
|
||||||
|
"default_value": "233780",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Advanced] basic.cfg URL",
|
||||||
|
"description": "URL to a valid Arma 3 basic.cfg file. The \"Basic\" configuration file is used during server runtime for advanced network performance tuning. Because it is a required file, this URL is used to download it during installation, or if the file is found missing during startup.",
|
||||||
|
"env_variable": "BASIC_URL",
|
||||||
|
"default_value": "https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/arma\/arma3\/egg-arma3-config\/basic.cfg",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Depreciated] Server Configuration File",
|
||||||
|
"description": "This is a depreciated variable that is only included for servers running on an older Startup Command.",
|
||||||
|
"env_variable": "CONFIG",
|
||||||
|
"default_value": "server.cfg",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "string|nullable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Depreciated] Basic Configuration File",
|
||||||
|
"description": "This is a depreciated variable that is only included for servers running on an older Startup Command.",
|
||||||
|
"env_variable": "BASIC",
|
||||||
|
"default_value": "basic.cfg",
|
||||||
|
"user_viewable": false,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|string"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user