This mod adds some commands to provide a fun mystery statistic challenge competition in shared servers.
It will display the score for a mystery statistic objective in the player list Allow players to list the top 3 as a leaderboard Publishes the results to a discord server
- Add the mod jar and the dependencies
- Start the server
- Edit config/mysterystat.toml with your discord bot's authentication token and channel id
- Restart the server
Adds a new mystery challenge objective. These are registered as vanilla objectives using a prefix mysterystat_
.
mysterystat add <name> <criterion>
Requires permission 'mysterystat.add'
Activates a mystery challenge. This sets it as the current objective, visible in the player list display slot.
mysterystat activate <name>
Requires permission 'mysterystat.activate'
Lists the top 3 players for the currently active objective
mysterystat list
Requires permission 'mysterystat.list.current'
Lists the top 3 players for the provided objective
mysterystat list <name>
Requires permission 'mysterystat.list.any'
Removes the provided objective
mysterystat clear <name>
Requires permission 'mysterystat.clear'
Publishes the top 3 players the provided objective to a configured discord server
mysterystat publish <name>
Requires permission 'mysterystat.publish'
Populates a mystery challenge objective with the scores from a pre-existing vanilla objective
mysterystat populate <name> <objective>
Requires permission 'mysterystat.publish'