Описание
REST API для Контрабандист
РЕСТ-АПИ
Все смерти во Вселенной (или Скачать PerWorldTracking отключается в конфигурации Контрабандист):
GET: http://webserverAddress:port/UnkownBundle/DeathCounter-REST-API/get
Получить все смерти в определенном мире (работает только в том случае, если Скачать PerWorldTracking Если это возможно, то список Вселенной будет возвращен:
GET: http://webserverAddress:port/UnkownBundle/DeathCounter-REST-API/get?WORLD_NAME
Получите список со всеми доступными мирами:
GET: http://webserverAddress:port/UnkownBundle/DeathCounter-REST-API/worlds
WebServer
Этот мод требует Nitrado WebServer Мод.
Чтобы настроить веб-сервер для редактирования / создания config.json файл в Моды/Nitrado_WebServer/
Пример конфигурирования:
Пожалуйста, обратите внимание: небезопасность должна быть верной только в частной / тестовой среде.
{
"BindHost": "127.0.0.1",
"BindPort": 5520,
"Tls": {
"Неуверенный": правда,
«Сертификат»: «Самостоятельно»
?
?
Показать оригинальное описание (English)
REST API For DeathCounter
REST-API
Get all deaths in the Universe (or EnablePerWorldTracking is disabled in the config of DeathCounter):
GET: http://webserverAddress:port/UnkownBundle/DeathCounter-REST-API/get
Get all deaths in a specific world (only works if EnablePerWorldTracking is enabled, otherwhise the universe list will be returned):
GET: http://webserverAddress:port/UnkownBundle/DeathCounter-REST-API/get?WORLD_NAME
Get a list with all available worlds:
GET: http://webserverAddress:port/UnkownBundle/DeathCounter-REST-API/worlds
WebServer
This mod requires the Nitrado WebServer mod.
To configure the webserver edit/create the config.json file in mods/Nitrado_WebServer/
Example config:
Please note: insecure should only be true on private/testing environment
{
"BindHost": "127.0.0.1",
"BindPort": 5520,
"Tls": {
"Insecure": true,
"CertificateProvider": "selfsigned"
}
}
Последние версии
DeathCounter-REST-API-1.1.0.jar
DeathCounter-REST-API-1.0.0.jar
Информация
Авторы:
Версии игры:
Создан: 25.01.2026