With version 1.28 we've added the option of being able to control servers with a special page and url. We plan on expanding the capabilties of the API in the future, but if you'd like to see something implemented first--please let us know.
You may also rename or remove this file if you don't need its functionality.
To utilize the API, simply make a web request to the api.aspx page with the following parameters:
http://somesite.com/api.aspx?u=username&p=password&i=id&c=somecmd
Where
u = the username
p = the password
c = the command (see below)
i = id to perform the command on
The commands currently implemented are:
alive = useful to see if the panel is alive, always returns True
running = see if a server is running or not, returns True or False
start = starts a server
stop = stops a server
restart = stops/starts a server
disables = disables a server
enables = enables a server
disableu = disable an user's account
enableu = enable an user's account
extra = runs the specified extra program
Return values
The panel will return either an
OK - indicates everything was successful
ERROR - indicates and error and will typically list an error message.
