-
Notifications
You must be signed in to change notification settings - Fork 32
/
egg-pterodactyl-archean.json
162 lines (162 loc) · 8.47 KB
/
egg-pterodactyl-archean.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-11-02T09:35:11+01:00",
"name": "Archean",
"author": "[email protected]",
"description": "Archean invites you to unleash your creativity alone or with friends in a creative sandbox mode.Design and build vehicles, bases, rockets, space stations and much more using customizable modular blocks.Create unique configurations using components, program their behavior and explore an environment free of constraints.\\nTest your builds, refine your designs and defy the laws of physics.Archean is a game in development focused on engineering and build.",
"features": [],
"docker_images": {
"Ubuntu": "ghcr.io\/pelican-eggs\/yolks:ubuntu"
},
"file_denylist": [],
"startup": "echo \"$ADMINS\" > \"archean-data\/server\/admins.txt\"; cd \/home\/container\/archean-server\/; .\/Archean server",
"config": {
"files": "{\n\t\"archean-data\/server\/server.ini\": {\n\t\t\"parser\": \"ini\",\n\t\t\"find\": {\n\t\t\t\"server.server_public_name\": \"{{env.SERVER_NAME}}\",\n\t\t\t\"server.game_mode\": \"{{env.GAME_MODE}}\",\n\t\t\t\"server.server_online\": \"{{env.ONLINE_MODE}}\",\n\t\t\t\"server.max_simultaneous_players\": \"{{env.MAX_PLAYERS}}\",\n\t\t\t\"server.password\": \"{{env.PASSWORD}}\",\n\t\t\t\"networking.listen_port\": \"{{server.build.default.port}}\",\n\t\t\t\"game.spawn\": \"{{env.SPAWN_PLANET}}\",\n\t\t\t\"game.world\": \"{{env.WORLD_NAME}}\",\n\t\t\t\"game.auto_save_interval_seconds\": \"{{env.AUTOSAVE_INTERVAL}}\",\n\t\t\t\"game.updates_per_second\": \"{{env.UPDATES_PER_SECOND}}\",\n\t\t\t\"game.physics_steps_per_update\": \"{{env.PHYSICS_UPDATES_PER_UPDATE}}\"\n\t\t}\n\t}\n}",
"startup": "{\n\"done\": \"Server started\"\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\n\ncd \/mnt\/server\n\n## add git ending if it's not on the address\nif [[ ${GIT_ADDRESS} != *.git ]]; then\n GIT_ADDRESS=${GIT_ADDRESS}.git\nfi\n\n## pull git bot repo with update functionality\nif [ \"$(ls -A \/mnt\/server\/archean-server)\" ]; then\n echo -e \"\/mnt\/server\/archean-server directory is not empty.\"\n cd archean-server\/\n if [ -d .git ]; then\n echo -e \".git directory exists\"\n if [ -f .git\/config ]; then\n echo -e \"loading info from git config\"\n ORIGIN=$(git config --get remote.origin.url)\n else\n echo -e \"files found with no git config\"\n echo -e \"closing out without touching things to not break anything\"\n exit 10\n fi\n fi\n\n if [ \"${ORIGIN}\" == \"${GIT_ADDRESS}\" ]; then\n echo \"pulling latest from github\"\n git pull\n fi\nelse\n echo -e \"\/mnt\/server\/archean-server is empty.\\ncloning files into repo\"\n if [ -z ${BRANCH} ]; then\n echo -e \"cloning default branch\"\n git clone --single-branch ${GIT_ADDRESS} archean-server\/\n else\n echo -e \"cloning ${BRANCH}'\"\n git clone --single-branch --branch ${BRANCH} ${GIT_ADDRESS} archean-server\/\n fi\nfi\n\ncurl -o \"archean-data\/server\/server.ini\" --create-dirs https:\/\/raw.githubusercontent.com\/pelican-eggs\/games-standalone\/refs\/heads\/main\/archean\/server.ini\n\necho ******************************************\necho Installation Completed\necho ******************************************",
"container": "ghcr.io\/pelican-eggs\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Server Name",
"description": "The servers name that is, among others, displayed on the public server page.",
"env_variable": "SERVER_NAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "string|required",
"field_type": "text"
},
{
"name": "Game Mode",
"description": "Changes the servers game mode between adventure and creative.\n0 = creative\n1 = adventure",
"env_variable": "GAME_MODE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "string|in:0,1",
"field_type": "text"
},
{
"name": "Online Mode",
"description": "Whether the server is publicly discoverable or not.",
"env_variable": "ONLINE_MODE",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "Max Players",
"description": "The maximum amount of players that can join the server at one time.",
"env_variable": "MAX_PLAYERS",
"default_value": "4",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "Password",
"description": "The Password players need to enter to join the server",
"env_variable": "PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|nullable",
"field_type": "text"
},
{
"name": "Spawn Planet",
"description": "The Planet players will initially spawn on.",
"env_variable": "SPAWN_PLANET",
"default_value": "earth",
"user_viewable": true,
"user_editable": true,
"rules": "required|in:earth,moon",
"field_type": "text"
},
{
"name": "Autosave Interval",
"description": "Time between automatic server saves",
"env_variable": "AUTOSAVE_INTERVAL",
"default_value": "30",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "[ADVANCED] Updates per Second",
"description": "This setting should only be changed by advanced users.\nChanges the amount of times the server updates per second.",
"env_variable": "UPDATES_PER_SECOND",
"default_value": "25",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "[ADVANCED] Physics steps per update",
"description": "This setting should only be changed by advanced users.\nChanges the amount of times the physics get calculated per game update.",
"env_variable": "PHYSICS_UPDATES_PER_UPDATE",
"default_value": "8",
"user_viewable": true,
"user_editable": true,
"rules": "required|integer",
"field_type": "text"
},
{
"name": "Admins",
"description": "A line-seperated list of steamids from users that should get admin privileges.\nVisit https:\/\/steamid.io to get a steamid.",
"env_variable": "ADMINS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "string|nullable",
"field_type": "text"
},
{
"name": "World name",
"description": "The name of the world directory to use.",
"env_variable": "WORLD_NAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "string|nullable",
"field_type": "text"
},
{
"name": "Git Address",
"description": "",
"env_variable": "GIT_ADDRESS",
"default_value": "https:\/\/github.com\/batcholi\/Archean_game_linux.git",
"user_viewable": true,
"user_editable": false,
"rules": "string|required",
"field_type": "text"
},
{
"name": "Branch",
"description": "",
"env_variable": "BRANCH",
"default_value": "alpha",
"user_viewable": true,
"user_editable": false,
"rules": "string|required",
"field_type": "text"
}
]
}