Patient-Zero

一个为 Minecraft 添加 Hypixel 著名小游戏“感染”的插件。

资源图片
# Patient-Zero Patient-Zero 是对受欢迎游戏 Infection 在 Hypixel 上的重制版。有 3 个角色。Patient-Zero、Corrupted 和 Survivor。 ## 概述 - 命令 - 权限 - 配置 ## 命令 插件添加的可用命令列表

![命令列表](https://cdn.modrinth.com/data/5RQMBtQG/images/a8cb401775f6b95bbe4072deaf7d0703eed8c057.png) - `/ptz help` - `/ptz createmap ` - `/ptz deletemap ` - `/ptz addspawn ` - `/ptz setqueue-spawn ` - `/ptz setqueue-limit ` - `/ptz listmaps` - `/ptz join ` - `/ptz leave` ## 权限 ```yml permissions: ptz.join: description: 允许玩家运行 '/ptz join ' default: true ptz.leave: description: 允许玩家运行 '/ptz leave' default: true ptz.admin: description: 允许玩家访问所有 '/ptz ' 命令。 ``` ## 配置 ```yml roles: survivor: "Survivor" corrupted: "Corrupted" patientzero: "Patient Zero" messages: prefix: "" ptz-dead: "Patient-Zero died! It was %player%" ptz-dead-info: "Corrupted players will no longer respawn!" gamestart: "Game is starting in %time%s" roleassign: "Roles are assigned in %time%s" playerjoin: "+ You joined the queue (%player-count%/%max-player-count%)" playerleave: "- You left the queue (%player-count%/%max-player-count%)" broadcast-playerjoin: "+ %player% joined the queue (%player-count%/%max-player-count%)" broadcast-playerleave: "- %player% left the queue (%player-count%/%max-player-count%)" winners: survivors: "Survivors" ptz: "Corrupted" #
- 一个自定义标签,用于居中文本 (仅适用于 end-message) end-message: - "--------------------------------------" - " " - "
Patient-Zero " - " " - "
Winners: %winners% " - "
Kills: %kills% " - " " - "--------------------------------------" titles: roles: survivor: title: "ROLE: Survivor" subtitle: "Stay alive as long as possible!" patientzero: title: "ROLE: Patient-Zero" subtitle: "Secretly corrupt other players!" corrupted: title: "Corrupted" subtitle: "You have been corrupted!" corrupted-respawn: title: "You died!" subtitle: "Respawning in %time%s!" # %time% - 返回玩家重生前的剩余时间 # 玩家不能再复活时的标题 final-death: title: "You died!" subtitle: "You can't respawn anymore!" win: title: "YOU WIN!" subtitle: "" lose: title: "YOU LOSE!" subtitle: "" scoreboard: title: "Patient-Zero" lines: - " " - "Role: %role%" - " " - "Time left: %timer%" - " " - "Survivors: %survivors%" - "Corrupted: %corrupted%" - " " - "Kills: %kills%" - " " - "Map: %map%" settings: gametime: 120 executes: playerOnLeaveQueue: "/me Teleport me!" playerOnGameEnd: "/me Teleport me!" playerOnFinalDeath: "/me Teleport me!" quit-item: item: "minecraft:red_bed" name: "Quit (Right-click)" amount: 1 slot: 8 # 热条槽 9 lore: - " " - "Right-click while holding the item" - "to leave the queue." game-items: # Survivor 角色 survivor: bow: name: "Basic Bow" lore: - "Defend yourself!" arrows: name: "Arrow" amount: 32 lore: - "Deadly arrows" corrupted: sword: type: "minecraft:iron_sword" name: "Sword" lore: - "Eliminate survivors!" armor: helmet: type: "minecraft:iron_helmet" name: "Iron Helmet" leggings: type: "minecraft:iron_leggings" name: "Iron Leggings" boots: type: "minecraft:iron_boots" name: "Iron Boots" # Patient-Zero 角色 patientzero: bow: name: "Basic Bow" lore: - "Defend yourself!" sword: type: "minecraft:iron_sword" name: "Sword" lore: - "Eliminate survivors!" double-jump: enabled: false velocity: 0.5 cooldown: 10 # 秒为单位的冷却时间 cooldown-message: "You must wait %time% seconds before double jumping again!" # 您的地图将保存在这里 maps: [] ```