Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Control Panel API


chr-ibb

Recommended Posts

Hey everyone!  I've made an API in Python for managing a server without needing to use the control panel in a browser. I made it to help manage the Valheim server that some friends and I use (I plan on making a discord bot that can warn us when the server is down and/or start the server itself when it detects that it is down). It only supports basic actions: start, stop, restart, and info.

https://github.com/chr-ibb/sspanel

I've seen several posts on these forums either asking for a basic API, or seeking alternatives to manually starting the server if it goes down randomly. Maybe some fellow devs here will find it useful. Bear in mind, this is the first code I've ever published.

To any SurvivalServers staff that might see this: I hope this is the right place to post this, I couldn't find a more appropriate place. The API just uses HTTPS requests to log in and do the desired action. Thanks for the great server hosting service! I've had a great time playing Valheim on a SurvivalServers server.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...