It's a peace of code wich reboots your Pterodactyl servers every 5 seconds if they are offline or crashed and only 2 steps to set it up!
STEP 1: Login to your panel with host and api credentials:
node.login('https://YOURHOST.example', 'YOUR API CREDENTIALS', (logged_in, msg) => {
console.log('Log in status:', logged_in)
loadServer()
})STEP 2: Add all your server to the dictionary called servers:
var servers =
[
{ name: "NAME OF SERVER", id: "ID OF SERVER" },
]And that was all of the Steps!