Created
January 18, 2025 16:49
-
-
Save tempusthales/8ad2c81e4c5cac51c638016bbbf99dac to your computer and use it in GitHub Desktop.
Aloft Egg for Jexactyl (Pterodactyl compatible)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | |
"meta": { | |
"version": "PTDL_v2", | |
"update_url": null | |
}, | |
"exported_at": "2025-01-16T12:29:24+01:00", | |
"name": "Aloft Wine", | |
"author": "[email protected]", | |
"description": "Soar the skies in Aloft, the co-op sandbox survival game set in a world of floating islands. Build any island into a skyship, your home in the clouds. Find lost knowledge, cure the fungal corruption, and brave the hurricane to restore the ecosystem.", | |
"features": [ | |
"steam_disk_space" | |
], | |
"docker_images": { | |
"ghcr.io\/goover\/games:aloft": "ghcr.io\/goover\/games:aloft" | |
}, | |
"file_denylist": [], | |
"startup": "if [ -f \"\/home\/container\/ServerRoomCode.txt\" ]; then wine .\/Aloft.exe -batchmode -nographics -server -logFile server.log load#{{MAP_NAME}}# servername#{{SRV_NAME}}# log#{{LOG_LEVEL}}# isvisible#{{SERVER_VISIBLE}}# privateislands#false# playercount#{{MAX_PLAYERS}}# serverport#{{SERVER_PORT}}# {{ADMINS}} & AL_PID=$! ; tail -c0 -F .\/server.log --pid=$AL_PID; else wine .\/Aloft.exe -batchmode -nographics -server -logFile serverinstall.log create#{{MAP_NAME}}#{{ISLANDS}}#{{CREATIVE}}# log#{{LOG_LEVEL}}# & AL_PID=$! ; tail -c0 -F .\/serverinstall.log --pid=$AL_PID; fi", | |
"config": { | |
"files": "{}", | |
"startup": "{\r\n \"done\": \"Server Ready\"\r\n}", | |
"logs": "{}", | |
"stop": "^C" | |
}, | |
"scripts": { | |
"installation": { | |
"script": "#!\/bin\/bash\r\n# THIS EGG IS LICENCED UNDER AGPLv3\r\n#\r\nclear\r\nRED='\\033[0;31m'\r\nGREEN='\\033[0;32m'\r\nYELLOW='\\033[1;33m'\r\nBLUE='\\033[0;34m'\r\nNC='\\033[0m'\r\n\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\necho -e \"${YELLOW}Aloft Installscript${NC}\"\r\necho -e \"${YELLOW}Egg by gOOvER (https:\/\/dicord.goover.dev) | Licence: AGPLv3${NC}\"\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\n\r\n# Setup Envs\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\necho -e \"${YELLOW}download and install DepotDownloader. please wait...${NC}\"\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\n## download DepotDownloader\r\ncd $HOME\r\ncurl -sLOJ $(curl -s https:\/\/api.github.com\/repos\/SteamRE\/DepotDownloader\/releases\/latest | grep browser_download_url | cut -d\\\" -f4 | egrep linux-x64.zip)\r\nunzip -o DepotDownloader-linux-x64.zip -d \/mnt\/server\r\nchmod +x \/mnt\/server\/DepotDownloader\r\nrm -f \/mnt\/server\/DepotDownloader-linux-x64.zip\r\necho -e \"${GREEN}..done..${NC}\"\r\n\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\necho -e \"${YELLOW}Depotdonloader Version: ${. \/$HOME\/DepotDownloader --version}${NC}\"\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\n\r\n## install game using DepotDownloader\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\necho -e \"${YELLOW}install game using DepotDownloader. please wait...${NC}\"\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\n\r\n.\/DepotDownloader -dir \/mnt\/server $( [[ -z ${STEAM_USER} ]] || printf %s \"-username ${STEAM_USER} -password ${STEAM_PASS} -remember-password\" ) $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '-os windows' ) -app ${STEAM_APPID} $( [[ -z ${STEAM_BETAID} ]] || printf %s \"-beta ${STEAM_BETAID}\" ) $( [[ -z ${STEAM_BETAPASS} ]] || printf %s \"-betapassword ${STEAM_BETAPASS}\" ) -validate\r\necho -e \"${GREEN}..done..${NC}\"\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\n.\/DepotDownloader -dir \/mnt\/server\/.steam\/sdk64 -os windows -app 1007\r\n\r\nchmod +x $HOME\/*\r\n\r\n## add below your custom commands if needed\r\n\r\ntouch $HOME\/server.log\r\ntouch $HOME\/serverinstall.log\r\n\r\n#FILE=\"$HOME\/\"\r\n#if [ -f \"$FILE\" ]; then\r\n# echo -e \"${BLUE}-------------------------------------------------${NC}\"\r\n# echo -e \"${GREEN} $FILE found.${NC}\"\r\n# echo -e \"${BLUE}-------------------------------------------------${NC}\"\r\n#else \r\n# echo -e \"${BLUE}-------------------------------------------------${NC}\"\r\n# echo -e \"${RED} $FILE not found. Downloading default...${NC}\"\r\n# echo -e \"${BLUE}-------------------------------------------------${NC}\"\r\n# cd $HOME\r\n# curl -sSL -o \"\" \r\n# echo -e \"${GREEN}..done..${NC}\"\r\n#fi\r\n\r\n#echo -e \"${GREEN}..done..${NC}\"\r\n\r\n## install end\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"\r\necho -e \"${GREEN}Installation completed...${NC}\"\r\necho -e \"${BLUE}-------------------------------------------------${NC}\"", | |
"container": "ghcr.io\/goover\/installers:debian", | |
"entrypoint": "bash" | |
} | |
}, | |
"variables": [ | |
{ | |
"name": "[SERVER] Server Name", | |
"description": "Sets the name of the server as shown in-game. No spaces allowed", | |
"env_variable": "SRV_NAME", | |
"default_value": "PelicanEggBygOOvER", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string|max:60", | |
"field_type": "text" | |
}, | |
{ | |
"name": "[STEAM] STEAM_APPID", | |
"description": "", | |
"env_variable": "STEAM_APPID", | |
"default_value": "1660080", | |
"user_viewable": false, | |
"user_editable": false, | |
"rules": "required|numeric|in:1660080", | |
"field_type": "text" | |
}, | |
{ | |
"name": "[STEAM] WINDOWS_INSTALL", | |
"description": "", | |
"env_variable": "WINDOWS_INSTALL", | |
"default_value": "1", | |
"user_viewable": false, | |
"user_editable": false, | |
"rules": "required|string|max:20", | |
"field_type": "text" | |
}, | |
{ | |
"name": "[WINE] WINEDEBUG", | |
"description": "", | |
"env_variable": "WINEDEBUG", | |
"default_value": "-all", | |
"user_viewable": false, | |
"user_editable": false, | |
"rules": "required|string|max:20", | |
"field_type": "text" | |
}, | |
{ | |
"name": "[WINE] WINETRICKS_RUN", | |
"description": "", | |
"env_variable": "WINETRICKS_RUN", | |
"default_value": "vcrun2022 mono wmp11", | |
"user_viewable": false, | |
"user_editable": false, | |
"rules": "nullable|string", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Steam Username", | |
"description": "", | |
"env_variable": "STEAM_USER", | |
"default_value": "", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "nullable|string", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Steam Password", | |
"description": "", | |
"env_variable": "STEAM_PASS", | |
"default_value": "", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "nullable|string", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Map Name", | |
"description": "Sets the name of the world to create (if it does not exist) and\/or load. No spaces allowed", | |
"env_variable": "MAP_NAME", | |
"default_value": "defaultmap", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Number of Islands for a new World", | |
"description": "Sets the number of islands to create for a new world", | |
"env_variable": "ISLANDS", | |
"default_value": "500", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|numeric", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Creative Mode", | |
"description": "Creative Mode or Survival Mode", | |
"env_variable": "CREATIVE", | |
"default_value": "0", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|boolean", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Server Visible in Ingame-Browser?", | |
"description": "If set, the server will be visible in the in-game lobby browser. Otherwise, the server will only be accessible via its game code", | |
"env_variable": "SRV_VISIBLE", | |
"default_value": "1", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|boolean", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Max Players", | |
"description": "Sets the maximum number of players allowed on the server at one time. MAX is atm 8", | |
"env_variable": "MAX_PLAYERS", | |
"default_value": "8", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|numeric|between:1,8", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Log Level", | |
"description": "Sets the logging level for the server", | |
"env_variable": "LOG_LEVEL", | |
"default_value": "INFO", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string|in:ERROR,WARNING,INFO,DEBUG", | |
"field_type": "text" | |
}, | |
{ | |
"name": "Admins", | |
"description": "", | |
"env_variable": "ADMINS", | |
"default_value": "admin#-1# admin#-2#", | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string", | |
"field_type": "text" | |
}, | |
{ | |
"name": "XVFB", | |
"description": "", | |
"env_variable": "XVFB", | |
"default_value": "1", | |
"user_viewable": false, | |
"user_editable": false, | |
"rules": "required|boolean", | |
"field_type": "text" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment