Pulse 1v1 PvP
在原版服务器上进行 1v1 PvP 决斗和小规模锦标赛。无需任何插件或模组。标记两名玩家,开始一轮比赛,数据包将自动完成其余工作:重置竞技场、发放装备、倒计时、计时器、判定胜者、系列赛比分以及下一轮比赛。
功能
- 下界合金装备:全套 Protection IV(保护 IV)下界合金护甲、盾牌、两把剑、一把斧头、金苹果、末影珍珠、风之疾冲、蜘蛛网、水桶、溅射型迅捷 II / 力量 II 药水以及不死图腾。
- 竞技场搭建与清理:一条命令即可在任何位置搭建一个由屏障墙围成的 31×31 竞技场(可选屏障天花板),并在每轮开始前完全清理。
- 冻结倒计时:两名选手被冻结且处于无敌状态时,显示 3-2-1 标题提示。
- 5 分钟回合(可配置),带有Boss 血条,显示剩余时间和实时不死图腾使用次数。
- 不死图腾计数:时间结束时,使用次数较少者获胜。
- 1 分钟突然死亡:当图腾使用次数相同时触发,根据剩余盔甲耐久度判定胜负,若仍相同则比较生命值,否则平局。
- Bo1 / Bo3 / Bo5 系列赛,带有“回合胜场”侧边栏和自动进入下一轮功能。
- 大厅:设置一个大厅坐标;比赛结束后,参赛选手将被传送回大厅并清空物品栏。非参赛选手位于无友军伤害的大厅队伍中。
- 淘汰赛助手:支持最多 16 名玩家(R16 → 四分之一决赛 → 半决赛 → 决赛 → 冠军),在聊天框中显示。初始为空。
使用方法
- 将 zip 文件放入
<world>/datapacks/ 目录,然后运行 /reload。
- 可选:执行
/function pulse:setup(启用 keep_inventory + immediate_respawn)。
- 站在竞技场西北角地板应处的位置,运行
/function pulse:arena/set_origin,然后运行 /function pulse:arena/build。
- 站在你设置的大厅位置,运行
/function pulse:lobby/set。
- 运行
/function pulse:match/set_bo3,然后运行 /tag <player1> add p1、/tag <player2> add p2,最后运行 /function pulse:round/start。
- 比赛结束后:运行
/function pulse:bracket/win {name:"<winner>"}(可选)和 /function pulse:match/reset。
命令
| 命令 |
用途 |
/function pulse:setup |
推荐的游戏规则设置 |
/function pulse:kit |
给自己发放装备 |
/function pulse:arena/set_origin · arena/build · arena/clear |
竞技场相关 |
/function pulse:round/start · round/stop |
开始 / 中止一轮比赛 |
/function pulse:round/auto_on · round/auto_off |
开启 / 关闭自动下一轮 |
/function pulse:match/set_bo1 · set_bo3 · set_bo5 · match/reset |
系列赛设置 |
/function pulse:lobby/set · lobby/go |
大厅设置与传送 |
/function pulse:bracket/seed {p:[...16 names...]} |
填充十六强对阵表 |
/function pulse:bracket/set {round:"qf",i:0,name:"Alice"} |
编辑某个位置 |
/function pulse:bracket/win {name:"Alice"} |
晋级一名胜者 |
/function pulse:bracket/show · bracket/reset |
显示 / 清空对阵表 |
回合时长:/scoreboard players set #len pulse_cfg <ticks>(默认 6000 = 5 分钟)。
比赛判定规则
- 死亡:另一名玩家赢得该回合(双 KO 为平局)。
- 断开连接:另一名玩家赢得该回合。
- 时间耗尽:不死图腾使用次数较少者获胜。
- 图腾使用次数相同:进入 1 分钟突然死亡。若无人生还,剩余总盔甲耐久度较多者获胜,若仍相同则比较生命值,否则平局。
- 平局不计入胜场,因此该回合需重赛。
- 率先获得 1 / 2 / 3 回合胜场(Bo1 / Bo3 / Bo5)的玩家赢得整场比赛。
兼容性
- Minecraft Java Edition 26.x(已在 26.2 版本测试通过)。
- 数据包:适用于 原版、Paper 和 Purpur 服务器以及单人游戏/LAN 局域网模式。
- 使用侧边栏和名字下方的记分板槽位以及
pulse_lobby 队伍,因此可能与使用相同元素的其他数据包或插件冲突。
- 竞技场清理会移除竞技场方块内外所有非玩家实体,因此请将其搭建在你的建筑区域之外。
Pulse 1v1 PvP
Run 1v1 PvP duels and small tournaments on a plain vanilla server. No plugins or mods needed. Tag two players, start a round, and the datapack does the rest: arena reset, kit, countdown, timer, deciding the winner, series score and the next round.
Features
- Netherite kit: full Protection IV netherite armour, shield, two swords, an axe, golden apples, pearls, wind charges, cobwebs, water buckets, splash Swiftness II / Strength II and a Totem of Undying.
- Arena build and clear: a 31×31 barrier-walled arena (optional barrier ceiling) built anywhere with one command, and fully cleared before every round.
- Freeze countdown: 3-2-1 titles while both fighters are frozen and invulnerable.
- 5-minute rounds (configurable) with a bossbar that shows time left and live totem pops.
- Totem-pop counting: when time runs out, fewer pops wins.
- 1-minute sudden death when pops are tied, decided by armour durability left, then health, then draw.
- Bo1 / Bo3 / Bo5 series with a Round Wins sidebar and automatic next round.
- Lobby: set a lobby point; fighters are sent back with an empty inventory after the match. Non-fighters are on a no-friendly-fire lobby team.
- Bracket helper for up to 16 players (R16 → QF → SF → Final → Champion), shown in chat. Starts empty.
How to use
- Drop the zip into
<world>/datapacks/ and run /reload.
- Optional:
/function pulse:setup (keep_inventory + immediate_respawn).
- Stand where the arena's north-west floor corner should be and run
/function pulse:arena/set_origin, then /function pulse:arena/build.
- Stand at your lobby spot and run
/function pulse:lobby/set.
/function pulse:match/set_bo3, then /tag <player1> add p1, /tag <player2> add p2, then /function pulse:round/start.
- When the match is over:
/function pulse:bracket/win {name:"<winner>"} (optional) and /function pulse:match/reset.
Commands
| Command |
Purpose |
/function pulse:setup |
Recommended gamerules |
/function pulse:kit |
Give yourself the kit |
/function pulse:arena/set_origin · arena/build · arena/clear |
Arena |
/function pulse:round/start · round/stop |
Start / abort a round |
/function pulse:round/auto_on · round/auto_off |
Auto next round |
/function pulse:match/set_bo1 · set_bo3 · set_bo5 · match/reset |
Series |
/function pulse:lobby/set · lobby/go |
Lobby |
/function pulse:bracket/seed {p:[...16 names...]} |
Fill round of 16 |
/function pulse:bracket/set {round:"qf",i:0,name:"Alice"} |
Edit a slot |
/function pulse:bracket/win {name:"Alice"} |
Advance a winner |
/function pulse:bracket/show · bracket/reset |
Show / empty the bracket |
Round length: /scoreboard players set #len pulse_cfg <ticks> (default 6000 = 5 min). |
|
How matches are decided
- Death: the other player wins the round (double KO = draw).
- Disconnect: the other player wins the round.
- Time up: fewer totem pops wins.
- Pops tied: 1-minute sudden death. If nobody dies, more total armour durability left wins, then more health, otherwise a draw.
- Draws give no point, so the round is replayed.
- First to 1 / 2 / 3 round wins (Bo1 / Bo3 / Bo5) takes the match.
Compatibility
- Minecraft Java Edition 26.x (tested on 26.2).
- Datapack: works on vanilla, Paper and Purpur servers and in singleplayer/LAN.
- Uses the sidebar and below-name scoreboard slots and a
pulse_lobby team, so it may conflict with other packs or plugins that use those.
- The arena clear removes all non-player entities in and around the arena box, so build it away from your builds.
评论 0
登录后参与评分
还没有评论,来抢沙发吧