rfwadmin icon indicating copy to clipboard operation
rfwadmin copied to clipboard

Feature suggestion: API

Open itsmartin opened this issue 13 years ago • 3 comments

For CotM, I would like to be able to automate things more. I would love to be able to use rfwadmin programatically to set up the server for a match, so that our referees don't need to directly access rfwadmin at all. For example, I would like our referee control panel to be able to do the following things:

  • Check the current status of the server (started or not)
  • Load a specific map
  • Enable / disable specific plugins or server jars
  • Start / restart / stop the server
  • Send console commands

I suspect this is all possible already by sending the appropriate POST requests, but it's difficult to work out exactly how to do it. So perhaps all that I need is some documentation :)

itsmartin avatar Jan 10 '13 11:01 itsmartin

No, rfwadmin doesn't have an API for that (yet, at least).

Thue avatar Mar 31 '13 21:03 Thue

Use Fiddler to capture the commands that are sent to RFWAdmin when you click start/stop etc, and send HTTP POST commands with the same contents. That might work.

ghostsquad avatar Oct 14 '14 03:10 ghostsquad

It's doable via Chrome's web dev tools. Firefox and IE both have similar systems. A published API would still be nice though :)

gpmidi avatar Oct 14 '14 03:10 gpmidi