Changes between Version 16 and Version 17 of Integrated Webserver


Ignore:
Timestamp:
26.07.2015 17:20:09 (9 years ago)
Author:
Alloc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Integrated Webserver

    v16 v17  
    33Meant to become an easy to use and everywhere accessible administration interface mostly for tasks like player management. (Currently in early development stage)
    44
     5
    56== Current features ==
    67* Viewing the map of the game as much as visited by players.
    78
     9
    810== Access ==
     11The webserver will listen on the port defined as ControlPanelPort (from serverconfig) + 2. I.e. if you have set ControlPanelPort to 8080 (as it is by default) the webserver will listen on ''!http://<yourIpOrDomain>:8082/''
    912
    10 The webserver will listen on the port defined as ControlPanelPort (from serverconfig) + 2. I.e. if you have set ControlPanelPort to 8080 (as it is by default) the webserver will listen on ''!http://<yourIpOrDomain>:8082/''
    1113
    1214== Is it running? ==
     
    1618}}}
    1719If it does the server was started on the given port.
     20
    1821
    1922== Permissions ==
     
    3336 webpermission add webapi.getstats 1000
    3437
     38
    3539== Web Tokens ==
    3640As tools like server managers obviously can not identify themselves with Steam login a token system has been added. That way those tools can provide a predefined token on ''each'' request to the webserver and those requests will be handled with the permission level given to that specific token. Web tokens are set up with the ''webtokens'' command.
     41The tokens have to be passed to each request like this:
     42 !http://<server>:<port>/map/0/2/1.png?'''adminuser=<tokenuserpart>&admintoken=<tokenpasswordpart>'''
     43For example, if your server is running on your machine, port 8082 and you added a webtoken with name "admin" and password "supersecrettoken" a request would look like this:
     44 !http://localhost:8082/api/getstats?adminuser=admin&admintoken=supersecrettoken
     45
    3746
    3847== apache and mod_proxy ==