Hot Potato
Hot Potato 是一款隐藏的、持续时间长的小型游戏,旨在正常运行在普通 SMP 服务器之上,而不会干扰日常玩法。
管理员可以使用 /hotpotato give 命令在世界中悄悄放置一个自定义的烤土豆。单独存在时,这个土豆没有任何作用。一旦管理员执行 /hotpotato arm,下一个拾取它的玩家就会开始这一轮游戏。
从那一刻起,计时器开始运行。
工作原理
当前持有者:
- 无法在快捷栏中移动土豆
- 无法丢弃它
- 无法将其放入容器
- 无法将其放入物品展示框
- 无法吃掉它
- 可以通过拳击其他参与中的玩家来传递土豆
当持有者拳击另一名参与中的玩家时,土豆会瞬间转移。新的持有者现在承担了风险。
如果回合计时器达到限制,土豆将会爆炸。持有者死亡且其物品栏被清空。随后他们将从本轮游戏中解除参与状态并被加入失败者列表,除非配置文件中启用了无限参与模式。
燃烧机制
为了防止玩家藏匿土豆或登出服务器,存在一个持有时间上限。
如果玩家持有土豆的时间超过了配置的 holdLimit,他们将开始燃烧,直到将土豆传递出去或回合以爆炸结束。
专为 SMP 服务器设计
此插件最初是为 FishSMP 制作的。想法很简单:管理员秘密种植土豆。玩家自然发现它。没有公告,没有警告。恐慌自行蔓延。
游戏可以持续很长时间(例如 24 小时),因此它非常适合生存服务器,而不是短期的大厅小游戏。
现在有一个 Discord Webhook 功能,允许你通过 Discord 跟踪游戏状态。
配置
所有计时器均使用毫秒单位的 Unix 时间戳。
- holdLimit
玩家在开始燃烧之前可以持有土豆的最大时间
- graceTime
被标记后的冷却时间。在此期间,玩家不能再次被标记
- roundDuration
自动爆炸前的最大总回合时长
- webhook
- enabled
启用/禁用 Webhook 功能
- url
在此处输入 Discord Webhook URL
- username
发送 Webhook 消息时显示的昵称
- avatar_url
发送 Webhook 消息时显示的头像图片
游戏状态是单独存储的,不应手动编辑,除非你想排除特定玩家而修改失败者列表。
命令
- /hotpotato give
给予自定义土豆物品
- /hotpotato arm and /hotpotato unarm
激活或停用已种植的土豆
- /hotpotato engage <player>
强制一名玩家参与
- /hotpotato disengage <player>
将一名玩家移出参与名单
- /hotpotato stats
显示激活状态、回合状态、计时器和失败者列表
- /hotpotato reset
重置当前回合,但保留参与数据
支持 LuckPerms 进行权限控制。
如果你有想法、平衡性建议或功能请求,请在 GitHub 上提交 Issue。
Hot Potato
Hot Potato is a hidden, long duration minigame designed to run on top of a normal SMP without disrupting daily gameplay.
An admin can quietly place a custom baked potato in the world using /hotpotato give. On its own, the potato does nothing. Once an admin runs /hotpotato arm, the next player who picks it up starts the round.
From that moment, the timer begins.
How It Works
The current holder:
- Cannot move the potato in their hotbar
- Cannot drop it
- Cannot place it in containers
- Cannot put it in item frames
- Cannot eat it
- Can punch other engaged players to pass it
When the holder punches another engaged player, the potato transfers instantly. The new holder now carries the risk.
If the round timer reaches its limit, the potato explodes. The holder dies and their inventory is cleared. They are then disengaged from the round and added to the loser list, unless infinite engagement is enabled in config.
Burn Mechanic
To prevent hiding or logging off with the potato, a hold limit exists.
If a player holds the potato longer than the configured holdLimit, they begin to burn until they pass it or the round ends in an explosion.
Designed for SMP Servers
This plugin was originally made for FishSMP. The idea was simple. Admins secretly plant the potato. Players discover it naturally. No announcements. No warning. The panic spreads on its own.
The game runs over long durations such as 24 hours, which makes it perfect for survival servers instead of short lobby minigames.
There is now a discord webhook feature, that allows you to follow the game state through discord.
Configuration
All timers use Unix timestamps in milliseconds.
- holdLimit
Maximum time a player can hold the potato before burning
- graceTime
Cooldown after being tagged. During this time, a player cannot be tagged again
- roundDuration
Maximum total round length before automatic explosion
- webhook
- enabled
Enabled/disables the webhook feature
- url
The discord webhook url goes here
- username
The username displayed with the webhook messages sent
- avatar_url
The profile picture shown with the webhook messages sent
Game state is stored separately and should not be manually edited except for the loser list if you want to exclude specific players.
Commands
- /hotpotato give
Gives the custom potato item
- /hotpotato arm and /hotpotato unarm
Arms or disarms the planted potato
- /hotpotato engage <player>
Forces a player into participation
- /hotpotato disengage <player>
Removes a player from participation
- /hotpotato stats
Shows armed state, round state, timers, and losers
- /hotpotato reset
Resets the current round but keeps engagement data
LuckPerms is supported for permission control.
If you have ideas, balance suggestions, or feature requests, open an issue on GitHub.
评论 0
登录后参与评分
还没有评论,来抢沙发吧