Jump to content

API


ianlee74

Recommended Posts

I'm wanting to create an app that will generate a custom 7D2D dashboard for the players of our server. I see that I can get all the data I need using either the native or (even better) the BCManager commands via telnet. However, I'm curious if there is a better way to query this data than through the telnet connection. I thought I saw somewhere before that Allocs fixes had a web API type interface which would be much easier to deal with. Is there this type of interface for Alloc's, BCManager, etc.? Links would be appreciated.

 

Thanks!

Ian

Link to comment
Share on other sites

https://github.com/7days2mod/BadCompanySM-WebUI

 

which uses the web api from allocs mod:

 

http://<serverip>:<port>/api/executeconsolecommand?adminuser=<username>&admintoken=<usertoken>&raw=true&command=help

 

you can set up the user/token in the webpermissions.xml created by allocs

 

Alternatively you can log in to allocs map with steam before going to

http://<serverip>:<port>/api/executeconsolecommand?raw=true&command=help

 

and it will use the logged in players admin level for command permission

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...