Jump to content

A way to edit what the tcadmin does when a server crashes.


Recommended Posts

I want to add a check when a server goes down for tcadmin. I would like to make it query the database to check a table that I am making, that will contain 2 things. The server ip:port and a number, 1 or 0. If the server finds a 1 I want it to run an update and change it to 0, then start. If 0, just start as normal.


I found the files for tcadmin, but they are not in php format so I don't know how to edit them. Does anyone have a way to do what I am looking to do?


This is all to make the servers auto update on a game update. I already have a plugin that brings the servers down when an update is found, I just need to add the part of making the change in the database.


Thank you for your time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Who's Online   0 Members, 0 Anonymous, 5 Guests (See full list)

    • There are no registered users currently online
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use