59 lines
No EOL
3.6 KiB
JSON
59 lines
No EOL
3.6 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
"meta": {
|
|
"version": "PLCN_v3",
|
|
"update_url": "https://raw.githubusercontent.com/GamerDuck123/AlwaysAuth/refs/heads/master/egg-always-auth.json"
|
|
},
|
|
"exported_at": "2025-12-24T22:04:11+00:00",
|
|
"name": "Always Auth",
|
|
"author": "contact@quacks.media",
|
|
"uuid": "3885c37c-f1da-4979-860d-4c200a8ca564",
|
|
"description": "A simple proxy that sits between your server and Mojang's auth services that ensures even when they're offline, you stay online!",
|
|
"tags": [
|
|
"minecraft",
|
|
"proxy"
|
|
],
|
|
"features": [],
|
|
"docker_images": {
|
|
"Java 21": "ghcr.io/pelican-eggs/yolks:java_21"
|
|
},
|
|
"file_denylist": [],
|
|
"startup_commands": {
|
|
"Default": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{JARFILE}}"
|
|
},
|
|
"config": {
|
|
"files": "{\n \"data\\/config.properties\": {\n \"parser\": \"properties\",\n \"find\": {\n \"server-ip\": \"0.0.0.0\",\n \"server-port\": \"{{server.allocations.default.port}}\"\n }\n }\n}",
|
|
"startup": "{\n \"done\": \")! For help, type \"\n}",
|
|
"logs": "[]",
|
|
"stop": "stop"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"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",
|
|
"container": "ghcr.io/pelican-eggs/installers:debian",
|
|
"entrypoint": "/bin/bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "JARFILE",
|
|
"description": "The name of the jar to use.",
|
|
"env_variable": "JARFILE",
|
|
"default_value": "AlwaysAuth.jar",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": [],
|
|
"sort": 1
|
|
},
|
|
{
|
|
"name": "VERSION",
|
|
"description": "The version of AlwaysAuth to install. Use \"latest\" to install the latest version.",
|
|
"env_variable": "VERSION",
|
|
"default_value": "latest",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": [],
|
|
"sort": 2
|
|
}
|
|
]
|
|
} |