-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathegg-unturned-openmod.json
54 lines (54 loc) · 2.58 KB
/
egg-unturned-openmod.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2019-07-01T12:01:31+08:00",
"name": "Unturned-OpenMod-DS",
"author": "michaelcrow@restoremonarchy.com",
"description": "Unturned dedicated server with OpenMod.",
"image": "michaelcrow\/pterodactyl-unturned-openmod:latest",
"startup": ".\/Unturned_Headless.x86_64 -batchmode -nographics -ThreadedConsole -port {{SERVER_PORT}} -maxplayers {{MAX_PLAYERS}} +secureserver\/unturned",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Loading level: 100%\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"latest.log\"\r\n}",
"stop": "shutdown"
},
"scripts": {
"installation": {
"script": "apt update\r\napt -y --no-install-recommends install curl libgdiplus lib32gcc1 ca-certificates\r\n\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\n\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +@sSteamCmdForcePlatformBitness 64 +login anonymous +force_install_dir \/mnt\/server +app_update 1110390 +quit\r\n\r\nmkdir -p \/mnt\/server\/Servers\/unturned\/Server\r\ntouch \/mnt\/server\/Servers\/unturned\/Server\/Commands.dat",
"container": "ubuntu:latest",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Max Players",
"description": "Max players allowed to play in the server",
"env_variable": "MAX_PLAYERS",
"default_value": "24",
"user_viewable": 1,
"user_editable": 0,
"rules": "required|integer|between:1,100"
},
{
"name": "OpenMod Auto Update",
"description": "Input 1 to enable or 0 to disable",
"env_variable": "OPENMOD_AUTOUPDATE",
"default_value": "1",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|integer|between:0,1"
},
{
"name": "Unturned Auto Update",
"description": "Input 1 to enable or 0 to disable",
"env_variable": "GAME_AUTOUPDATE",
"default_value": "1",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|integer|between:0,1"
}
]
}