Перейти к содержимому
Mineforgian

stater

A paper plugin that exposes and endpoint for player statistics

Загрузки
93
Подписчики
0
Обновлён
6 декабря 2024 г.
Лицензия
GPL-3.0-only

Опубликован 6 декабря 2024 г.

stater

⚠️ Right now, the plugin is in a very ALPHA state. Pretty much nothing is configurable and not everything that should be implemeneted has been tested. Do not use in a production environment. Stater is a paper plugin that exposes enpoints to get player statistics. Is primarily meant to be used to show this stats in a website.

The server runs on port 25535.

To check if the plugin is working, try to access http://{server-ip}:25535/stats/ after the server has started.

Roadmap

  • Placeholder API support ❌
  • "Scoreboards" endpoints ❌
  • Player filters ❌

Endpoints

/stats

Return a list with all available stats and players.

/stats/player/{player}/{stat}

Retuns the value of a single statistic for a single player.

/stats/player/{player}

Return all available statistics for a single player.

/stats/stat/{stat}

Returns the values of a single statistic for all players.

⚠️ For now, it only checks the data in the database, meaning it will not be updated for each player until they leaves

Ченджлог

0.0.1-DEVАльфа1.21.3 · 6 декабря 2024 г.

First functional version. With a few API endpoints and SQLite.

Комментарии

Загружаем…