玩家任务
Player Tasks 是一款多人 Fabric 迷你游戏模组,每位玩家都会获得一个隐藏目标,并必须在其他玩家猜出之前完成该目标。
完成你的秘密任务以获取积分——或者利用有限的猜测次数来识别其他玩家的任务,从而抢占优势!
功能
- 超过 100 个自动追踪的 Minecraft 任务
- 随机分配独特任务
- 已使用过的任务在任务池重新加载前将保持不可用状态
- 通过聊天私发秘密任务
- 交互式玩家选择与任务猜测界面
- 可配置的回合计时器与最大猜测次数
- 实时倒计时 Boss 栏
- 右侧分数显示
- 自动完成回合
- 完成任务时播放烟花效果
- 当你的任务被猜中时播放末影龙咆哮声
- 回合结束时播放音符盒铃声
- 每回合结束后玩家返回原始位置
- 支持手动和自动结束回合
玩法说明
玩家使用 /pt join 加入游戏。待所有人准备就绪后,使用 /pt start 开始。
回合开始时:
- 记录每位玩家的位置。
- 每位参与者获得一个独特的秘密任务。
- 回合计时器启动。
- 玩家尝试完成任务而不暴露任务内容。
完成任务可获得一分。玩家还可以使用
/pt guess 选择另一位参与者,并输入他们认为该玩家的任务内容。
猜对可获得一分,并阻止目标玩家在该任务上得分。
回合在以下情况结束:
-
所有任务均已完成或被猜中
-
配置的计时器超时
-
使用了 /pt stop
-
所有参与玩家离开
回合结束时,参与者将被送回记录的起始位置。
命令
所有命令均支持 /pt 和 /playertasks。
/pt join — 加入游戏
/pt leave — 离开游戏并重置你的分数
/pt start — 开始新回合
/pt stop — 停止当前回合
/pt guess — 打开任务猜测界面
/pt score — 显示当前分数
/pt config guesses <amount> — 配置每位玩家的猜测次数
/pt config timer <seconds> — 配置回合持续时间
/pt reload score — 重置所有分数但不恢复已使用的任务
/pt reload tasks — 恢复完整任务池且不改变分数
此模组必须安装在服务器和所有参与客户端上,因为它包含自定义猜测界面和网络通信功能。
注意:目前,一组 110 个任务已硬编码到模组中。我将很快发布代码及可编辑版本。
致谢
由 peganix 创建。
Player Tasks
Player Tasks is a multiplayer Fabric minigame mod where every player receives a hidden objective and must complete it before someone else figures it out.
Complete your secret task to earn points—or use your limited guesses to identify another player’s task and steal the advantage!
Features
- More than 100 automatically tracked Minecraft tasks
- Random, unique task assignment
- Previously used tasks remain unavailable until the task pool is reloaded
- Secret tasks delivered privately through chat
- Interactive player-selection and task-guessing screens
- Configurable round timer and maximum guesses
- Live countdown boss bar
- Right-side score display
- Automatic round completion
- Firework effects when a task is completed
- Ender Dragon roar when your task is guessed
- Note-block chime when a round ends
- Players return to their original positions after each round
- Support for manual and automatic round termination
How It Works
Players join the game using /pt join. Once everyone is ready, use /pt start.
At the beginning of a round:
- Each player’s position is recorded.
- Every participant receives a unique secret task.
- The round timer begins.
- Players attempt to complete their task without revealing it.
Completing your task awards one point. Players can also use
/pt guess to select another participant and enter what they believe that player’s task is.
A correct guess awards one point and prevents the target from scoring for that task.
The round ends when:
-
Every task has been completed or guessed
-
The configured timer expires
-
/pt stop is used
-
All participating players leave
At the end of the round, participants are returned to their recorded starting locations.
Commands
All commands support both /pt and /playertasks.
/pt join — Join the game
/pt leave — Leave the game and reset your score
/pt start — Start a new round
/pt stop — Stop the current round
/pt guess — Open the task-guessing interface
/pt score — Display current scores
/pt config guesses <amount> — Configure guesses per player
/pt config timer <seconds> — Configure the round duration
/pt reload score — Reset all scores without restoring used tasks
/pt reload tasks — Restore the complete task pool without changing scores
The mod must be installed on both the server and participating clients because it includes custom guessing screens and networking.
Note : For now, a set of 110 tasks are hardcoded into the mod. I will be releasing the code, and an editable version soon
Credits
Created by peganix.
评论 0
登录后参与评分
还没有评论,来抢沙发吧