Pterodactyl Deleter

Product information

Release v1.3.1 (Updated )

Reviews

0 von 5 Sternen

no reviews just yet

With this tool you can mass delete servers and users on pterodactyl with ease.

Release history

Team

anondev1's Team

anondev1's profile photo

Description

Pterodactyl Deleter

===================

With this tool you can mass delete servers and users on pterodactyl with ease.

How do I use this?

  • Make sure you have Nodejs installed (tested on v16.13.2)

  • Edit config.js file

  • Start it by running:

npm install - Install dependencies

npm start or node index.js - Start the project

Config options

Here is more information about the settings in config.js file. Make sure to edit config options in config.js file before starting the script!

Name Instructions Type
PTERODACTYL_URL Link to your Pterodactyl panel with protocol and without / at the end String
PTERODACTYL_TOKEN Pterodactyl API key created in admin area with read & write perms for Users and Servers String
SKIP_ADMIN_USERS Skip deleting of admin users in Pterodactyl Boolean (true or false)
SKIP_SERVERS_IDS UUIDs of servers that you don't want to delete, you can leave it blank - [] Array
SKIP_USERS IDs (get the user IDs from admin area users) of users which you don't want to delete and you don't want to delete servers owned by them too, you can leave it blank - [] Array
FETCH_LIMIT How much users/servers do you want to fetch and delete at once (it will be used when making request to Pterodactyl api) Number
DELETE_NODE_ID ID of node where would you like to force delete all servers (when using Force delete servers on specific node option) Number

Correct permission for the Pterodactyl API key (PTERODACTYL_TOKEN in config.js):

Modes

Here you can find more information about all script modes/options. On start the script will prompt you to choose option that should be started.

Delete servers:

This option will mass delete all servers on your pterodactyl panel. You may use options SKIP_USERS (to skip server deletion for servers owned by specific users) and SKIP_SERVERS_IDS (to skip server deletion for specific servers).

Delete users:

This option will mass delete all users on your pterodactyl panel. You may use options SKIP_USERS (to skip deletion of specific users) andSKIP_ADMIN_USERS (to skip deletion of admin users).

Force delete servers:

This option will mass force-delete all servers on your pterodactyl panel. You may use options SKIP_USERS (to skip server deletion for servers owned by specific users) and SKIP_SERVERS_IDS (to skip server deletion for specific servers). This option is useful when Delete servers is throwing 405 error - when you have servers on dead nodes and they cannot be deleted normally.

Force delete servers on specific node:

This option will mass force-delete all servers on your pterodactyl panel that are deployed on specific node (you need to provide option DELETE_NODE_ID). You may use options SKIP_USERS (to skip server deletion for servers owned by specific users) and SKIP_SERVERS_IDS (to skip server deletion for specific servers). This option is useful when you have some dead node on panel and want to delete all servers just on that node.

Tos

Don't Resell this addon.

Don't give this script to other people.

No refund.

Don't copy this addon.

Information

Developed by AnonDev

If you need help you can join Pinglik Support Server and ask for help in #💛|coding-help-support channel and we will help you 😉

To-do:

I am planning also to add option to delete all servers owned by specific user. Stay stunned for new updates!