|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
3
|
|
"meta": {
|
|
展开 98 行未改动
|
|
4
|
|
"version": "PTDL_v2",
|
|
5
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/78/download/egg-nightingale.json"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2025-11-02T11:29:03+00:00",
|
|
8
|
|
"name": "Nightingale",
|
|
9
|
|
"author": "quinten@pelican.dev",
|
|
10
|
|
"description": "Nightingale is an open world survival crafting game, where you’ll adventure across the mysterious and dangerous Fae Realms. As a daring Realmwalker, you’ll defeat monstrous enemies, survive hostile environments, and build elaborate estates in a visually stunning Gaslamp Fantasy world. ",
|
|
11
|
|
"features": [
|
|
12
|
|
"steam_disk_space"
|
|
13
|
|
],
|
|
14
|
|
"docker_images": {
|
|
15
|
|
"Steamcmd": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/steamcmd:debian"
|
|
16
|
|
},
|
|
17
|
|
"file_denylist": [],
|
|
18
|
|
"startup": "NWX/Binaries/Linux/NWXServer-Linux-Shipping -port={{SERVER_PORT}} -multihome=0.0.0.0 -ini:Game:[/Script/Engine.GameSession]:MaxPlayers={{MAX_PLAYERS}} -ini:ServerSettings:[/Script/NWX.NWXServerSettings]:Password={{CONNECTION_PASSWORD}} -ini:ServerSettings:[/Script/NWX.NWXServerSettings]:AdminPassword={{ADMIN_PASSWORD}} -ini:ServerSettings:[/Script/NWX.NWXServerSettings]:StartingDifficulty={{DIFFICULTY}}",
|
|
19
|
|
"config": {
|
|
20
|
|
"files": "{}",
|
|
21
|
|
"startup": "{\n \"done\": \"LogNWXGameMode: GameModeAwaiter became ready.\"\n}",
|
|
22
|
|
"logs": "{}",
|
|
23
|
|
"stop": "^C"
|
|
24
|
|
},
|
|
25
|
|
"scripts": {
|
|
26
|
|
"installation": {
|
|
27
|
|
"script": "#!/bin/bash\n# steamcmd Base Installation Script\n#\n# Server Files: /mnt/server\n# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'\n\n## just in case someone removed the defaults.\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\n echo -e \"steam user is not set.\\n\"\n echo -e \"Using anonymous user.\\n\"\n STEAM_USER=anonymous\n STEAM_PASS=\"\"\n STEAM_AUTH=\"\"\nelse\n echo -e \"user set to ${STEAM_USER}\"\nfi\n\n## download and install steamcmd\ncd /tmp\nmkdir -p /mnt/server/steamcmd\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\nmkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing\ncd /mnt/server/steamcmd\n\n# SteamCMD fails otherwise for some reason, even running as root.\n# This is changed at the end of the install process anyways.\nchown -R root:root /mnt\nexport HOME=/mnt/server\n\n## install game using steamcmd\n./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\n\n## set up 32 bit libraries\nmkdir -p /mnt/server/.steam/sdk32\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\n\n## set up 64 bit libraries\nmkdir -p /mnt/server/.steam/sdk64\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\n\n## add below your custom commands if needed\n\nif [ ! -e \"/mnt/server/NWX/Config/ServerSettings.ini\" ]; then\n cp /mnt/server/NWX/Config/ExampleServerSettings.ini /mnt/server/NWX/Config/ServerSettings.ini\nfi \n\n## install end\necho \"-----------------------------------------\"\necho \"Installation completed...\"\necho \"-----------------------------------------\"",
|
|
28
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
|
|
29
|
|
"entrypoint": "bash"
|
|
30
|
|
}
|
|
31
|
|
},
|
|
32
|
|
"variables": [
|
|
33
|
|
{
|
|
34
|
|
"name": "Admin Password",
|
|
35
|
|
"description": "If an admin password is set, players with the correct password can authenticate in-game in\norder to kick and ban other players.",
|
|
36
|
|
"env_variable": "ADMIN_PASSWORD",
|
|
37
|
|
"default_value": "",
|
|
38
|
|
"user_viewable": true,
|
|
39
|
|
"user_editable": true,
|
|
40
|
|
"rules": "string|nullable",
|
|
41
|
|
"field_type": "text"
|
|
42
|
|
},
|
|
43
|
|
{
|
|
44
|
|
"name": "Auto Update",
|
|
45
|
|
"description": "Auto update the server on startup",
|
|
46
|
|
"env_variable": "AUTO_UPDATE",
|
|
47
|
|
"default_value": "1",
|
|
48
|
|
"user_viewable": true,
|
|
49
|
|
"user_editable": true,
|
|
50
|
|
"rules": "boolean",
|
|
51
|
|
"field_type": "text"
|
|
52
|
|
},
|
|
53
|
|
{
|
|
54
|
|
"name": "Connection Password",
|
|
55
|
|
"description": "",
|
|
56
|
|
"env_variable": "CONNECTION_PASSWORD",
|
|
57
|
|
"default_value": "",
|
|
58
|
|
"user_viewable": true,
|
|
59
|
|
"user_editable": true,
|
|
60
|
|
"rules": "nullable|string",
|
|
61
|
|
"field_type": "text"
|
|
62
|
|
},
|
|
63
|
|
{
|
|
64
|
|
"name": "Difficulty",
|
|
65
|
|
"description": "Starting map difficulty, choose from [easy, medium, hard, extreme].",
|
|
66
|
|
"env_variable": "DIFFICULTY",
|
|
67
|
|
"default_value": "easy",
|
|
68
|
|
"user_viewable": true,
|
|
69
|
|
"user_editable": true,
|
|
70
|
|
"rules": "required|string|in:easy,medium,hard,extreme",
|
|
71
|
|
"field_type": "text"
|
|
72
|
|
},
|
|
73
|
|
{
|
|
74
|
|
"name": "Max Players",
|
|
75
|
|
"description": "The maximum amount of players that can join.\n\nPlease note that increasing the maximum number of players past 6 is unsupported and may\nresult in unintended behaviour.",
|
|
76
|
|
"env_variable": "MAX_PLAYERS",
|
|
77
|
|
"default_value": "6",
|
|
78
|
|
"user_viewable": true,
|
|
79
|
|
"user_editable": true,
|
|
80
|
|
"rules": "required|numeric|between:1,8",
|
|
81
|
|
"field_type": "text"
|
|
82
|
|
},
|
|
83
|
|
{
|
|
84
|
|
"name": "App ID",
|
|
85
|
|
"description": "",
|
|
86
|
|
"env_variable": "SRCDS_APPID",
|
|
87
|
|
"default_value": "3796810",
|
|
88
|
|
"user_viewable": false,
|
|
89
|
|
"user_editable": false,
|
|
90
|
|
"rules": "required|in:3796810",
|
|
91
|
|
"field_type": "text"
|
|
92
|
|
},
|
|
93
|
|
{
|
|
94
|
|
"name": "Beta ID",
|
|
95
|
|
"description": "beta branch of a steam app. Leave blank to install normal branch",
|
|
96
|
|
"env_variable": "SRCDS_BETAID",
|
|
97
|
|
"default_value": "",
|
|
98
|
|
"user_viewable": false,
|
|
99
|
|
"user_editable": false,
|
|
100
|
|
"rules": "nullable",
|
|
101
|
|
"field_type": "text"
|
|
102
|
|
}
|
|
103
|
|
]
|
|
104
|
|
}
|