Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 2.54 KB

README.md

File metadata and controls

38 lines (25 loc) · 2.54 KB

Stats2Discord

A plugin to show scoreboard objectives/statistics in Discord.

Made to be used with datapacks like:

I try to maintain this plugin that was made for me, and hopefully improve it a bit in the future. I'm pretty clueless about any (Java) development, so the code quality is probably horrible. The plugin works relatively well on my server, but you should use this project at your own risk. If you have a problem, you may open an issue or PR.

Alternatives

I'm pretty sure samipourquoi's endtech bot has features to show objectives/statistics in Discord and their code quality is probably better, so I recommend you look at that.

Commands

You can use the following commands with the bot in Discord:

  • !stats - Shows a pre-configured list of objectives/statistics configured in config.yml, this is the server total, so the statistics of all players added together.
  • !stats <player> - Shows a pre-configured list of objectives/statistics configured in config.yml, this only shows the selected player.
  • !stats <objective/statistic> - Shows the top 10 players for the selected objectives/statistic.
  • !stats <player> <objective/statistic> - Shows how many the selected player has from the selected objectives/statistic.

Gallery

!stats - Shows a pre-configured list of objectives/statistics configured in config.yml, this is the server total, so the statistics of all players added together.

image

!stats <player> - Shows a pre-configured list of objectives/statistics configured in config.yml, this only shows the selected player.

image

!stats <objective/statistic> - Shows the top 10 players for the selected objectives/statistic.

image

!stats <player> <objective/statistic> - Shows how many the selected player has from the selected objectives/statistic.

image