Update 'README.md'
This commit is contained in:
parent
035bac7183
commit
a0c8894980
20
README.md
20
README.md
|
@ -15,7 +15,7 @@ A tiny mod to allow reading server stats with REST requests.
|
|||
|
||||
- Edit UnrealTournament.ini and update / adapt [UWeb.WebServer] section:
|
||||
|
||||
'''
|
||||
```
|
||||
[UWeb.WebServer]
|
||||
Applications[0]=UTServerAdmin.UTServerAdmin
|
||||
ApplicationPaths[0]=/ServerAdmin
|
||||
|
@ -26,7 +26,7 @@ ApplicationPaths[2]=/api/v1
|
|||
DefaultApplication=0
|
||||
bEnabled=True
|
||||
ListenPort=<YOUR_LISTEN_PORT>
|
||||
'''
|
||||
```
|
||||
|
||||
## Available Resources:
|
||||
__GET__ <SERVER_PREFIX>/api/v1/map_list
|
||||
|
@ -48,14 +48,16 @@ __GET__ <SERVER_PREFIX>/api/v1/defaults_server
|
|||
## Sample Output
|
||||
|
||||
__GET__ http://YOUR_SERVER_IP:YOUR_LISTEN_PORT/api/v1/map_list
|
||||
|
||||
{"Maplist":["CTF-Gauntlet.unr","CTF-Command.unr","CTF-Coret.unr","CTF-Dreary.unr","CTF-LavaGiant.unr","CTF-November.unr"]}
|
||||
|
||||
```
|
||||
{"Maplist":["CTF-Gauntlet.unr","CTF-Command.unr","CTF-Coret.unr","CTF-Dreary.unr","CTF-LavaGiant.unr","CTF-November.unr"]}
|
||||
```
|
||||
|
||||
__GET__ http://YOUR_SERVER_IP:YOUR_LISTEN_PORT/api/v1/current_all
|
||||
```
|
||||
{"GameName":"Capture the Flag","GameClass":"Botpack.CTFGame","LevelTitle":"Lava Giant","Level":"CTF-LavaGiant","Mutators":["Botpack.FatBoy"],"player_list":[{"PlayerName":"chacha","Ping":12,"Score":0.000000,"bIsABot":false,"bIsSpectator":true,"IP":"172.16.4.101"}]}
|
||||
```
|
||||
|
||||
{"GameName":"Capture the Flag","GameClass":"Botpack.CTFGame","LevelTitle":"Lava Giant","Level":"CTF-LavaGiant","Mutators":["Botpack.FatBoy"],"player_list":[{"PlayerName":"chacha","Ping":12,"Score":0.000000,"bIsABot":false,"bIsSpectator":true,"IP":"172.16.4.101"}]}
|
||||
|
||||
__GET__ http://YOUR_SERVER_IP:YOUR_LISTEN_PORT/api/v1/default_all
|
||||
|
||||
{"GameStyle":"HardCore","GameStyle":"Turbo","GameSpeed":100.000000,"AirControl":35.000000,"UseTranslocator":True,"MaxPlayers":16,"MaxSpectators":2,"bMultiWeaponStay":True,"bTournament":False,"bPlayersBalanceTeams":False,"bForceRespawn":False,"GoalTeamScore":3.000000,"TimeLimit":0,"FriendlyFireScale":0.000000,"ServerName":"Another UT Server","AdminName":"","AdminEmail":"","MOTDLine1":"","MOTDLine2":"","MOTDLine3":"","MOTDLine4":"","bWorldLog":True}
|
||||
```
|
||||
{"GameStyle":"HardCore","GameStyle":"Turbo","GameSpeed":100.000000,"AirControl":35.000000,"UseTranslocator":True,"MaxPlayers":16,"MaxSpectators":2,"bMultiWeaponStay":True,"bTournament":False,"bPlayersBalanceTeams":False,"bForceRespawn":False,"GoalTeamScore":3.000000,"TimeLimit":0,"FriendlyFireScale":0.000000,"ServerName":"Another UT Server","AdminName":"","AdminEmail":"","MOTDLine1":"","MOTDLine2":"","MOTDLine3":"","MOTDLine4":"","bWorldLog":True}
|
||||
```
|
Loading…
Reference in New Issue