-
stable v2.0-1 -
Features:
Custom Startup Flags:
Adds a new environment variable called STARTUP_FLAGS that allows for custom flags to be applied to server startup commands.
Memory and Malicious Flag Filters: Option to enable filters that prevent the use of unsafe flags like -Xmx, -Xms, and Java-related commands.
Automatic Setup:
The addon installs and configures the STARTUP_FLAGS variable for the Pterodactyl eggs.
Egg-Specific Updates:
Supports selective updates for specific game eggs, allowing you to skip certain eggs from receiving the custom flags.
Backup:
The script automatically creates a backup of the database before making any changes to ensure you can restore your previous configuration if needed.
Existing Server Updates:
Option to automatically update existing servers to include the STARTUP_FLAGS variable and modify their startup commands.
Installation:
Backup:
A backup of your Pterodactyl database is automatically created before any modifications are made. All backups can be found at /var/backups/pterodactyl.
Permissions:
Run the following command to make the script executable:
chmod +x custom-flags.sh
Run the script to set up the custom startup flags:
./custom-flags.sh
The script will prompt you for your database credentials and guide you through the setup process.
Uninstallation:
To uninstall the addon and remove all custom flags added, run:
chmod +x uninstall-custom-flags.sh ./uninstall-custom-flags.sh
Notes:
If you add new eggs to your panel in the future, simply rerun the installation script to apply the changes automatically.
Ensure that any existing eggs are updated correctly with the new flags before deploying new configurations.