CoffinSleep
Мод, который ускоряет время, пока вы спите в гробу.

от jays
Http Api плагин фреймворк используется для добавления новых маршрутов к V Rising Server существующих HTTP API
VRisingServerApiPlugin — мод для V Rising (Ви Райзинг) от автора jays. Http Api плагин фреймворк используется для добавления новых маршрутов к V Rising Server существующих HTTP API
Его скачали 781 раз: это 176-е место среди модов V Rising в нашем каталоге, редкость — «обычный» (нижняя половина по скачиваниям). Мод давно не обновлялся — проверьте совместимость с текущей версией игры, актуальная версия — 0.1.4.
Для работы ему нужны: BepInExPack V Rising.
Автор отметил совместимость с обновлениями игры: Gloomrot.
1 шт · нажмите, чтобы открыть
Текст автора на языке оригинала
VRising Server API used to expose new HTTP Routes
In the ServerHostSettings.json file of the VRising server, you have to activate the API :
{
"API": {
"Enabled": true,
"BindAddress": "*",
"BindPort": 9090,
"BasePath": "/",
"AccessList": "",
"PrometheusDelay": 30
}
}
Then, you have to put the DLL of this plugin in the plugins directory of the BepInEx folder on your server. In the logs, you will be able to see the new routes created. You can then call the routes using another program or something like Postman to query the available endpoints.
You can find two working examples on how the endpoints are exposed through the VRising Server HTTP API in the endpoints folder of the project. I have implemented a few basic GET and POST methods for two endpoints : clans and players
The API is capable of parsing url params, query params and JSON Bodies. Only JSON bodies are supported and the Content-Type=application/json must be present in the header of the HTTP request.
For url params, I am using regex groups to match by name.
For the endpoint /players/:id where id is an integer that match a userIndex in the game, the endpoint is declared the following way :
[HttpGet("/(?[0-9]*)")]
public PlayerApiResponse GetPlayerDetails([UrlParam("id")] int userIndex)
The regex use a group called id that match any number, and it is mapped to the userIndex parameter of the method by using the "id" param name.
The plugin will try to cast the url params, query params and request body to the parameter type of the method. See for example the update clan name method :
[HttpPost(@"/(?[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12})/updateName")]
public GetClanResponse UpdateClanName([UrlParam("id")] Guid clanId, [RequestBody] UpdateClanNameBody? body)
The url param id is parsed as a Guid, and the RequestBody is used as the base class to deserialize the JSON of the body received. The regex used in the HttpPost definition is a regex that match an uuid.
The CommandRegistry expose a public method RegisterAll. Import the DLL of the project as a dependency to your own plugin, then declare some API endpoints using the Attributes declarations explained above, and then call the following method to register your assembly :
CommandRegistry.RegisterAll();
for the inspiration on how to do this
В r2modman ставится автоматически
Файл скачивается с официального сервера Thunderstore, без перезаливов и сторонних установщиков
Подробная инструкция для V RisingВставьте значок в описание на Thunderstore, в README или в Discord — русскоязычные игроки сразу попадут на страницу с переводом и инструкцией.
[](https://modka.app/v-rising/jays-vrisingserverapiplugin/)<a href="https://modka.app/v-rising/jays-vrisingserverapiplugin/"><img src="https://modka.app/badge.png" alt="Описание на русском — Модка" height="44"></a>[url=https://modka.app/v-rising/jays-vrisingserverapiplugin/]Описание на русском — Модка[/url]Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру V Rising. Создайте профиль — так моды не смешаются с чистой версией игры. Найдите «VRisingServerApiPlugin» во вкладке Online и нажмите Download — BepInEx и все зависимости подтянутся сами. Нажмите «Start modded» — игра запустится с модами. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.
Файл скачивается с официального сервера Thunderstore, куда его загрузил jays. Мы не перезаливаем и не изменяем моды.
Установите вместе с ним: BepInExPack V Rising. В менеджере модов зависимости подтягиваются автоматически.
13 июня 2023, актуальная версия — 0.1.4. Это больше года назад: перед установкой проверьте, работает ли мод на текущей версии игры.
Мод, который ускоряет время, пока вы спите в гробу.
A Fork of RPGMods Now for Gloomrot!.
Мод, который уведомляет, когда пользователь подключается или отключается от сервера, новый пользователь подключается от сервера, когда игрок убивает босса VBlood, систему сообщений дня и систему автоматического объявления, которая работает через каждый определенный интервал.
Мод на стороне сервера, который позволяет игрокам пополнять свой пул крови различными способами.
Мод на стороне сервера для V Rising, который порождает случайный NPC рядом со случайным онлайн-игроком через случайные промежутки времени, и игрок выигрывает случайное вознаграждение за элемент, если NPC убит в течение заданного срока.
V Мод Rising, который делает зелья и колбы, возвращает пустые контейнеры со встречной частью. Что мы делали раньше, ели их?