Skip to content

numbereddev/server-rebooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub GitHub issues GitHub pull requests

server-rebooter

What is server-rebooter?

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!

How to use?

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!

About

It's a server-rebooter for Pterodactyl panel (v1 support) to reboot your crashed or offline server every 5 seconds

Topics

Resources

Stars

Watchers

Forks

Contributors