Jump to content

TCAdmin API, NOT Billing


cjmwid

Recommended Posts

I'm just curious if there is an API that could be used to let us say, start/stop/restart/execute a custom script from an url? that could contain a token kinda?

 

Like, https://urltopanel.com/api.php?token=<blah>&action=<blank>

 

Reason I ask, I'd like to make a discord bot for this small community they people could send a command to that would run a custom script that would update the server, then from the bot, I could control access for who can run what commands, etc.

 

Not sure if this is possible with billing API if it is any examples would be appreciated!

Link to comment
Share on other sites

Hello,

 

I have already done what you are hoping to do but it's closed source since it's a private project but it's a discord bot like you wanted to make. It's made in C# and it uses the TCAdmin billing API and also MySQL queries to communicate with the database etc.

Through my Discord Bot I can stop/start the server, change the name, amount of people on the server, etc all through the API.

 

https://files.alexr03.com/Alex-5c5ff79c-cbc4-4223-92ff-049b9bbc56d3.mp4

https://files.alexr03.com/Alex-af2742eb-4882-4323-8986-45405a140f70.mp4

 

I was speaking with Luis though on Support Ticket. He said in a few months TCAdmin will be upgraded to .net 4.5 and will be introducing a API similar to https://pterodactyl.io/

 

If you'd prefer not to start building an API yourself to use like I did. You may want to wait for a few months. ;)

Edited by alexr03
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
×
×
  • 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