|
1
|
|
{
|
|
2
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
3
|
|
"meta": {
|
|
展开 46 行未改动
|
|
4
|
|
"version": "PTDL_v2",
|
|
5
|
|
"update_url": "https://eggs.pterodactyl.top/eggs/189/download/egg-always-auth.json"
|
|
6
|
|
},
|
|
7
|
|
"exported_at": "2025-12-24T22:04:11+00:00",
|
|
8
|
|
"name": "Always Auth",
|
|
9
|
|
"author": "contact@quacks.media",
|
|
10
|
|
"description": "A simple proxy that sits between your server and Mojang's auth services that ensures even when they're offline, you stay online!",
|
|
11
|
|
"features": null,
|
|
12
|
|
"docker_images": {
|
|
13
|
|
"Java 21": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:java_21"
|
|
14
|
|
},
|
|
15
|
|
"file_denylist": [],
|
|
16
|
|
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{JARFILE}}",
|
|
17
|
|
"config": {
|
|
18
|
|
"files": "{\n \"data\\/config.properties\": {\n \"parser\": \"properties\",\n \"find\": {\n \"server-ip\": \"0.0.0.0\",\n \"server-port\": \"{{server.build.default.port}}\"\n }\n }\n}",
|
|
19
|
|
"startup": "{\n \"done\": \")! For help, type \"\n}",
|
|
20
|
|
"logs": "[]",
|
|
21
|
|
"stop": "stop"
|
|
22
|
|
},
|
|
23
|
|
"scripts": {
|
|
24
|
|
"installation": {
|
|
25
|
|
"script": "#!/bin/bash\n\necho \"======================================\"\necho \" AlwaysAuth Installer\"\necho \"======================================\"\n\nmkdir -p /mnt/server\ncd /mnt/server\n\nJAR_NAME=\"AlwaysAuth.jar\"\n\ncommand -v curl >/dev/null 2>&1 || {\n echo \"ERROR: curl is required.\"\n exit 1\n}\n\n# --------------------------------------\n# Resolve version\n# --------------------------------------\n\nif [ \"$VERSION\" = \"latest\" ]; then\n echo \"Resolving latest standalone version...\"\n\n STANDALONE_VERSION=\"$(curl -fsSL \"https://raw.githubusercontent.com/GamerDuck123/AlwaysAuth/refs/heads/master/standalone-latest.txt\" | tr -d '[:space:]')\"\n\n if [ -z \"$STANDALONE_VERSION\" ]; then\n echo \"ERROR: standalone-latest.txt is empty.\"\n exit 1\n fi\nelse\n echo \"Using user-specified version: $VERSION\"\n STANDALONE_VERSION=\"$VERSION\"\nfi\n\necho \"Resolved version: $STANDALONE_VERSION\"\n\n# --------------------------------------\n# Download\n# --------------------------------------\n\nDOWNLOAD_URL=\"https://github.com/GamerDuck123/AlwaysAuth/releases/download/v${STANDALONE_VERSION}/AlwaysAuth-standalone-${STANDALONE_VERSION}.jar\"\n\necho \"Download URL: $DOWNLOAD_URL\"\necho \"Downloading AlwaysAuth...\"\n\ncurl -fL \"$DOWNLOAD_URL\" -o \"$JAR_NAME\"\n\nif [ ! -f \"$JAR_NAME\" ]; then\n echo \"ERROR: Download failed.\"\n exit 1\nfi\n\necho \"Install completed successfully!\"\necho \"======================================\"\nexit 0\n",
|
|
26
|
|
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
|
|
27
|
|
"entrypoint": "/bin/bash"
|
|
28
|
|
}
|
|
29
|
|
},
|
|
30
|
|
"variables": [
|
|
31
|
|
{
|
|
32
|
|
"name": "JARFILE",
|
|
33
|
|
"description": "The name of the jar to use.",
|
|
34
|
|
"env_variable": "JARFILE",
|
|
35
|
|
"default_value": "AlwaysAuth.jar",
|
|
36
|
|
"user_viewable": true,
|
|
37
|
|
"user_editable": true,
|
|
38
|
|
"rules": "",
|
|
39
|
|
"field_type": "text"
|
|
40
|
|
},
|
|
41
|
|
{
|
|
42
|
|
"name": "VERSION",
|
|
43
|
|
"description": "The version of AlwaysAuth to install. Use \"latest\" to install the latest version.",
|
|
44
|
|
"env_variable": "VERSION",
|
|
45
|
|
"default_value": "latest",
|
|
46
|
|
"user_viewable": true,
|
|
47
|
|
"user_editable": true,
|
|
48
|
|
"rules": "",
|
|
49
|
|
"field_type": "text"
|
|
50
|
|
}
|
|
51
|
|
]
|
|
52
|
|
}
|