感谢 Yushaa 提供原始脚本
? 概览
BanPact 是一款高风险的 Minecraft 插件,为 PvP 和生存玩法带来了真实的后果。玩家可以制作一本 Ban Pact(封禁契约) 书来标记另一名玩家处死 —— 如果目标在 1 小时内死亡,他们将被永久封禁。唯一能让其回归的方法?是一场戏剧性的、全服范围的复活仪式,必须持续防御整整 5 分钟。
这款插件非常适合硬核 SMP、Lifesteal(生命窃取)服务器、剧情驱动型社区,以及任何希望拥有有意义、高张力玩家互动的服务器。
⚡ 功能特性
? Ban Pact 系统
- 可制作的 Ban Pact 书 — 玩家使用稀有材料(回声碎片、下界合金块、回城指南针)制作一本强大的书,并通过右键点击从直观的 GUI 中选择目标。
- 1 小时死亡计时器 — 一旦玩家被“封禁契约”锁定,他们就有 1 小时的生存时间。如果在此期间死亡或断开连接,他们将立即被封禁。
- 坐标泄露 — 目标的坐标每 5 分钟向全服广播一次,营造出惊险刺激的追捕氛围。
- 命令拦截 — 在被契约锁定的期间,受罚玩家无法使用传送类命令(
/home、/tpa、/warp、/team warp、/team home),从而防止轻易逃脱。
- 史诗级特效 — 激活契约时,会有完整的标题屏幕通知、totem(图腾)音效以及致盲闪光效果。
- 生存奖励 — 如果目标成功存活满一小时,全服将收到胜利公告。
? Revival Ritual 系统
- 可制作的复活书 — 玩家可以制作一本复活书,以启动对任何已封禁玩家的复活仪式。
- 5 分钟防御仪式 — 在发起者位置放置一个讲台,上面有一个旋转盔甲架展示着被封禁玩家的头颅。仪式必须被防御 5 分钟。
- 可破坏的仪式 — 敌方玩家可以攻击仪式中的盔甲架造成伤害。如果仪式的生命值降至 0%,仪式失败,被封禁玩家将保持封禁状态。
- Boss 栏与计时器 — 全服 Boss 栏追踪仪式进度,并使用颜色指示生命值(绿色 → 黄色 → 红色)。
- 末影水晶光束 — 在仪式上方高空生成一个壮观的末影水晶,向下投射光束至讲台,产生令人震撼的视觉效果。
- 扩散的光环粒子 — 彩色粒子环从仪式向外脉冲扩散,并根据仪式剩余生命值改变颜色。
- 全服公告 — 仪式的位置和维度会广播给所有玩家,邀请攻击者或防守者参与。
? 精致的 GUI 系统
- Ban Pact GUI — 点击玩家头像选择目标。界面简洁,基于库存风格。
- Revive GUI — 浏览所有当前被封禁的玩家,并选择要复活的对象。
- 封禁书籍列表 GUI — 查看所有当前处于活跃 Ban Pact 状态的玩家,包括他们的最后已知坐标和世界。
?️ 合成配方
Ban Pact Book
[Echo Shard] [Netherite Block] [Echo Shard]
[Netherite Block] [Recovery Compass] [Netherite Block]
[Echo Shard] [Netherite Block] [Echo Shard]
? 使用方法
封禁一名玩家
- 制作或获取一本 Ban Pact 书
- 右键点击书本打开目标选择 GUI
- 点击玩家头像以激活契约
- 目标有 1 小时 的生存时间 —— 其坐标每 5 分钟泄露一次
- 如果他们死亡或断开连接,他们将被永久封禁
- 如果他们存活,契约结束,他们将获得庆祝
复活一名被封禁的玩家
- 制作或获取一本 Revive Book(复活书)
- 右键点击书本查看所有被封禁的玩家
- 选择一名玩家开始复活仪式
- 在你的位置生成带有视觉效果的仪式场地
- 防御仪式 5 分钟 — 敌人可以攻击它以降低其生命值
- 如果仪式成功存活,该玩家将被解除封禁并复活
- 如果仪式被摧毁,该玩家将保持封禁状态
Credits for Yushaa for the original skript
? Overview
BanPact is a high-stakes Minecraft plugin that brings real consequences to PvP and survival gameplay. Players can craft a Ban Pact book to mark another player for death — if the target dies within 1 hour, they are permanently banned from the server. The only way to bring them back? A dramatic, server-wide Revival Ritual that must be defended for 5 full minutes.
This plugin is perfect for hardcore SMPs, Lifesteal servers, lore-driven communities, and any server that wants meaningful, high-tension player interactions.
⚡ Features
? Ban Pact System
- Craftable Ban Pact Book — Players craft a powerful book using rare materials (Echo Shards, Netherite Blocks, Recovery Compass) and right-click to select a target from an intuitive GUI.
- 1-Hour Death Timer — Once a player is "ban pacted," they have 1 hour to survive. If they die or disconnect during this time, they are instantly banned.
- Coordinate Leaks — The target's coordinates are broadcast to the entire server every 5 minutes, creating a thrilling manhunt.
- Command Blocking — Pacted players cannot use teleportation commands (
/home, /tpa, /warp, /team warp, /team home) during the pact, preventing easy escapes.
- Epic Effects — Full title screen notifications, totem sound effects, and blindness flash when a pact is activated.
- Survival Reward — If the target survives the full hour, the entire server is notified with a victory announcement.
? Revival Ritual System
- Craftable Revive Book — Players can craft a Revive Book to initiate a revival ritual for any banned player.
- 5-Minute Defense Ritual — A lectern is placed at the initiator's location with the banned player's head displayed on a rotating armor stand. The ritual must be defended for 5 minutes.
- Destructible Ritual — Enemy players can attack the ritual's armor stands to deal damage. If the ritual's health drops to 0%, it fails and the banned player stays banned.
- Boss Bar & Timer — A server-wide boss bar tracks the ritual's progress with a color-coded health indicator (green → yellow → red).
- End Crystal Beam — A dramatic End Crystal spawns high above the ritual, projecting a beam down to the lectern for a stunning visual effect.
- Expanding Halo Particles — Color-coded particle rings pulse outward from the ritual, changing color based on the ritual's remaining health.
- Server-Wide Announcements — The ritual's location and dimension are broadcast to all players, inviting attackers or defenders.
? Polished GUI System
- Ban Pact GUI — Click a player head to select your target. Clean, inventory-based interface.
- Revive GUI — Browse all currently banned players and select who to revive.
- Ban Book List GUI — View all players currently under an active Ban Pact, including their last known coordinates and world.
?️ Crafting Recipes
Ban Pact Book
[Echo Shard] [Netherite Block] [Echo Shard]
[Netherite Block] [Recovery Compass] [Netherite Block]
[Echo Shard] [Netherite Block] [Echo Shard]
? How It Works
Banning a Player
- Craft or obtain a Ban Pact book
- Right-click the book to open the target selection GUI
- Click on a player's head to activate the pact
- The target has 1 hour to survive — their coords are leaked every 5 minutes
- If they die or disconnect, they are permanently banned
- If they survive, the pact ends and they are celebrated
Reviving a Banned Player
- Craft or obtain a Revive Book
- Right-click the book to see all banned players
- Select a player to start the Revival Ritual
- A ritual site spawns at your location with visual effects
- Defend the ritual for 5 minutes — enemies can attack it to reduce its health
- If the ritual survives, the player is unbanned and revived
- If the ritual is destroyed, the player stays banned
评论 0
登录后参与评分
还没有评论,来抢沙发吧