stater
PluginGPL-3.0-only

stater

A paper plugin that exposes and endpoint for player statistics

75
Downloads
0
Followers
1 years ago
Updated
📦
1
Versions

📖About stater

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