You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
605 B
Markdown
18 lines
605 B
Markdown
# nwahttp
|
|
|
|
Putting things in places where they shouldn't be
|
|
|
|
## Features
|
|
|
|
- Prometheus metrics endpoint
|
|
- REST API with player info
|
|
- WebSocket with realtime player info
|
|
|
|
## Usage
|
|
|
|
First of warning, this plugin is created for a minimally patched tes3mp server, see the patch here [`docker-test/ScriptFunc.cpp`](docker-test/ScriptFunc.cpp) (default tes3mp doesn't execute C++ timers)
|
|
|
|
build with `cargo build --release` for target and place `nwahttp.so` in the `$TES3MP_HOME/scripts` folder, and add `nwahttp.so` to the scripts argument in the config,
|
|
|
|
then connect via `http://[ip of tes3mp server]:8787`
|