Mystery Stat Mod
描述
本模组添加了一些命令,用于在多人服务器中提供有趣的“神秘统计”挑战。
功能
- 在玩家列表中显示神秘统计目标的得分
- 允许玩家列出前三名作为排行榜
- 将结果发布到 Discord 服务器
- 独立设置和激活挑战——因此你可以同时运行多个挑战,但仅在玩家列表中显示其中一个
依赖项
安装
- 添加模组 jar 文件及其依赖项
- 启动服务器
- 使用你的 Discord 机器人的身份验证令牌和频道 ID 编辑
config/mysterystat.toml
- 重启服务器
命令
Add
添加一个新的神秘挑战目标。这些目标以 mysterystat_ 为前缀注册为原版目标(objective)。
/mysterystat add <name> <criterion>
需要权限 'mysterystat.add'
Activate
激活一个神秘挑战。这将它设置为当前目标,并在玩家列表显示槽位中可见。
/mysterystat activate <name>
需要权限 'mysterystat.activate'
List current objective
列出当前活动目标的前三名玩家
/mysterystat list
需要权限 'mysterystat.list.current'
List any objective
列出指定目标的前三名玩家
/mysterystat list <name>
需要权限 'mysterystat.list.any'
Clear
移除指定的目标
/mysterystat clear <name>
需要权限 'mysterystat.clear'
Publish
将指定目标的前三名玩家发布到已配置的 Discord 服务器
/mysterystat publish <name>
需要权限 'mysterystat.publish'
Populate
使用预先存在的原版目标(objective)的分数来填充神秘挑战目标
/mysterystat populate <name> <objective>
需要权限 'mysterystat.publish'
Mystery Stat Mod
Description
This mod adds some commands to provide a fun mystery statistic challenge in multi-player servers.
Features
- 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
- Set up and activate challenges independently - so you can have multiple challenges running concurrently but only one displayed in the player list
Dependencies
Installation
- 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
Commands
Add
Adds a new mystery challenge objective. These are registered as vanilla objectives using a prefix mysterystat_.
/mysterystat add <name> <criterion>
Requires permission 'mysterystat.add'
Activate
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'
List current objective
Lists the top 3 players for the currently active objective
/mysterystat list
Requires permission 'mysterystat.list.current'
List any objective
Lists the top 3 players for the provided objective
/mysterystat list <name>
Requires permission 'mysterystat.list.any'
Clear
Removes the provided objective
/mysterystat clear <name>
Requires permission 'mysterystat.clear'
Publish
Publishes the top 3 players the provided objective to a configured discord server
/mysterystat publish <name>
Requires permission 'mysterystat.publish'
Populate
Populates a mystery challenge objective with the scores from a pre-existing vanilla objective
/mysterystat populate <name> <objective>
Requires permission 'mysterystat.publish'
评论 0
登录后参与评分
还没有评论,来抢沙发吧