• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

API

ianlee74

New member
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

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

which uses the web api from allocs mod:

Code:
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

Code:
http://<serverip>:<port>/api/executeconsolecommand?raw=true&command=help
and it will use the logged in players admin level for command permission

 
Back
Top