-
Notifications
You must be signed in to change notification settings - Fork 95
Zenith Proxy #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Veslydev
wants to merge
4
commits into
pelican-eggs:main
Choose a base branch
from
Veslydev:zenith
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Zenith Proxy #65
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Zenith Proxy server | ||
| Minecraft proxy and bot designed for 2b2t.org but also works on any server. | ||
| ZenithProxy is a MC bot with an integrated MC server that players can log into and control. | ||
| Have your accounts always online in-game and securely shared with your friends. | ||
|
|
||
| ## Server Ports | ||
| The minecraft server requires a single port for access (default 25565) for the server. | ||
|
|
||
|
|
||
| | Port | default | | ||
| |-------|---------| | ||
| | Game | 25565 | |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| { | ||
| "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
| "meta": { | ||
| "version": "PTDL_v2", | ||
| "update_url": null | ||
| }, | ||
| "exported_at": "2025-04-02T18:21:35+03:00", | ||
| "name": "Zenith", | ||
| "author": "vesly@vesly.dev", | ||
| "description": "Minecraft proxy and bot designed for 2b2t but also works on any server.\r\nZenithProxy is a MC bot with an integrated MC server that players can log into and control.\r\nHave your accounts always online in-game and securely shared with your friends.", | ||
| "features": null, | ||
| "docker_images": { | ||
| "Java 21": "ghcr.io\/parkervcp\/yolks:java_21" | ||
| }, | ||
| "file_denylist": [], | ||
| "startup": ".\/launch", | ||
| "config": { | ||
| "files": "{}", | ||
| "startup": "{\r\n \"done\": \"[Server] [INFO] Server started.\"\r\n}", | ||
| "logs": "{}", | ||
| "stop": "^C" | ||
| }, | ||
| "scripts": { | ||
| "installation": { | ||
| "script": "# git user set\r\nif [ -n \"${GITHUB_USER}\" ] && [ -n \"${GITHUB_OAUTH_TOKEN}\" ]; then\r\n CURL_CMD=\"curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN}\"\r\nelse\r\n CURL_CMD=\"curl\"\r\nfi\r\n\r\n#arch selecg\r\nARCH_RAW=$(uname -m)\r\nif [ \"$ARCH_RAW\" = \"x86_64\" ]; then\r\n FILE_ARCH=\"amd64\"\r\nelse\r\n FILE_ARCH=\"aarch64\"\r\nfi\r\n\r\n# Set GitHub release variables (defaults can be overridden via the variables tab)\r\n: \"${GITHUB_PACKAGE:=rfresh2\/ZenithProxy}\"\r\n: \"${VERSION:=latest}\"\r\nMATCH=\"ZenithProxy-launcher-linux-${FILE_ARCH}.zip\"\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" = \"latest\" ]; then\r\n RELEASE_JSON=$($CURL_CMD --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nelse\r\n RELEASE_JSON=$($CURL_CMD --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/tags\/${VERSION}\")\r\nfi\r\n\r\nDOWNLOAD_URL=$(echo \"$RELEASE_JSON\" | jq -r '.assets[] | select(.browser_download_url | test(\"'\"${MATCH}\"'\")) | .browser_download_url')\r\n\r\nif [ -z \"$DOWNLOAD_URL\" ]; then\r\n echo \"Error: Unable to fetch the release URL for ${MATCH}\"\r\n exit 1\r\nfi\r\n\r\ncd \/mnt\/server\r\n# Download the release zip file\r\nwget \"$DOWNLOAD_URL\" -O \"ZenithProxy-launcher-${FILE_ARCH}.zip\"\r\n\r\n# Unzip the downloaded file\r\nunzip \"ZenithProxy-launcher-${FILE_ARCH}.zip\"\r\n\r\n# Remove the zip file after extraction\r\nrm \"ZenithProxy-launcher-${FILE_ARCH}.zip\"\r\n\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"\r\nexit 0", | ||
| "container": "ghcr.io\/parkervcp\/installers:alpine", | ||
| "entrypoint": "ash" | ||
| } | ||
| }, | ||
| "variables": [ | ||
| { | ||
| "name": "Github Package", | ||
| "description": "Github Package for Zenith Proxy", | ||
| "env_variable": "GITHUB_PACKAGE", | ||
| "default_value": "rfresh2\/ZenithProxy", | ||
| "user_viewable": true, | ||
| "user_editable": false, | ||
| "rules": "required|string", | ||
| "field_type": "text" | ||
| }, | ||
| { | ||
| "name": "Version", | ||
| "description": "Version of the launcher (Do not use prerelease it updates via launcher)", | ||
| "env_variable": "VERSION", | ||
| "default_value": "latest", | ||
| "user_viewable": true, | ||
| "user_editable": false, | ||
| "rules": "required|string", | ||
| "field_type": "text" | ||
| }, | ||
| { | ||
| "name": "Match", | ||
| "description": "The filename for installing launcher", | ||
| "env_variable": "MATCH", | ||
| "default_value": "ZenithProxy-launcher-linux-${FILE_ARCH}.zip", | ||
| "user_viewable": true, | ||
| "user_editable": false, | ||
| "rules": "required|string", | ||
| "field_type": "text" | ||
| }, | ||
| { | ||
| "name": "Github User", | ||
| "description": "Github username for ratelimit reasons", | ||
| "env_variable": "GITHUB_USER", | ||
| "default_value": "", | ||
| "user_viewable": true, | ||
| "user_editable": true, | ||
| "rules": "nullable|string", | ||
| "field_type": "text" | ||
| }, | ||
| { | ||
| "name": "Github Token", | ||
| "description": "Github Token for ratelimit reasons", | ||
| "env_variable": "GITHUB_OAUTH_TOKEN", | ||
| "default_value": "", | ||
| "user_viewable": true, | ||
| "user_editable": true, | ||
| "rules": "nullable|string", | ||
| "field_type": "text" | ||
| } | ||
| ] | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| { | ||
| "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", | ||
| "meta": { | ||
| "version": "PLCN_v1", | ||
| "update_url": null | ||
| }, | ||
| "exported_at": "2025-04-02T15:23:49+00:00", | ||
| "name": "Zenith", | ||
| "author": "vesly@vesly.dev", | ||
| "uuid": "242a9c93-fdb5-4373-b50f-bb806d320d1a", | ||
| "description": "Minecraft proxy and bot designed for 2b2t but also works on any server.\r\nZenithProxy is a MC bot with an integrated MC server that players can log into and control.\r\nHave your accounts always online in-game and securely shared with your friends.", | ||
| "tags": [], | ||
| "features": null, | ||
| "docker_images": { | ||
| "Java 21": "ghcr.io\/parkervcp\/yolks:java_21" | ||
| }, | ||
| "file_denylist": [], | ||
| "startup": ".\/launch", | ||
| "config": { | ||
| "files": "{}", | ||
| "startup": "{\r\n \"done\": \"[Server] [INFO] Server started.\"\r\n}", | ||
| "logs": "{}", | ||
| "stop": "^C" | ||
| }, | ||
| "scripts": { | ||
| "installation": { | ||
| "script": "# git user set\r\nif [ -n \"${GITHUB_USER}\" ] && [ -n \"${GITHUB_OAUTH_TOKEN}\" ]; then\r\n CURL_CMD=\"curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN}\"\r\nelse\r\n CURL_CMD=\"curl\"\r\nfi\r\n\r\n#arch selecg\r\nARCH_RAW=$(uname -m)\r\nif [ \"$ARCH_RAW\" = \"x86_64\" ]; then\r\n FILE_ARCH=\"amd64\"\r\nelse\r\n FILE_ARCH=\"aarch64\"\r\nfi\r\n\r\n# Set GitHub release variables (defaults can be overridden via the variables tab)\r\n: \"${GITHUB_PACKAGE:=rfresh2\/ZenithProxy}\"\r\n: \"${VERSION:=latest}\"\r\nMATCH=\"ZenithProxy-launcher-linux-${FILE_ARCH}.zip\"\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" = \"latest\" ]; then\r\n RELEASE_JSON=$($CURL_CMD --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nelse\r\n RELEASE_JSON=$($CURL_CMD --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/tags\/${VERSION}\")\r\nfi\r\n\r\nDOWNLOAD_URL=$(echo \"$RELEASE_JSON\" | jq -r '.assets[] | select(.browser_download_url | test(\"'\"${MATCH}\"'\")) | .browser_download_url')\r\n\r\nif [ -z \"$DOWNLOAD_URL\" ]; then\r\n echo \"Error: Unable to fetch the release URL for ${MATCH}\"\r\n exit 1\r\nfi\r\n\r\ncd \/mnt\/server\r\n# Download the release zip file\r\nwget \"$DOWNLOAD_URL\" -O \"ZenithProxy-launcher-${FILE_ARCH}.zip\"\r\n\r\n# Unzip the downloaded file\r\nunzip \"ZenithProxy-launcher-${FILE_ARCH}.zip\"\r\n\r\n# Remove the zip file after extraction\r\nrm \"ZenithProxy-launcher-${FILE_ARCH}.zip\"\r\n\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"\r\nexit 0", | ||
| "container": "ghcr.io\/parkervcp\/installers:alpine", | ||
| "entrypoint": "ash" | ||
| } | ||
| }, | ||
| "variables": [ | ||
| { | ||
| "name": "Github Package", | ||
| "description": "Github Package for Zenith Proxy", | ||
| "env_variable": "GITHUB_PACKAGE", | ||
| "default_value": "rfresh2\/ZenithProxy", | ||
| "user_viewable": true, | ||
| "user_editable": false, | ||
| "rules": [ | ||
| "required", | ||
| "string" | ||
| ], | ||
| "sort": null | ||
| }, | ||
| { | ||
| "name": "Version", | ||
| "description": "Version of the launcher (Do not use prerelease it updates via launcher)", | ||
| "env_variable": "VERSION", | ||
| "default_value": "latest", | ||
| "user_viewable": true, | ||
| "user_editable": false, | ||
| "rules": [ | ||
| "required", | ||
| "string" | ||
| ], | ||
| "sort": null | ||
| }, | ||
| { | ||
| "name": "Match", | ||
| "description": "The filename for installing launcher", | ||
| "env_variable": "MATCH", | ||
| "default_value": "ZenithProxy-launcher-linux-${FILE_ARCH}.zip", | ||
| "user_viewable": true, | ||
| "user_editable": false, | ||
| "rules": [ | ||
| "required", | ||
| "string" | ||
| ], | ||
| "sort": null | ||
| }, | ||
| { | ||
| "name": "Github User", | ||
| "description": "Github username for ratelimit reasons", | ||
| "env_variable": "GITHUB_USER", | ||
| "default_value": "", | ||
| "user_viewable": true, | ||
| "user_editable": true, | ||
| "rules": [ | ||
| "nullable", | ||
| "string" | ||
| ], | ||
| "sort": null | ||
| }, | ||
| { | ||
| "name": "Github Token", | ||
| "description": "Github Token for ratelimit reasons", | ||
| "env_variable": "GITHUB_OAUTH_TOKEN", | ||
| "default_value": "", | ||
| "user_viewable": true, | ||
| "user_editable": true, | ||
| "rules": [ | ||
| "nullable", | ||
| "string" | ||
| ], | ||
| "sort": null | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.