-
Notifications
You must be signed in to change notification settings - Fork 8
/
egg-unturned--d-s.json
100 lines (100 loc) · 4.46 KB
/
egg-unturned--d-s.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2020-11-30T03:21:40-05:00",
"name": "Unturned-DS",
"author": "[email protected]",
"description": "Unturned dedicated server with Rocketmod.",
"features": null,
"image": "hcgcloud\/pterodactyl-unturned:latest",
"startup": ".\/Unturned_Headless.x86_64 -batchmode -nographics -ThreadedConsole -map {{SERVER_MAP}} -perspective {{PERSPECTIVE}} -mode {{GAMEMODE}} -name {{NAME}} -bind 0.0.0.0 -port {{SERVER_PORT}} -maxplayers {{MAX_PLAYERS}} +secureserver\/{{SERVER_ID}}",
"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 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:16.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Max Players",
"description": "Max players allowed to play in the server",
"env_variable": "MAX_PLAYERS",
"default_value": "24",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer|between:1,24"
},
{
"name": "Rocketmod Auto Update",
"description": "Input 1 to enable or 0 to disable",
"env_variable": "ROCKET_AUTOUPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"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": true,
"user_editable": true,
"rules": "required|integer|between:0,1"
},
{
"name": "Server Name",
"description": "Set your server name in the in game browser",
"env_variable": "NAME",
"default_value": "Test-Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32"
},
{
"name": "Server ID",
"description": "Wan't to run multiple maps with different loot tables changed the value and it will generate a new directory in the servers folder in the file manager",
"env_variable": "SERVER_ID",
"default_value": "unturned",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
},
{
"name": "Difficulty",
"description": "Set the difficulty or make it a gold only server examples of input easy, normal, hard and gold.",
"env_variable": "GAMEMODE",
"default_value": "easy",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
},
{
"name": "Perspective",
"description": "Change the perspective of the player from first to third or both eg Both, third, first or vehicle",
"env_variable": "PERSPECTIVE",
"default_value": "first",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
},
{
"name": "Server Map",
"description": "Change the server map",
"env_variable": "SERVER_MAP",
"default_value": "Washington",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
}
]
}