▄▄ ▄▄ ▄▄
███▀▀██▀▀███ ██ ▀███ ██ ▀███
█▀ ██ ▀█ ██ ██ ██
██ ▀███ ▄▄█▀██▀███▄███ ▄██▀██▄ ▄█▀▀███ ▄█▀██▄ ▄██▀████████▀██▀ ▀██▀ ██
██ ██ ▄█▀ ██ ██▀ ▀▀ ██▀ ▀██▄██ ██ ██ ██ ██▀ ██ ██ ██ ▄█ ██
██ ██ ██▀▀▀▀▀▀ ██ ██ █████ ██ ▄█████ ██ ██ ██ ▄█ ██
██ ██ ██▄ ▄ ██ ██▄ ▄██▀██ ██ ██ ██ ██▄ ▄ ██ ███ ██
▄████▄ ▄████▄ ▀█████▀████▄ ▀█████▀ ▀████▀███▄████▀██▄█████▀ ▀████ ▄█ ▄████▄
▄█
██▀
Heavily
ChatGPT-4assisted development
This project consists of a Node.js application for managing server file updates based on a hierarchical external id system and a Pterodactyl addon for interfacing with the core application. The application can be run headless as a CLI tool or integrated with the Pterodactyl panel using the provided addon.
I was lazy and needed a tool to automate the process of updating my servers. I'm not sure how many times I'll have to use this tool to justify the time I spent making it, but I'm sure I'll find a use for it eventually...
THEN I also made the acquaintance of @Tolfx by making him a Cheeto Beard (C:)
He's an extremely intelligent dude, and his@father-tf/UpdateManagerproject is the inspiration for this project, if there is one.
Go check out his work, or hisTF2 Dodgeballservers if you're in the EU!
nodejs14.x or laternpm6.x or laterpterodactyl panel1.xPHP7.4 or laterComposer(forPHP)
This application is built in two parts:
- A
Node.jsapplication that fetches the servers from thePterodactylpanel and updates them based on the hierarchy system.This can be run headless as a CLI tool or...
- A
Pterodactyladdon that provides an interface for the core application.This addon can be installed on the Pterodactyl panel and used to manage the servers.
Core Application
- Clone the repository.
$ git clone https://github.com/zodtf/tierodactyl.git
$ cd tierodactyl- Install the
Node.jsdependencies.
$ npm install- Create a
.envfile in the root directory of the project and configure the required environment variables.
Note: The
HIERARCHY_MASTER_DIRvalue should be the path to the directory containing the hierarchy files. It does NOT however need to be a local directory. It can be a remote directory, so long as that directory asautoindexenabled.
PTERODACTYL_API_KEY=your_pterodactyl_api_key
PTERODACTYL_PANEL_URL=https://your.pterodactyl.panel
HIERARCHY_MASTER_DIR=/path/to/your/hierarchy/master/dirPterodactyl Panel Addon
- Change to the
dactyldirectory.
$ cd tierodactyl/dactyl- Install the PHP dependencies.
$ composer install- Register the addon with the
Pterodactyl panelby adding the addon's service provider to theprovidersarray inconfig/app.php.
TODOWTF is this PHP shit?
@zudsniper
YourAddonNamespace\YourAddonServiceProvider::class,- Publish the addon's assets.
$ php artisan vendor:publish --tag=your-addon-assets- Run the core application to fetch the servers and update them based on the hierarchy system.
$ npm start-
Log in to your Pterodactyl panel and navigate to the addon's route (e.g.,
/your-addon). -
Set the
HIERARCHY_MASTER_DIRvalue in the input field and click the "Update Servers" button to update the server files according to the hierarchy system. -
Use the addon's interface to perform other operations, such as viewing live terminal output, handling wildcards, and more.
This section is HEAVILY under construction.
This project includes unit and integration tests using Jest. To run the tests, execute the following command:
$ npm testThis project is licensed under an ISC license. See the LICENSE file for more information.
Thanks for making it to the end of this README.
zod.tf
fullstack development, server administration, web design, branding creation, musical composition & performance, video editing, and more probably
