MurderCraft
一款受 Squeezie & Théodore Bonnet 设计的 Murder 游戏模式(其本身灵感源自 Garry's Mod Murder)启发的多人 Minecraft 模组。虚张声势。偏执。黑暗中的利刃。
踏入一场充满猜忌的紧张聚会:隐藏的杀手潜伏在人群中,一名孤独的侦探试图及时识破他们,而平民只有一个任务——活下去。由于只有一名武装保卫者、每把左轮手枪仅有两发子弹,且游戏中期仅有一把隐藏左轮手枪可供争夺,每一局比赛都是一场恐惧、指责和瞬息万变决策不断收紧的漩涡。
⚠ 重要归属声明:本模组遵循由 Squeezie & Théodore Bonnet 设计的规则变体(两名互不知情的杀手、游戏中期出现隐藏手枪、友军伤害 = 永久失去武器、共进行 4 局每局 15 分钟、第 3 局开始的任务揭示机制、每把手枪 2 发子弹)。它不完全复刻原版 Garry's Mod Murder 的规则。
✦ 概念
在每局开始时,每位玩家都会秘密地分配一个三种角色之一。没人知道谁是谁——而这正是关键所在。
| 角色 |
数量 |
武器 |
目标 |
| ☠ 杀手 |
2 |
刀(一击必杀) |
悄无声息地消灭所有平民。两名杀手并不直接知晓彼此的身份——但他们可以通过仅对他们可见的微妙的灵魂火焰粒子互相识别。杀手无法拾取左轮手枪——它会以最大速度自动弹出。 |
| ⚭ 侦探 |
1 |
左轮手枪(2 发子弹) |
找出杀手并射击他们。射杀平民会导致你永久失去武器(武器连同剩余弹药掉落在地上,只有平民可以拾取)。 |
| ☺ 平民 |
其余所有人 |
无 |
存活。观察。向侦探低声发出警告。找到游戏中期掉落的隐藏手枪以成为新的侦探。 |
胜利条件
- 如果两名杀手被消灭,或者时间耗尽,则平民与侦探获胜。
- 如果在时间结束前杀死了所有非杀手玩家,则杀手获胜。
? 会话结构(4 局)
完整会话包含 4 局,每局最长 15 分钟。赢得局数最多的团队获得整场会话的胜利。
局间有 15 秒的暂停作为缓冲,随后重新分配角色并开始下一局。
? 随机生成与无敌保护
在每局开始时:
- 所有参与者会被传送至世界出生点(
/setworldspawn)周围可配置半径(默认 200 格)内的随机有效陆地位置。
- 排除海洋、河流和深海生物群系——没有人会在水中生成。
- 玩家在空中 25 格处生成,并获得8 秒的全伤害免疫(可配置)。防止在混乱的开局阶段因坠落、岩浆或即死攻击受伤。
- 强制执行玩家之间的最小距离(随玩家数量缩放):4 名玩家时 60 格,16 名玩家时 30 格,32 名及以上时 20 格。生成点分散,绝不会扎堆。
- 动作栏显示无敌倒计时:
? Damage immunity: 5s...,到期后变为 ⚠ You are no longer invulnerable!。
- 所有参与者会自动切换为生存模式以确保公平竞技。
方形世界边界
在游戏会话开始时自动设置一个可配置的方形世界边界,中心位于世界出生点。默认大小:边长 500 格。强制行动发生在指定区域内——不再有无辜者在 5000 格外躲藏。原始的世界边界配置会在会话结束时保存并恢复。
? 任务(从第 3 局开始)
从第 3 局开始,每局会出现一个任务:
- 探索——附近会生成一个带有神秘标记的发光箱子。第一个拿到标记的人获胜。
- 制作——宣布一个随机配方(火把、梯子、面包、纸张等)。第一个完成制作的人获胜。
任务获胜者将获得30 秒的时间窗口使用 /murder task reveal <player> 命令并私下得知该玩家的角色。是否通过语音聊天分享信息完全取决于玩家——模组仅显示角色信息。
? 武器系统
左轮手枪(仅限侦探)
- 每把左轮手枪 2 发子弹(Squeezie 规则集)。用完后,左轮手枪就变成只会空击的废铁。
- 弹药在掉落和拾取时保留:一把发射过一发的左轮手枪在被其他人拾起时仍剩余 1 发子弹。
- 工具提示中显示可见弹药计数(绿色表示已装填,红色表示为空),每次射击后动作栏也会更新。
- 尝试射击空膛左轮手枪时会发出干击声。
- 分层枪声配合枪口闪光粒子(烟雾 + 火焰)。
- 射程达 64 格,两次射击间隔冷却时间为 1 秒。
隐藏左轮手枪
- 在每局开始后 60 秒(可配置)在附近的随机位置生成。
- 始终呈黄色发光状态,以便在拾取前保持可见(不会消失)。
- 只有平民可以拾取——如果杀手踩到它,它会以一定的初速度自动弹出,并有 3 秒的拾取延迟。
- 当平民拾取它时,他们会自动晋升为侦探,并获得左轮手枪剩余的弹药。
刀(仅限杀手)
- 对任何玩家造成一击必杀。
- 非杀手无法使用(改为原版 1 点伤害的拳头攻击)。
- 组合三叉戟命中 + 羊毛破碎的声音效果,并伴有血迹飞溅粒子。
防破坏保护
所有自定义物品(刀、左轮手枪、隐藏左轮手枪、神秘标记)无法手动丢弃。按下 Q 键或将物品拖出背包会立即将其返还,并伴有清晰的动作栏提示。防止因意外落入岩浆或悬崖而丢失物品,也阻止玩家通过故意丢弃角色物品来破坏游戏平衡。
✨ 视觉与音频优化
- 电影感标题叠加层:用于角色分配(“你的角色:凶手”)、回合开始(“第 2/4 回合”)、带有累计分数的回合结束横幅以及任务完成提示。
- 凶手感知:其他凶手头顶会出现微弱的灵魂火焰粒子,仅对同伙可见——在不暴露身份的情况下进行协调。
- 特定角色的简报音效:凶手的凋灵环境音(恐怖氛围)、侦探的钟声(正式感)、无辜者的碰杯声。
- 回合结束音效:无辜者获胜时的胜利号角,凶手获胜时的凋灵死亡音效。
- 右侧记分板 HUD:带有金色边框,显示回合数、角色和计时器——简洁且不碍事。
- 分层武器音效与粒子效果:提供令人满意的战斗反馈。
⚙ 要求
- Minecraft:1.21.1
- 加载器:Fabric
- Java:21+
- 必须安装在服务器和每个客户端上。
仅限多人游戏。 该模组在单人游戏中会加载,但无法独自启动比赛。至少需要 4 名玩家(默认值:5 以获得更好的平衡性,支持最多 32 人)。
? 命令
| 命令 |
描述 |
权限 |
/murder join |
加入大厅 |
所有人 |
/murder leave |
离开大厅 |
所有人 |
/murder status |
显示当前游戏状态 |
所有人 |
/murder task reveal <player> |
揭示角色(完成任务后) |
所有人 |
/murder start |
开始会话 |
OP |
/murder stop |
停止当前游戏 |
OP |
/murder config show |
打印当前配置 |
OP |
/murder config minPlayers <n> |
更改最少玩家数 |
OP |
/murder config duration <s> |
更改回合持续时间 |
OP |
/murder kick <player> |
移除一名玩家 |
OP |
? 两种构建变体
| 构建版本 |
调试命令 |
生物伤害 |
使用场景 |
| PUBLIC(本版本) |
关闭(无法重新启用) |
关闭 |
真实服务器,公开游玩 |
| DEBUG(仅限 GitHub 发布版) |
开启 |
开启 |
维护者单人测试 |
服务器管理员可以信任公共构建版的行为一致性,没有隐藏的作弊面——即使配置文件说否则,调试标志也会被强制设为 false,并在控制台中发出检测警告。
? 配置
所有设置都保存在 config/murdercraft.json 中,并可以通过 Mod Menu 实时调整:
- 游戏:最小/最大玩家数、游戏时长、开始倒计时、隐藏手枪延迟、每场会话的回合数、回合间延迟
- 角色:凶手数量、侦探数量
- 玩法:匕首一击必杀开关、友军伤害惩罚开关
- 生成:随机生成启用、半径、高度、免疫持续时间、世界边界启用、世界边界大小
- UI:自定义 HUD 开关、字幕开关
? 路线图
- 三角色系统(凶手 / 侦探 / 无辜者)
- 4 回合会话,每回合 15 分钟
- 拥有持久弹药的 2 发子弹手枪
- 手枪掉落规则(死亡、友军伤害、凶手自动丢弃)
- 隐藏手枪自动晋升
- 带有私密角色揭示的任务系统
- 凶手感知粒子
- 带伤害免疫的随机生成
- 可配置的世界边界
- 自定义物品的防掉落保护
- 标题叠加层 + 右侧记分板 HUD
- 带有安全标志的公共/调试构建变体
- 自定义 OGG 声音文件(目前使用原版声音)
- 持久化统计数据(击杀、胜利、MVP)
- 专用地图集成
- 通过 Architectury 实现 Forge / NeoForge 支持
? 社区与反馈
这是一个公开测试版——仍需进行真实的多人游戏测试,因此每一条反馈都非常宝贵。以下是联系我们的方式:
-
? 报告错误或崩溃 → 使用本页侧边栏中的 Issues 链接打开 GitHub issue。请包含模组版本(0.5.0-beta.7)、Minecraft 版本(1.21.1)、复现步骤以及任何崩溃日志或视频。
-
? 建议功能或分享游戏玩法想法 → 填写 MurderCraft 建议表单。所有提交都会被阅读并考虑在未来的更新中采用。
-
? 阅读源代码 → 使用侧边栏中的 Source 链接浏览 GitHub 仓库。欢迎通过 Pull Request 贡献代码。
感谢帮助塑造 MurderCraft!
? 许可证
根据 MIT 许可证 发布(请参阅源仓库中的 LICENSE 文件)——可以自由分支、修改和重新分发,只需署名即可。
? 鸣谢
- 直接规则集灵感:由 Squeezie & Théodore Bonnet 设计的“谋杀”游戏模式。此处实施的具体规则遵循他们的变体。
- 流派起源:Garry's Mod — Murder
- 其他玩法灵感:UHC、UHC Werewolves、Hypixel Murder Mystery
- 模组设计与开发:Remilulz_91
MurderCraft
A multiplayer Minecraft mod inspired by the Murder game mode designed by Squeezie & Théodore Bonnet (itself inspired by Garry's Mod Murder). Bluff. Paranoia. A knife in the dark.
Step into a tense party of suspicion: hidden killers stalk the crowd, a lone detective tries to spot them in time, and innocents have one job — stay alive. With only one armed defender, two bullets per pistol, and a single hidden pistol up for grabs mid-round, every match is a tightening spiral of fear, accusations, and split-second decisions.
⚠ Important attribution: The ruleset in this mod follows the variant designed by Squeezie & Théodore Bonnet (2 murderers who don't know each other directly, hidden pistol mid-game, friendly fire = lose your gun permanently, 4 rounds of 15 minutes, task-based reveal mechanic from round 3, 2 bullets per pistol). It does not reproduce the exact rules of the original Garry's Mod Murder.
✦ The Concept
At the start of each round, every player is secretly assigned one of three roles. No one knows who's who — and that's exactly the point.
| Role |
Count |
Weapon |
Goal |
| ☠ Murderer |
2 |
Knife (one-shot) |
Discreetly eliminate all innocents. The two murderers don't know each other directly — but they can spot each other via subtle soul-flame particles visible only to them. Murderers cannot pick up a pistol — it's auto-ejected with full velocity. |
| ⚭ Detective |
1 |
Pistol (2 bullets) |
Identify the murderers and shoot them. Shooting an innocent makes you permanently lose your gun (dropped on the ground with remaining ammo, only innocents can pick it up). |
| ☺ Innocent |
All others |
None |
Survive. Watch. Whisper warnings to the detective. Find the hidden pistol that drops mid-game to become the new Detective. |
Win conditions
- Innocents & Detective win if both murderers are eliminated, OR if the timer runs out.
- Murderers win if they kill every non-murderer before the timer ends.
? Session structure (4 rounds)
A complete session is 4 rounds of up to 15 minutes each. The team with the most round wins takes the session.
Between rounds, there's a 15-second pause for breathing room before roles are reshuffled and the next round begins.
? Random spawn with immunity
At every round start:
- All participants are teleported to random valid land positions within a configurable radius (default 200 blocks) of the world spawn (
/setworldspawn).
- Ocean, river, and deep ocean biomes are excluded — no one spawns in water.
- Players spawn 25 blocks in the air and benefit from 8 seconds of full damage immunity (configurable). Prevents fall damage, lava deaths, and instant-kills during the chaotic round start.
- Minimum distance between players is enforced (scales with player count): 60 blocks for 4 players, 30 blocks for 16, 20 blocks for 32+. Spawns are dispersed, never clumped.
- Action bar shows the immunity countdown:
? Damage immunity: 5s... followed by ⚠ You are no longer invulnerable! when it expires.
- All participants are automatically switched to survival mode for fair play.
Square world border
A configurable square world border is automatically set at session start, centered on the world spawn. Default size: 500 blocks across. Forces the action to happen in a defined zone — no more innocents running 5000 blocks away to hide. The original world border configuration is saved and restored when the session ends.
? Tasks (from round 3)
Starting at round 3, one task appears per round:
- Exploration — A glowing chest with a Mystery Token spawns nearby. First to grab the token wins.
- Crafting — A random recipe (torch, ladder, bread, paper, etc.) is announced. First to craft it wins.
The task winner receives a 30-second window to use /murder task reveal <player> and privately learn that player's role. Whether to share the info in voice chat is entirely up to the player — the mod just shows the role.
? Weapon system
Pistol (Detective only)
- 2 bullets per pistol (Squeezie ruleset). Once spent, the pistol becomes a useless click.
- Ammo persists across drops and pickups: a pistol that fired one bullet keeps 1 bullet remaining when picked up by anyone else.
- Visible ammo count in tooltip (green when loaded, red when empty) and action bar after each shot.
- Dry-click sound when trying to fire an empty pistol.
- Layered gunshot sound with muzzle flash particles (smoke + flame).
- Range up to 64 blocks, 1-second cooldown between shots.
Hidden pistol
- Spawns at a random nearby location 60 seconds (configurable) into each round.
- Always glowing yellow so it stays visible until picked up (never despawns).
- Only innocents can pick it up — if a murderer walks on it, it's auto-ejected with velocity and a 3-second pickup delay.
- When an innocent picks it up, they're automatically promoted to Detective with the pistol's remaining ammo.
Knife (Murderer only)
- One-shot kill on any player.
- Cannot be used by non-murderers (vanilla 1-damage punch instead).
- Combo trident-hit + wool-break sound with blood splatter particles.
Anti-griefing protection
All custom items (knife, pistol, hidden pistol, mystery token) cannot be dropped manually. Pressing Q or dragging out of inventory returns the item instantly with a clear action-bar message. Prevents accidental loss in lava, off cliffs, etc., and stops players from breaking the game by intentionally discarding their role items.
✨ Visual & audio polish
- Cinematic title overlays on screen for role assignment ("Your role: Murderer"), round start ("Round 2/4"), end-of-round banners with cumulative score, and task completion.
- Murderer awareness: subtle soul-flame particles appear above other murderers, visible only to fellow murderers — coordinate without revealing yourself to others.
- Role-specific briefing sounds: wither ambient for murderers (horror vibe), bell for detective (official), toast for innocents.
- End-of-round sounds: triumphant fanfare for innocent wins, wither death for murderer wins.
- Right-side scoreboard HUD with golden borders showing round, role, and timer — clean and out of the way.
- Layered weapon sounds and particles for satisfying combat feedback.
⚙ Requirements
- Minecraft: 1.21.1
- Loader: Fabric
- Java: 21+
- Must be installed on both server and every client.
Multiplayer only. The mod loads in singleplayer but cannot start a match alone. Minimum 4 players required (default: 5 for better balance, supports up to 32).
? Commands
| Command |
Description |
Permission |
/murder join |
Join the lobby |
Everyone |
/murder leave |
Leave the lobby |
Everyone |
/murder status |
Show current game state |
Everyone |
/murder task reveal <player> |
Reveal a role (after winning a task) |
Everyone |
/murder start |
Start the session |
OP |
/murder stop |
Stop the current game |
OP |
/murder config show |
Print current config |
OP |
/murder config minPlayers <n> |
Change min players |
OP |
/murder config duration <s> |
Change round duration |
OP |
/murder kick <player> |
Remove a player |
OP |
? Two build variants
| Build |
Debug commands |
Mob damage |
Use case |
| PUBLIC (this one) |
OFF (cannot be re-enabled) |
OFF |
Real servers, public play |
| DEBUG (GitHub releases only) |
ON |
ON |
Solo testing by the maintainer |
Server admins can trust the public build to behave consistently with no hidden cheat surface — debug flags are forced to false even if the config file says otherwise, with a console warning if detected.
? Configuration
All settings persist in config/murdercraft.json and can be tweaked live via Mod Menu:
- Game: minimum/maximum players, game duration, start countdown, hidden pistol delay, rounds per session, inter-round delay
- Roles: murderer count, detective count
- Gameplay: knife one-shot toggle, friendly-fire punishment toggle
- Spawn: random spawn enabled, radius, height, immunity duration, world border enabled, world border size
- UI: custom HUD toggle, subtitles toggle
? Roadmap
- Three-role system (Murderer / Detective / Innocent)
- 4-round sessions with 15-minute rounds
- 2-bullet pistol with persistent ammo
- Pistol drop rules (death, friendly fire, murderer auto-eject)
- Hidden pistol auto-promotion
- Task system with private role reveal
- Murderer awareness particles
- Random spawn with damage immunity
- Configurable world border
- Anti-drop protection on custom items
- Title overlays + right-side scoreboard HUD
- Public/Debug build variants with security flags
- Custom OGG sound files (currently uses vanilla sounds)
- Persistent statistics (kills, wins, MVP)
- Dedicated map integration
- Forge / NeoForge support via Architectury
? Community & feedback
This is a public beta — real multiplayer testing is still needed, so every piece of feedback is valuable. Here's where to reach out:
-
? Report a bug or crash → use the Issues link in the sidebar of this page to open a GitHub issue. Please include mod version (0.5.0-beta.7), Minecraft version (1.21.1), steps to reproduce, and any crash log or video.
-
? Suggest a feature or share a gameplay idea → fill out the MurderCraft suggestion form. All submissions are read and considered for future updates.
-
? Read the source code → use the Source link in the sidebar to browse the GitHub repository. Contributions via Pull Request are welcome.
Thanks for helping shape MurderCraft!
? License
Released under the MIT License (see LICENSE file in the source repository) — fork, modify, redistribute freely with attribution.
? Credits
- Direct ruleset inspiration: The "Murder" game mode designed by Squeezie & Théodore Bonnet. The specific rules implemented here follow their variant.
- Genre origin: Garry's Mod — Murder
- Other gameplay inspirations: UHC, UHC Werewolves, Hypixel Murder Mystery
- Mod design & development: Remilulz_91
评论 0
登录后参与评分
还没有评论,来抢沙发吧