

This BepInEx plugin for V Rising Servers adds additional http endpoints to the server's ServerWebAPISystem. This
allows you to expose additional information about players, such as the current gear level.
It is recommended to not expose the server's api port to the internet.
/v-rising-discord-bot/charactersReturns information about all characters that exist on the server. Intended to be used in conjunction with the v-rising-discord-bot to display the gear level for all characters.
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: application/json
[
{
"name": "Atra",
"gearLevel": 83,
"clan": "Test",
"killedVBloods": [
"FOREST_WOLF",
"BANDIT_STONEBREAKER"
]
},
{
"name": "Socium",
"gearLevel": 84,
"killedVBloods": []
}
]
/v-rising-discord-bot/player-activitiesReturns a list of connect and disconnect events for the last 10 minutes. Intended to be used in conjunction with the v-rising-discord-bot to log connect and disconnect messages on discord.
Note that this activity list is not persistent across server restarts.
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: application/json
[
{
"type": "CONNECTED",
"playerName": "Atra",
"occurred": "2023-01-01T00:00:00Z"
},
{
"type": "DISCONNECTED",
"playerName": "Atra",
"occurred": "2023-01-01T01:00:00Z"
},
]
Please note that modding support for V Rising Gloomrot is still experimental. Proceed at your own risk.
dotnet build.plugins folder.curl http://<your-server-hostname-here>:<your-api-port-here>/v-rising-discord-bot/characters. Validate that the returned status code is 200 as
soon as the server has fully started.