This is a web interface that shows the servers info (like current map) and the players list, that updates in real time. You can also login-in with steam, and if you would have permissions in the server you can even send commands.
This is still in a beta stage, so expect issues if you are trying to use it, I don't suggest using it in a production server in its current state.
There are some features that still need to be completed, see the issues tab for a list. Especially the UX of the website.
- Install the socket extension: https://forums.alliedmods.net/showthread.php?t=67640?t=67640
- Install the websocket plugin: https://forums.alliedmods.net/showthread.php?t=182615
- To make it work properly I had to make a small edit on the line 760, by commeting it, you can find the compile binary in the plugins folder.
- Install the live interface find that is located inside the plugins folder.
- Edit the settings located in
cfg/sourcemod/
- Upload to your webserver the files located inside
WebServer/
then editconfig.php
according to your settings.
Optional:
To support https / wss
you'd need to configure a reverse proxy
, this is an example for nginx
server {
listen 443;
server_name 'ws.example.com';
location / {
proxy_pass http://127.0.0.1:60000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}