GracePeriod?️
一个轻量但功能丰富的 PaperMC 1.21.x 服务器宽限期插件。非常适合世界初始、重启后的冷却时间,或任何你希望在 PvP 开启前给予玩家一段安全适应期的场景。⚔️
主要功能 ⚙️
当宽限期激活时,所有形式的 PvP 都将被完全禁用——不仅是近战攻击,还包括箭矢、三叉戟、雪球、鸡蛋、火球、凋灵头颅、旋风 charge、潜影贝子弹、溅射药水、滞留药水云、火焰弹以及玩家引爆的 TNT。无任何漏洞可钻。?
随着倒计时进行,插件会自动向所有人广播状态。一条聊天消息会宣布开始并显示完整时长。⏳ 在剩余 5 分钟、3 分钟、1 分钟和 30 秒时会发送警告提示。当剩余 10 秒时,聊天栏将开始每秒一次的倒计时。? 时间结束后,所有玩家屏幕上会显示标题画面,并播放音效以提示 PvP 现已生效。?
配置文件中可启用可选的 BossBar,用于显示剩余时间,并在宽限期倒计时过程中平滑递减。?
命令 ?
/graceperiod start <seconds> — 为指定的秒数启动宽限期。
/graceperiod stop — 手动提前结束宽限期。
/graceperiod status — 检查当前是否有活跃的宽限期及其剩余时间。
上述命令均支持别名 /gp。
权限 ?
graceperiod.start — 启动宽限期(默认:op)
graceperiod.stop — 停止宽限期(默认:op)
graceperiod.status — 查看状态(默认:everyone)
配置 ?
几乎所有内容均可在 config.yml 中自定义——包括所有消息、音效、标题文本与计时、权限节点以及 BossBar 设置(开关、标题、颜色、叠加样式)。所有文本字段均支持 legacy &x 颜色代码、通过 &#RRGGBB 或 #RRGGBB 表示的十六进制颜色,以及完整的 MiniMessage 语法,包括渐变和彩虹文本效果。?
GracePeriod?️
A lightweight yet feature-packed grace period plugin for PaperMC 1.21.x servers. Perfect for world starts, post-restart cooldowns, or any event where you want to give players a safe window to get settled before PvP kicks in. ⚔️
What it does ⚙️
When a grace period is active, all forms of PvP are completely disabled — not just melee hits, but also arrows, tridents, snowballs, eggs, fireballs, wither skulls, wind charges, shulker bullets, splash potions, lingering potion clouds, fire charges, and player-primed TNT. No loopholes. ?
As the timer runs down, the plugin keeps everyone informed automatically. A chat message announces the start along with the full duration. ⏳ Warnings are broadcast at 5 minutes, 3 minutes, 1 minute, and 30 seconds remaining. When 10 seconds are left, a per-second countdown begins in chat. ? When time is up, a title screen is shown to all players and a sound plays to signal that PvP is now live. ?
An optional bossbar can be enabled in the config that displays the remaining time and smoothly depletes as the grace period counts down. ?
Commands ?
/graceperiod start <seconds> — Start a grace period for the given number of seconds.
/graceperiod stop — Manually end the grace period early.
/graceperiod status — Check whether a grace period is active and how much time is left.
The alias /gp works for all of the above.
Permissions ?
graceperiod.start — Start the grace period (default: op)
graceperiod.stop — Stop the grace period (default: op)
graceperiod.status — Check the status (default: everyone)
Configuration ?
Nearly everything is configurable in config.yml — all messages, sounds, title texts and timings, permission nodes, and bossbar settings (toggle, title, color, overlay style). All text fields support legacy &x color codes, hex colors via &#RRGGBB or #RRGGBB, and full MiniMessage syntax including gradients and rainbow text. ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧