Created
October 20, 2024 20:58
-
-
Save Maddox-Werts/d891d7204df04f1b5f536efe9154fc84 to your computer and use it in GitHub Desktop.
Beam-MP JSON Template for PufferPanel *(Works as of 10/20/2024)*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "BeamMP", | |
| "display": "BeamMP", | |
| "type": "GameServer", | |
| "install": [ | |
| { | |
| "files": [ | |
| "https://github.com/BeamMP/BeamMP-Server/releases/download/v${version}/BeamMP-Server.ubuntu.20.04.x86_64 " | |
| ], | |
| "type": "download" | |
| }, | |
| { | |
| "target": "ServerConfig.toml", | |
| "text": "[General]\nAuthKey = '${auth}'\nDebug = ${debug}\nDescription = '${desc}'\nMap = '${map}'\nMaxCars = ${carlimit}\nMaxPlayers = ${playerlimit}\nName = '${name}'\nPort = ${port}\nPrivate = ${private}\nResourceFolder = 'Resources'", | |
| "type": "writefile" | |
| }, | |
| { | |
| "commands": [ | |
| "mv BeamMP-Server.ubuntu.20.04.x86_64 BeamMP-Server", | |
| "chmod +x BeamMP-Server" | |
| ], | |
| "type": "command" | |
| } | |
| ], | |
| "run": { | |
| "stop": "exit", | |
| "command": "./BeamMP-Server", | |
| "workingDirectory": "", | |
| "pre": [], | |
| "post": [], | |
| "environmentVars": {} | |
| }, | |
| "data": { | |
| "auth": { | |
| "type": "string", | |
| "desc": "Used to identify your server with the backend. You should have gotten one while following the installation instructions.\",", | |
| "display": "Authentication Key" | |
| }, | |
| "carlimit": { | |
| "type": "integer", | |
| "desc": "The maximum amout of cars each player can possess", | |
| "display": "Car Limit", | |
| "value": "1" | |
| }, | |
| "debug": { | |
| "type": "boolean", | |
| "desc": "Turns on Debug Messages from the Server", | |
| "display": "Debug", | |
| "value": "false" | |
| }, | |
| "desc": { | |
| "type": "string", | |
| "desc": "Your Server's Description", | |
| "display": "Description", | |
| "value": "A BeamMP Server hosted with PufferPanel" | |
| }, | |
| "map": { | |
| "type": "string", | |
| "desc": "The Map your server will use", | |
| "display": "Map", | |
| "value": "/levels/italy/info.json" | |
| }, | |
| "name": { | |
| "type": "string", | |
| "desc": "Your Server's Name", | |
| "display": "Name", | |
| "value": "BeamMP Server" | |
| }, | |
| "playerlimit": { | |
| "type": "integer", | |
| "desc": "The maximum amount of players that can connect to your server", | |
| "display": "Player Limit", | |
| "value": "10" | |
| }, | |
| "port": { | |
| "type": "integer", | |
| "desc": "The port your server will be hosted on", | |
| "display": "Port", | |
| "value": "30814" | |
| }, | |
| "private": { | |
| "type": "boolean", | |
| "desc": "Tells your server if it is Public or Private", | |
| "display": "Private Server", | |
| "value": "true" | |
| }, | |
| "version": { | |
| "type": "string", | |
| "desc": "The version of the BeamMP server to download", | |
| "display": "Version", | |
| "value": "3.4.1" | |
| } | |
| }, | |
| "environment": { | |
| "type": "standard" | |
| }, | |
| "supportedEnvironments": [ | |
| { | |
| "type": "standard" | |
| } | |
| ], | |
| "requirements": {} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment