You are browsing as a guest. Sign up (or log in) to start making projects!

Restart Pterodactyl GitHub Action

  • 2 Devlogs
  • 2 Total hours

A GitHub action to restart your Pterodactyl Panel server. (NOTE: this is an update, not a new project. I added the option to run a command or add a delay before the restart)

Ship #1 Pending review

To use the app please read the `README`'s "Stardance Demo" section, I explained there how to get it to run.

I made a GitHub action to restart your Pterodactyl Panel server, during Stardance I added the ability to run commands or a delay before the server is restarted (or both).
It wasn't really hard as I just make multiple HTTP requests and I know the Pterodactyl API quite well since I'm also making an android app for it.

I made this action mainly for the Minecraft server of a friend, so the server automatically restarts when we add a new mod in the packwiz config on git but this can actually be used by anyone with a server, no matter what they're running (as long as their user has the permission to restart the server)

  • 2 devlogs
  • 2h
Try project → See source code →
Open comments for this post

56m 28s logged

  • Added the option to run a command before the server restarts
  • Added the option to add a delay before the server restarts (useful with the command as the API doesn’t say when the cmd has finished running)
  • Added the README
0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…