Compare commits

...

4 Commits

Author SHA1 Message Date
Quinten
e92b2b9e76
Merge 11e07645aa into fcfd5a3549 2024-05-14 20:09:25 +02:00
Red-Thirten
fcfd5a3549
Add stylization to readme EOL update 2024-05-10 12:22:35 -07:00
Quinten
58e3088aee
Add the EOL message to the readme (#2938)
* Add the EOL message to the readme
2024-05-10 12:06:53 -07:00
Quinten
11e07645aa
Fix open-mp 2024-04-04 10:16:52 +02:00
2 changed files with 37 additions and 468 deletions

499
README.md
View File

@ -1,465 +1,34 @@
# Parkers Pterodactyl eggs repo
I am working on adding a large collection of public eggs for the Pterodactyl community.
With that I am also accepting PR's for new services and also updates to the current ones.
If you are submitting PR's try and keep names and titles the same.
## How to import an egg
If you are reading this it looks like you are looking to add an egg to your server.
1. Download any of the json files located in the folders below.
1. It's easiest to right click the `raw` button and save as.
2. In your panel go to the `Nests` section in the admin part of the panel
3. Click the green `Import Egg` button
4. Browse to the json file you saved earlier
5. Select what nest you want to put the egg in.
1. If you want a new nest you need to create it before importing the egg.
## You must restart your daemon after importing an egg if you are using 0.7. This is not required on 1.X
## Please read the CONTRIBUTING.md before submitting PRs
## [Bots](/bots)
[Discord](/bots/discord)
**Note:** these are actual Discord bot eggs, NOT language eggs. The old language eggs (discord-js-generic, discord-py-generic, etc) have been moved to the [generic languages section](#generic-languages).
* [Aoede](/bots/discord/aoede) Rust
* [ATL Bot](/bots/discord/atlbot) Node JS
* [Bastion](/bots/discord/bastion) Node JS
* [CorpBot](/bots/discord/corpbot) Python
* [Dynamica](/bots/discord/dynamica) Node JS
* [fragbot](/bots/discord/fragbot) Golang
* [Game Server Watcher](/bots/discord/game-server-watcher) Node JS
* [JMusicBot](/bots/discord/jmusicbot) Java
* [Muse](/bots/discord/muse) Node JS
* [parkertron](/bots/discord/parkertron) Golang
* [pixel-bot](/bots/discord/pixelbot) Python
* [Redbot](/bots/discord/redbot) Python
* [Ree6](/bots/discord/ree6) Java
* [SinusBot](/bots/discord/sinusbot)
[Other](/bots/other)
* [Big Brother Bot](/bots/other/bigbrotherbot)
[Twitch](/bots/twitch)
* [PhantomBot](/bots/twitch/phantombot)
* [SogeBot](/bots/twitch/sogebot)
[TeamSpeak3](bots/teamspeak3)
* [JTS3ServerMod](/bots/teamspeak3/jts3servermod)
## [Generic Languages](/generic)
* [C#](/generic/c%23/)
* [elixir](/generic/elixir/)
* [dart](/generic/dart/)
* [deno](/generic/deno/)
* [golang](/generic/golang/)
* [java](/generic/java/)
* [lua](/generic/lua/)
* [nodejs](/generic/nodejs/)
* [bun](/generic/bun/)
* [nodemon](/generic/nodemon/)
* [python](/generic/python/)
* [rust](/generic/rust/)
## [Database](/database)
### In-Memory Databases
[Redis](/database/redis)
* [Redis 5](/database/redis/redis-5)
* [Redis 6](/database/redis/redis-6)
* [Redis 7](/database/redis/redis-7)
### noSQL
* [MongoDB](/database/nosql/mongodb)
* [rethinkdb](/database/nosql/rethinkdb)
### SQL Databases
* [MariaDB](/database/sql/mariadb)
* [PostgreSQL](/database/sql/postgres)
## [Voice Servers](/voice_servers)
* [Lavalink](/voice_servers/lavalink)
* [Teamspeak_ARM64](/voice_servers/teamspeak_ARM64)
* [TeaSpeak](/voice_servers/teaspeak)
* [TS3-Manager](/voice_servers/ts3_manager)
## [Game Eggs](/game_eggs)
[Among Us](game_eggs/among_us)
* [BetterCrewLink Server](game_eggs/among_us/bettercrewlink_server)
* [CrewLink Server](game_eggs/among_us/crewlink_server)
* [Impostor Server](game_eggs/among_us/impostor_server)
[BeamNG.drive](game_eggs/beamng)
* [BeamMP Server](game_eggs/beamng/beammp)
* [KissMP](game_eggs/beamng/kissmp)
[ClassiCube](game_eggs/classicube)
* [MCGalaxy](game_eggs/classicube/mcgalaxy)
[Clone Hero](game_eggs/clone_hero)
[CS2D](game_eggs/cs2d)
[Cube Engine](cubeengine)
* [AssaultCube](cubeengine/assaultcube)
* [Cube 2: Sauerbraten](cubeengine/cube2)
[DDRaceNetwork](game_eggs/ddracenetwork)
[Doom](game_eggs/doom)
* [Zandronum](game_eggs/doom/zandronum)
[Escape from Tarkov](game_eggs/eft)
[ET Legacy](game_eggs/enemy_territory/etlegacy)
[FTL: Tachyon](game_eggs/ftl/tachyon)
[Factorio](game_eggs/factorio)
* [Vanilla](game_eggs/factorio/factorio)
* [ModUpdate](game_eggs/factorio/factorio-modupdate)
* [Clusterio](game_eggs/factorio/clusterio)
[Grand Theft Auto](game_eggs/gta)
* GTA V
* [FiveM](game_eggs/gta/fivem)
* [ragecoop](game_eggs/gta/ragecoop)
* [RageMP](game_eggs/gta/ragemp)
* [alt:V](game_eggs/gta/altv)
* GTA SA
* [Multi Theft Auto](game_eggs/gta/mtasa)
* [SA-MP](game_eggs/gta/samp)
* [OpenMp](game_eggs/gta/openmp)
* GTA
* [GTAC](game_eggs/gta/gtac)
[Hogwarp](game_eggs/hogwarp)
[Kerbal Space Program](game_eggs/ksp)
[League Sandbox](game_eggs/leaguesandbox)
[Los Angeles Crimes](game_eggs/losangelescrimes)
[Neverwinter Nights: Enhanced Edition](game_eggs/neverwinter_nights_ee)
[Mindustry](game_eggs/mindustry)
[Minetest](game_eggs/minetest) (including MTG)
[Minecraft](game_eggs/minecraft)
* [Bedrock](game_eggs/minecraft/bedrock) Servers for Bedrock Minecraft (Windows, mobile, console)
* [Bedrock](game_eggs/minecraft/bedrock/bedrock)
* [gomint](game_eggs/minecraft/bedrock/gomint)
* [LiteLoaderBDS](game_eggs/bedrock/LiteLoader-bedrock)
* [Nukkit](game_eggs/minecraft/bedrock/nukkit)
* [PocketMine MP](game_eggs/minecraft/bedrock/pocketmine_mp)
* [PowerNukkitX](game_eggs/minecraft/bedrock/PowerNukkitX)
* [Java](game_eggs/minecraft/java) Servers for Java Minecraft
* [CurseForge](game_eggs/minecraft/java/curseforge)
* [Cuberite](game_eggs/minecraft/java/cuberite)
* [Fabric](game_eggs/minecraft/java/fabric)
* [Feather](game_eggs/minecraft/java/feather)
* [Feed The Beast](game_eggs/minecraft/java/ftb)
* [Forge](game_eggs/minecraft/java/forge)
* [Glowstone](game_eggs/minecraft/java/glowstone)
* [Limbo](game_eggs/minecraft/java/limbo)
* [Magma](game_eggs/minecraft/java/magma)
* [Modrinth](game_eggs/minecraft/java/modrinth)
* [Mohist](game_eggs/minecraft/java/mohist)
* [NanoLimbo](game_eggs/minecraft/java/nanolimbo)
* [NeoForge](game_eggs/minecraft/java/neoforge)
* [Paper](game_eggs/minecraft/java/paper)
* [Folia](game_eggs/minecraft/java/folia)
* [Purpur](game_eggs/minecraft/java/purpur)
* [Spigot](game_eggs/minecraft/java/spigot)
* [SpongeForge](game_eggs/minecraft/java/spongeforge)
* [SpongeVanilla](game_eggs/minecraft/java/spongevanilla)
* [Technic](game_eggs/minecraft/java/technic)
* [VanillaCord](game_eggs/minecraft/java/vanillacord)
* [Crossplay](game_eggs/minecraft/crossplay/) servers for crossplay between Bedrock and Java edition
* [Purpur-GeyserMC-Floodgate](game_eggs/minecraft/crossplay/purpur-geysermc-floodgate/)
* [Proxies](game_eggs/minecraft/proxy) Minecraft Server Proxies
* [Java](game_eggs/minecraft/proxy/java)
* [Travertine](game_eggs/minecraft/proxy/java/travertine)
* [Velocity](game_eggs/minecraft/proxy/java/velocity)
* [Waterfall](game_eggs/minecraft/proxy/java/waterfall)
* [Bedrock](game_eggs/minecraft/proxy/bedrock)
* [Waterdog PE](game_eggs/minecraft/proxy/bedrock/waterdog_pe)
* [Cross Platform](game_eggs/minecraft/proxy/cross_platform)
* [GeyserMC](game_eggs/minecraft/proxy/cross_platform/geyser)
* [Waterdog](game_eggs/minecraft/proxy/cross_platform/waterdog)
[OpenArena](game_eggs/openarena)
* [openarena](game_eggs/openarena/openarena)
[OpenRA](game_eggs/openra)
* [OpenRA Dune2000](game_eggs/openra/openra_dune2000)
* [OpenRA Red Alert](game_eggs/openra/openra_red_alert)
* [OpenRA Tiberian Dawn](game_eggs/openra/openra_tiberian_dawn)
[Red Dead Redemption](game_eggs/rdr)
* [RedM](game_eggs/rdr/redm)
[Spacestation 14](game_eggs/spacestation_14)
[Rimworld](game_eggs/rimworld)
* [Open World](game_eggs/rimworld/open_world)
* [Rimworld Together](game_eggs/rimworld/together)
[SteamCMD Servers](game_eggs/steamcmd_servers) These eggs use SteamCMD to install
* [7 Days to Die](game_eggs/steamcmd_servers/7_days_to_die)
* [ARK: Survival Ascended](game_eggs/steamcmd_servers/ark_survival_ascended)
* [ARK: Survival Evolved](game_eggs/steamcmd_servers/ark_survival_evolved)
* [Arma](game_eggs/steamcmd_servers/arma)
* [Arma 3](game_eggs/steamcmd_servers/arma/arma3)
* [Arma Reforger](game_eggs/steamcmd_servers/arma/arma_reforger)
* [Assetto Corsa](game_eggs/steamcmd_servers/assetto_corsa)
* [Astro Colony](game_eggs/steamcmd_servers/astro_colony)
* [Astroneer](game_eggs/steamcmd_servers/astroneer)
* [Avorion](game_eggs/steamcmd_servers/avorion)
* [Barotrauma](game_eggs/steamcmd_servers/barotrauma)
* [BATTALION: Legacy](game_eggs/steamcmd_servers/battalion_legacy)
* [Black Mesa](game_eggs/steamcmd_servers/black_mesa)
* [Citadel: Forged with Fire](game_eggs/steamcmd_servers/citadel)
* [Colony Survival](game_eggs/steamcmd_servers/colony_survival)
* [Conan Exiles](game_eggs/steamcmd_servers/conan_exiles)
* [Core Keeper](game_eggs/steamcmd_servers/core_keeper)
* [Counter-Strike](game_eggs/steamcmd_servers/counter_strike/)
* [Counter-Strike: Source](game_eggs/steamcmd_servers/counter_strike/counter_strike_source/)
* [Counter-Strike 2](game_eggs/steamcmd_servers/counter_strike/counter_strike_2/)
* [Craftopia](game_eggs/steamcmd_servers/craftopia)
* [Cryofall](game_eggs/steamcmd_servers/cryofall)
* [DayZ (Experimental)](game_eggs/steamcmd_servers/dayz-experimental)
* [DDNet](game_eggs/steamcmd_servers/ddnet)
* [Dead Matter](game_eggs/steamcmd_servers/dead_matter)
* [Don't Starve Together](game_eggs/steamcmd_servers/dont_starve)
* [ECO](game_eggs/steamcmd_servers/eco)
* [Empyrion - Galactic Survival](game_eggs/steamcmd_servers/empyrion)
* [Enshrouded](game_eggs/steamcmd_servers/enshrouded)
* [Fistful of Frags](game_eggs/steamcmd_servers/fof)
* [Frozen Flame](game_eggs/steamcmd_servers/frozen_flame)
* [Ground Branch](game_eggs/steamcmd_servers/ground_branch)
* [HLDS Server](game_eggs/steamcmd_servers/hlds_server)
* [HLDS Vanilla](game_eggs/steamcmd_servers/hlds_server/vanilla)
* [ReHLDS](game_eggs/steamcmd_servers/hlds_server/rehlds)
* [Holdfast: Nations At War](game_eggs/steamcmd_servers/holdfast)
* [HumanitZ](game_eggs/steamcmd_servers/humanitz)
* [Hurtworld](game_eggs/steamcmd_servers/hurtworld)
* [Icarus](game_eggs/steamcmd_servers/icarus)
* [Insurgency: Sandstorm](game_eggs/steamcmd_servers/insurgency_sandstorm)
* [iosoccer](game_eggs/steamcmd_servers/iosoccer)
* [Killing Floor 2](game_eggs/steamcmd_servers/killing_floor_2)
* [Left 4 Dead](game_eggs/steamcmd_servers/left4dead)
* [Left 4 Dead 2](game_eggs/steamcmd_servers/left4dead_2)
* [Longvinter](game_eggs/steamcmd_servers/longvinter)
* [Modiverse](game_eggs/steamcmd_servers/modiverse)
* [Mordhau](game_eggs/steamcmd_servers/mordhau)
* [Mount & Blade II: Bannerlord](game_eggs/steamcmd_servers/mount_blade_II_bannerlord)
* [Myth of Empires](game_eggs/steamcmd_servers/myth_of_empires)
* [Necesse](game_eggs/steamcmd_servers/necesse)
* [Neos VR](game_eggs/steamcmd_servers/neosvr)
* [No More Room in Hell](game_eggs/steamcmd_servers/nmrih)
* [No Love Lost](game_eggs/steamcmd_servers/no_love_lost)
* [No One Survived](game_eggs/steamcmd_servers/no_one_survived)
* [Nova-Life: Amboise](game_eggs/steamcmd_servers/novalife_amboise)
* [Onset](game_eggs/steamcmd_servers/onset)
* [Open Fortress](game_eggs/steamcmd_servers/open_fortress)
* [Operation Harsh Doorstop](game_eggs/steamcmd_servers/operation_harsh_doorstop)
* [Palworld](game_eggs/steamcmd_servers/palworld)
* [Pavlov VR](game_eggs/steamcmd_servers/pavlov_vr)
* [PixARK](game_eggs/steamcmd_servers/pixark)
* [Portal Knights](game_eggs/steamcmd_servers/portal_knights)
* [Post Scriptum](game_eggs/steamcmd_servers/post_scriptum)
* [Project Zomboid](game_eggs/steamcmd_servers/project_zomboid)
* [Quake Live](game_eggs/steamcmd_servers/quake_live)
* [Resonite](game_eggs/steamcmd_servers/resonite)
* [Rising World](game_eggs/steamcmd_servers/rising_world)
* [Risk Of Rain 2](game_eggs/steamcmd_servers/risk_of_rain_2)
* [Rust](game_eggs/steamcmd_servers/rust)
* [Autowipe](game_eggs/steamcmd_servers/rust/rust_autowipe)
* [Staging](game_eggs/steamcmd_servers/rust/rust_staging)
* [Satisfactory](game_eggs/steamcmd_servers/satisfactory)
* [SCP: Secret Laboratory](game_eggs/steamcmd_servers/scpsl)
* [dedicated](game_eggs/steamcmd_servers/scpsl/dedicated)
* [exiled](game_eggs/steamcmd_servers/scpsl/exiled)
* [Smalland: Survive the Wilds](game_eggs/steamcmd_servers/smalland_survive_the_wilds)
* [Solace Crafting](game_eggs/steamcmd_servers/solace_crafting)
* [Soldat](game_eggs/steamcmd_servers/soldat)
* [Sons of the Forest](game_eggs/steamcmd_servers/sonsoftheforest)
* [Space Engineers](game_eggs/steamcmd_servers/space_engineers)
* [default](game_eggs/steamcmd_servers/space_engineers/default)
* [torch](game_eggs/steamcmd_servers/space_engineers/torch)
* [Squad](game_eggs/steamcmd_servers/squad)
* [Starbound](game_eggs/steamcmd_servers/starbound)
* [Stationeers](game_eggs/steamcmd_servers/stationeers)
* [Stationeers Vanilla](game_eggs/steamcmd_servers/stationeers/stationeers_vanilla)
* [Stationeers BepInEx](game_eggs/steamcmd_servers/stationeers/stationeers_bepinex)
* [Stormworks: Build and Rescue](game_eggs/steamcmd_servers/stormworks)
* [Subnautica: Nitrox Mod](game_eggs/steamcmd_servers/subnautica_nitrox_mod)
* [Sven Co-op](game_eggs/steamcmd_servers/svencoop)
* [Swords 'n Magic and Stuff](game_eggs/steamcmd_servers/swords_'n_Magic_and_Stuff)
* [The Forest](game_eggs/steamcmd_servers/the_forest)
* [The Front](game_eggs/steamcmd_servers/thefront)
* [The Isle](game_eggs/steamcmd_servers/the_isle)
* [Evrima](game_eggs/steamcmd_servers/the_isle/evrima)
* [Team Fortress 2 Classic](game_eggs/steamcmd_servers/team_fortress_2_classic)
* [TerraTech Worlds](game_eggs/steamcmd_servers/terratech_worlds)
* [Tower Unite](game_eggs/steamcmd_servers/tower_unite)
* [Truck Sim](game_eggs/steamcmd_servers/truck-simulator/)
* [American Truck Simulator](game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/)
* [Euro Truck Simulator 2](game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/)
* [Unturned](game_eggs/steamcmd_servers/unturned)
* [V Rising](game_eggs/steamcmd_servers/v_rising)
* [V Rising Vanilla](game_eggs/steamcmd_servers/v_rising/v_rising_vanilla)
* [V Rising BepInex](game_eggs/steamcmd_servers/v_rising/v_rising_bepinex)
* [Valheim](game_eggs/steamcmd_servers/valheim)
* [Valheim Vanilla](game_eggs/steamcmd_servers/valheim/valheim_vanilla)
* [Valheim BepInEx](game_eggs/steamcmd_servers/valheim/valheim_bepinex)
* [Valheim Plus Mod](game_eggs/steamcmd_servers/valheim/valheim_plus)
* [VEIN](game_eggs/steamcmd_servers/vein)
* [Wurm Unlimited](game_eggs/steamcmd_servers/wurm_unlimited/)
[SuperTuxKart](game_eggs/SuperTuxKart)
[Teeworlds](game_eggs/teeworlds)
* [Teeworlds](game_eggs/teeworlds/teeworlds)
[Terraria](game_eggs/terraria)
* [Vanilla](game_eggs/terraria/vanilla)
* [tModLoader](game_eggs/terraria/tmodloader)
* [TShock](game_eggs/terraria/tshock)
[Tycoon Games](game_eggs/tycoon_games)
* [OpenRCT2](game_eggs/tycoon_games/openrct2)
* [OpenTTD](game_eggs/tycoon_games/openttd)
[UrbanTerror](game_eggs/urbanterror)
[Veloren](game_eggs/veloren)
[Vintage Story](game_eggs/vintage_story)
[Wine Generic](game_eggs/wine/generic)
[Xonotic](game_eggs/xonotic/xonotic)
[FoundryVTT](game_eggs/FoundryVTT)
## [Monitoring](/monitoring/)
### Loki
* [Loki](/monitoring/loki)
### Prometheus
* [Prometheus](/monitoring/prometheus)
## [Storage](/storage/)
### S3 Storage
* [minio](/storage/minio)
### SFTP Storage Share ("Empty Egg")
* [SFTP Storage Share](/storage/sftp_storage_share)
## [Software](/software/)
### Code Server
* [Code-Server](/software/code-server)
### Elasticsearch
* [Elasticsearch](/software/elasticsearch)
### Folding@Home
* [Folding@Home](/software/foldingathome)
### Forgejo
* [Forgejo](/software/forgejo)
### Gitea
* [Gitea](/software/gitea)
### Grafana
* [Grafana](/software/grafana)
### haste-server
* [haste-server](/software/haste-server)
### LanguageTool
* [languagetool](/software/languagetool)
### Meilisearch
* [Meilisearch](/software/meilisearch)
### Owncast
* [owncast](/software/owncast)
### RabbitMQ
* [rabbitmq](/software/rabbitmq)
### Reposilite
* [Reposilite](/software/reposilite)
### Uptime Kuma
* [Uptime Kuma](/software/uptime-kuma)
### Yarr
* [yarr](/software/yarr)
### 5e Tools
* [5e Tools](/software/5e-tools)
# Parkers eggs repo
> [!WARNING]
>
> End of Life / Continuation Message
> ---
>
> ***Notice:*** This repository will transition to read-only mode starting on **May 13, 2024**.
>
> This change is necessary to facilitate the upcoming Pelican Panel Egg System integration.
> [!IMPORTANT]
>
> ### Action Required:
>
> If you have any open issues or pull requests that are still relevant or needed, please consider migrating them to the new repositories.
### Repository Restructuring:
To enhance organization and accessibility, the contents of this repository have been migrated into separate repositories based on categories:
- **[Chatbots](https://github.com/pelican-eggs/chatbots)**
- **[Database](https://github.com/pelican-eggs/database)**
- **[Games](https://github.com/pelican-eggs/games)**
- **[Generic](https://github.com/pelican-eggs/generic)**
- **[Minecraft](https://github.com/pelican-eggs/minecraft)**
- **[Monitoring](https://github.com/pelican-eggs/monitoring)**
- **[Software](https://github.com/pelican-eggs/software)**
- **[SteamCMD](https://github.com/pelican-eggs/steamcmd)**
- **[Storage](https://github.com/pelican-eggs/storage)**
- **[Tooling](https://github.com/pelican-eggs/tooling)**
- **[Voice](https://github.com/pelican-eggs/voice)**
Thank you for your understanding and cooperation during this transition period.

View File

@ -4,7 +4,7 @@
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-07-01T11:37:31+02:00",
"exported_at": "2024-04-04T10:16:27+02:00",
"name": "OpenMP",
"author": "vedrancappone@gmail.com",
"description": "A multiplayer mod for Grand Theft Auto: San Andreas that is fully backwards compatible with San Andreas Multiplayer.",
@ -22,7 +22,7 @@
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\napt -y install curl git jq tar\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/openmultiplayer\/open.mp\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/openmultiplayer\/open.mp\/releases\")\r\nMATCH=open.mp-linux-x86-dynssl\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -linux-x86 | head -1)\r\n fi\r\nfi\r\n\r\necho \"running: curl -sSL -o openmp.tar.gz ${DOWNLOAD_URL}\"\r\ncurl -sSL -o openmp.tar.gz ${DOWNLOAD_URL}\r\n\r\nmkdir -p \/mnt\/server\r\ntar -xzvf openmp.tar.gz --strip-components=1 -C \/mnt\/server\/\r\n\r\ncd \/mnt\/server || exit\r\n\r\necho \"creating default config\"\r\n\r\nif [ -e config.json ]; then\r\n echo \"server config file exists\"\r\nelse\r\n echo \"Downloading default OpenMp config\"\r\n curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/gta\/openmp\/config.json >> config.json\r\nfi\r\n\r\n\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"script": "#!\/bin\/bash\r\n\r\napt -y install curl git jq tar\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/openmultiplayer\/open.mp\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/openmultiplayer\/open.mp\/releases\")\r\nMATCH=open.mp-linux-x86\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH} | sed -n '2 p')\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -linux-x86 | head -1)\r\n fi\r\nfi\r\n\r\necho \"running: curl -sSL -o openmp.tar.gz ${DOWNLOAD_URL}\"\r\ncurl -sSL -o openmp.tar.gz ${DOWNLOAD_URL}\r\n\r\nmkdir -p \/mnt\/server\r\ntar -xzvf openmp.tar.gz --strip-components=1 -C \/mnt\/server\/\r\n\r\ncd \/mnt\/server || exit\r\n\r\necho \"creating default config\"\r\n\r\nif [ -e config.json ]; then\r\n echo \"server config file exists\"\r\nelse\r\n echo \"Downloading default OpenMp config\"\r\n curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/gta\/openmp\/config.json >> config.json\r\nfi\r\n\r\n\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
@ -49,4 +49,4 @@
"field_type": "text"
}
]
}
}