-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-unturned-git.json
142 lines (142 loc) · 6.16 KB
/
egg-unturned-git.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-05-30T00:11:33+01:00",
"name": "Unturned Git",
"author": "[email protected]",
"description": "Unturned dedicated server with GitHub repository sync.",
"features": null,
"docker_images": {
"restoremonarchy/pterodactyl-unturned-git:latest": "restoremonarchy/pterodactyl-unturned-git:latest"
},
"file_denylist": [],
"startup": ".\/Unturned_Headless.x86_64 -batchmode -nographics -LogSteamNetworkingSockets=0 -ThreadedConsole {{CPU_PRIORITY}} -port {{SERVER_PORT}} -gslt {{LOGIN_TOKEN}} +secureserver\/unturned",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Loading level: 100%\"\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\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +@sSteamCmdForcePlatformBitness 64 +login anonymous +force_install_dir \/mnt\/server +app_update 1110390 validate +quit\r\nmkdir -p \/mnt\/server\/Servers\/unturned\/Server\r\nmkdir \/mnt\/server\/linux64\r\ncp \/mnt\/server\/steam\/linux64\/* \/mnt\/server\/linux64\r\nmkdir \/mnt\/server\/Unturned_Headless_Data\/Plugins\/x86_64\/",
"container": "ubuntu:18.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Framework",
"description": "Select a framework that should be used",
"env_variable": "FRAMEWORK",
"default_value": "rocket",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:vanilla,rocket,openmod,openmod & rocket,rocketmodfix,openmod & rocketmodfix",
"field_type": "text"
},
{
"name": "Framework Auto-Update",
"description": "Set whether you want the server to use auto update of the selected framework",
"env_variable": "FRAMEWORK_AUTOUPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Unturned Auto Update",
"description": "Set on to enable automatic updates to Unturned",
"env_variable": "GAME_AUTOUPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "CPU Priority",
"description": "CPU priority set for a specific server",
"env_variable": "CPU_PRIORITY",
"default_value": "-normal",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "Login Token",
"description": "This login token allows you to publicly show your server on the server list.",
"env_variable": "LOGIN_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50",
"field_type": "text"
},
{
"name": "Repository Enabled",
"description": "Set on to enable repository sync",
"env_variable": "REPOSITORY_ENABLED",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "Repository URL",
"description": "The URL to the Git repository that should be cloned for this server.",
"env_variable": "REPOSITORY_URL",
"default_value": "github.com/RestoreMonarchyPlugins/UnturnedGit.git",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:255",
"field_type": "text"
},
{
"name": "Repository Access Token",
"description": "The access token to use when cloning the repository. This is required for private repositories.",
"env_variable": "REPOSITORY_ACCESS_TOKEN",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:255",
"field_type": "text"
},
{
"name": "Branch",
"description": "The branch of the Git repository that should be used for this server.",
"env_variable": "REPOSITORY_BRANCH",
"default_value": "master",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:255",
"field_type": "text"
},
{
"name": "Repository Directory",
"description": "The folder inside the repository that should be used for this server. Leave empty to use the root of the repository.",
"env_variable": "REPOSITORY_DIR",
"default_value": "sample",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:255",
"field_type": "text"
},
{
"name": "Install Directory",
"description": "The directory where the server files should be installed.",
"env_variable": "INSTALL_DIR",
"default_value": "Servers/unturned",
"user_viewable": true,
"user_editable": false,
"rules": "required|string|max:255",
"field_type": "text"
}
]
}