OpenMp Egg (#2269)

* Add OpenMp egg

* cleanup: OpenMP

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:
Vedran 2023-07-01 11:39:30 +02:00 committed by GitHub
parent 723f1d38e3
commit 2bf0da4a04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 160 additions and 0 deletions

View File

@ -135,6 +135,7 @@ If you are reading this it looks like you are looking to add an egg to your serv
* 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)

View File

@ -40,6 +40,7 @@
* GTA SA
* [Multi Theft Auto](gta/mtasa)
* [SA-MP](gta/samp)
* [OpenMp](gta/openmp)
* GTA
* [GTAC](gta/gtac)

View File

@ -20,6 +20,9 @@ alt:V Multiplayer a third-party multiplayer modification for Grand Theft Auto: V
[GTA SA:MP](https://www.sa-mp.com/)
SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas (tm).
[OpenMp](https://www.open.mp/)
A multiplayer mod for Grand Theft Auto: San Andreas that is fully backwards compatible with San Andreas Multiplayer.
[MTA SA](https://mtasa.com/)
What more could you want? Multi Theft Auto provides the best online Grand Theft Auto experience there is. Read on to find out more.

View File

@ -0,0 +1,10 @@
# OpenMp
The [OpenMp](https://www.open.mp/) GTA San Andreas dedicated server
## Server Ports
| Port | default |
|---------|---------|
| Game | 25570 |

View File

@ -0,0 +1,93 @@
{
"announce": true,
"artwork": {
"cdn": "",
"enable": true,
"models_path": "models"
},
"chat_input_filter": true,
"enable_query": true,
"game": {
"allow_interior_weapons": true,
"chat_radius": 200.0,
"death_drop_amount": 0,
"gravity": 0.008,
"group_player_objects": false,
"lag_compensation_mode": 1,
"map": "",
"mode": "",
"nametag_draw_radius": 70.0,
"player_marker_draw_radius": 250.0,
"player_marker_mode": 1,
"time": 12,
"use_all_animations": false,
"use_chat_radius": false,
"use_entry_exit_markers": true,
"use_instagib": false,
"use_manual_engine_and_lights": false,
"use_nametag_los": true,
"use_nametags": true,
"use_player_marker_draw_radius": false,
"use_player_ped_anims": false,
"use_stunt_bonuses": true,
"use_vehicle_friendly_fire": false,
"use_zone_names": false,
"vehicle_respawn_time": 10000,
"weather": 10
},
"language": "",
"logging": {
"enable": true,
"log_chat": true,
"log_cookies": false,
"log_deaths": true,
"log_queries": false,
"log_sqlite": false,
"log_sqlite_queries": false,
"timestamp_format": "[%Y-%m-%dT%H:%M:%S%z]",
"use_prefix": true,
"use_timestamp": true
},
"max_bots": 0,
"max_players": 50,
"name": "open.mp server",
"network": {
"acks_limit": 3000,
"aiming_sync_rate": 30,
"allow_037_clients": true,
"bind": "",
"cookie_reseed_time": 300000,
"in_vehicle_sync_rate": 30,
"limits_ban_time": 60000,
"message_hole_limit": 3000,
"messages_limit": 500,
"minimum_connection_time": 0,
"mtu": 576,
"multiplier": 10,
"on_foot_sync_rate": 30,
"player_marker_sync_rate": 2500,
"player_timeout": 10000,
"port": 7777,
"public_addr": "",
"stream_radius": 200.0,
"stream_rate": 1000,
"time_sync_rate": 30000,
"use_lan_mode": false
},
"password": "",
"pawn": {
"legacy_plugins": [],
"main_scripts": [
"test 1"
],
"side_scripts": []
},
"rcon": {
"allow_teleport": false,
"enable": false,
"password": "changeme"
},
"sleep": 5.0,
"use_dyn_ticks": true,
"website": "open.mp"
}

View File

@ -0,0 +1,52 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-07-01T11:37:31+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.",
"features": null,
"docker_images": {
"Samp": "ghcr.io\/parkervcp\/games:samp"
},
"file_denylist": [],
"startup": ".\/omp-server",
"config": {
"files": "{\r\n \"config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"network.port\": \"{{server.build.default.port}}\",\r\n \"rcon.password\": \"{{server.build.env.RCON_PASSWORD}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"started on port\"\r\n}",
"logs": "{}",
"stop": "exit"
},
"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 \"-----------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "RCON Password",
"description": "The password for RCON",
"env_variable": "RCON_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "Version",
"description": "The version you want to install",
"env_variable": "VERSION",
"default_value": "latest",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}