? CatsAndMice — 红绿光,由管理员掌控
专为你的 Minecraft 服务器打造的竞技点击游戏

? CatsAndMice 是什么?
CatsAndMice 是由 Seblor 开发的原始 Cats-n-Mice Discord 机器人 的 Minecraft 改编版本。
玩家通过点击全息图来增加共享分数。管理员(猫 ?)可以随时重置分数——玩家(老鼠 ?)的目标是在分数被清零前尽可能取得高分!当前分数和最近的点击记录会通过可交互的全息图实时显示。
✨ 特性
- 可点击全息图 — 基于 DecentHolograms 实现的实时排行榜
- 基于角色的玩法 — 老鼠点击以增加分数,猫点击以重置分数
- 点击冷却时间 — 每次点击之间设有可配置的延迟(默认:5 分钟)
- 最佳分数追踪 — 记录最高分数、玩家名称、日期和时间
- 模拟(假)玩家名称 — 自动填充空白的全息图槽位,保持显示完整
- 可配置显示顺序 — 最新点击记录可在底部或顶部显示
- LuckPerms 支持 — 在全息图的玩家名称旁显示排名前缀
- Discord Webhook 警报 — 当分数达到阈值时发送通知
- 完全可定制 —
config.yml 中可配置每条消息、颜色和设置
- 异步数据保存 — 点击历史和全息图位置会自动保存
? 安装
- 确保服务器上已安装 DecentHolograms
- 下载 CatsAndMice JAR 文件并将其放入
plugins/ 文件夹
- 启动或重启服务器
- 站在你想放置全息图的位置,运行
/mice create
- 编辑
plugins/CatsAndMice/config.yml 以自定义消息和设置
- 运行
/mice reload 应用更改
⚙️ 命令与权限
命令:
| 命令 |
权限 |
描述 |
/mice create |
catsandmice.create |
在你所在的位置创建游戏全息图 |
/mice reload |
catsandmice.reload |
重新加载配置文件 |
/mice help |
catsandmice.help |
显示帮助菜单 |
权限:
| 权限 |
描述 |
catsandmice.mice |
允许点击全息图以增加分数 |
catsandmice.cat |
允许点击全息图以重置分数 |
catsandmice.bypass |
绕过点击冷却延迟 |
catsandmice.* |
授予所有插件权限(默认为 OP) |
? Discord Webhook(可选)
当分数达到可配置的阈值时,CatsAndMice 可以向 Discord 频道发送警报。
- 在 Discord 频道设置中创建一个 webhook
- 在
config.yml 中设置 webhook.enabled: true
- 将你的 webhook URL 粘贴到
webhook.url
- 使用
webhook.threshold 设置分数阈值
? 依赖项
服务器: Spigot / Paper 1.20.6 或更高版本 — Java 17+
? 致谢
| 角色 |
作者 |
| 原始创意及 Discord 机器人 |
Seblor |
| 首个 Minecraft 插件版本 |
Eniox59 |
| 插件完善及最终工作 |
Loot1 |
? CatsAndMice — Red light, green light with moderators
A competitive click game for your Minecraft server

? What is CatsAndMice?
CatsAndMice is a Minecraft adaptation of the original Cats-n-Mice Discord bot by Seblor.
Players click a hologram to increase a shared score. Moderators (cats ?) can reset the score at any time — the goal for players (mice ?) is to reach the highest score possible before it gets wiped! The current score and last clicks are displayed in real-time on a clickable hologram.
✨ Features
- Clickable hologram — real-time leaderboard powered by DecentHolograms
- Role-based gameplay — mice click to increase the score, cats reset it
- Click cooldown — configurable delay between each click (default: 5 minutes)
- Best score tracking — records the best score with the player name, date and time
- Mock (fake) player names — automatically fills empty hologram slots to keep the display full
- Configurable display order — most recent click at the bottom or at the top
- LuckPerms support — displays rank prefixes next to player names in the hologram
- Discord webhook alerts — sends a notification when a score threshold is reached
- Fully customizable — every message, color and setting is configurable in
config.yml
- Async data saving — click history and hologram location are saved automatically
? Installation
- Make sure DecentHolograms is installed on your server
- Download the CatsAndMice JAR and place it in your
plugins/ folder
- Start or restart your server
- Stand where you want the hologram and run
/mice create
- Edit
plugins/CatsAndMice/config.yml to customize messages and settings
- Run
/mice reload to apply your changes
⚙️ Commands & Permissions
Commands:
| Command |
Permission |
Description |
/mice create |
catsandmice.create |
Creates the game hologram at your location |
/mice reload |
catsandmice.reload |
Reloads the configuration |
/mice help |
catsandmice.help |
Displays the help menu |
Permissions:
| Permission |
Description |
catsandmice.mice |
Allows clicking the hologram to increase the score |
catsandmice.cat |
Allows clicking the hologram to reset the score |
catsandmice.bypass |
Bypasses the click cooldown delay |
catsandmice.* |
Grants all plugin permissions (OP by default) |
? Discord Webhook (optional)
CatsAndMice can send an alert to a Discord channel when the score reaches a configurable threshold.
- Create a webhook in your Discord channel settings
- Set
webhook.enabled: true in config.yml
- Paste your webhook URL in
webhook.url
- Set your score threshold with
webhook.threshold
? Dependencies
Server: Spigot / Paper 1.20.6 or higher — Java 17+
? Credits
| Role |
Author |
| Original idea & Discord bot |
Seblor |
| First Minecraft plugin version |
Eniox59 |
| Plugin completion & final work |
Loot1 |
评论 0
登录后参与评分
还没有评论,来抢沙发吧