-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathegg-beam--m-p.json
113 lines (113 loc) · 5.13 KB
/
egg-beam--m-p.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2022-04-08T10:43:03+02:00",
"name": "Beam-MP",
"author": "[email protected]",
"description": "Beam-MP Server",
"features": null,
"images": [
"ghcr.io\/vibesfr\/pterodactyl-beammp-egg:main"
],
"file_denylist": [],
"startup": ".\/BeamMP-Server",
"config": {
"files": "{\r\n \"ServerConfig.toml\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"Debug =\": \"Debug = {{env.DEBUG}}\",\r\n \"Private =\": \"Private = {{env.PRIVATE}}\",\r\n \"Port =\": \"Port = {{server.build.default.port}}\",\r\n \"MaxCars =\": \"MaxCars = {{env.CARS}}\",\r\n \"MaxPlayers =\": \"MaxPlayers = {{env.MAXPLAYERS}}\",\r\n \"Map =\": \"Map = \\\"{{env.MAP}}\\\"\",\r\n \"Name =\": \"Name = \\\"{{env.NAME}}\\\"\",\r\n \"Description =\": \"Description = \\\"{{env.DESC}}\\\"\",\r\n \"Use =\": \"Use = \\\"{{env.RESOURCE}}\\\"\",\r\n \"AuthKey =\": \"AuthKey = \\\"{{env.AUTH}}\\\"\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Vehicle event network online\"\r\n}",
"logs": "{}",
"stop": "exit"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\n#install wget and unzip\r\napt -y update\r\napt -y install wget unzip\r\n\r\n\r\n#move to server directory\r\nmkdir \/mnt\/server\r\ncd \/mnt\/server\r\n\r\n#default config\r\necho \"[General]\r\nAuthKey = ''\r\nDebug = false,\r\nDescription = ''\r\nMap = ''\r\nMaxCars =1\r\nMaxPlayers = 5\r\nName = ''\r\nPort = 1\r\nPrivate = true\r\nResourceFolder = 'Resources'\" >> ServerConfig.toml\r\n\r\nwget https:\/\/github.com\/BeamMP\/BeamMP-Server\/releases\/latest\/download\/BeamMP-Server-linux\r\nmv BeamMP-Server-linux BeamMP-Server\r\nchmod +x BeamMP-Server",
"container": "ubuntu:20.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Cars",
"description": "Maximum amount of cars per player. Can be either 1 to 5",
"env_variable": "CARS",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|int|min:1|max:5"
},
{
"name": "Max players",
"description": "Maximum amount of players that can join the server.\r\nValue between 1 and 20",
"env_variable": "MAXPLAYERS",
"default_value": "20",
"user_viewable": true,
"user_editable": true,
"rules": "required|int|min:1|max:20"
},
{
"name": "Map",
"description": "What map the server will use",
"env_variable": "MAP",
"default_value": "\/levels\/gridmap_v2\/info.json",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:255"
},
{
"name": "Name",
"description": "Name for your Beam-MP server",
"env_variable": "NAME",
"default_value": "BeamMP Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:350"
},
{
"name": "Description",
"description": "Description for your server!",
"env_variable": "DESC",
"default_value": "BeamMP Server Description",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:500"
},
{
"name": "Authentication Key",
"description": "BeamMP's Server Authentication key. See documentation for more information - https://wiki.beammp.com/en/home/server-installation",
"env_variable": "AUTH",
"default_value": "-",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:64"
},
{
"name": "Private",
"description": "Is this a private server? Private servers will not show up on the server list. Value has to be true or false",
"env_variable": "PRIVATE",
"default_value": "false",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:true,false"
},
{
"name": "Debug mode",
"description": "Run the server in debug mode? Value must be true or false",
"env_variable": "DEBUG",
"default_value": "false",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:true,false"
},
{
"name": "Resource",
"description": "Resource folder location",
"env_variable": "RESOURCE",
"default_value": "Resources",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:128"
}
]
}