PvPOptimizer
服务器端优化,让 PvP 在 20ms 和 200ms 延迟下体验一致。所有功能均在服务器端运行——玩家无需安装任何模组。每个功能均可在 config.yml 中切换和调整,执行 /pvpopt reload 即可实时生效。
水晶与锚点 PvP
swing 命中判定 - 即使你的卡顿客户端从未发送攻击指令,挥动武器时也能命中你注视的水晶。
幽灵放置水晶 - 即使你的客户端仍显示旧的(已破碎的)水晶阻挡视线,也能成功放置新水晶。
延迟补偿锚点与黑曜石 - 当他人走到你放置的位置时,不再出现“幽灵方块”。
基于延迟的水晶距离加成 - 为高延迟玩家提供小幅且上限固定的距离加成。
战斗系统
命中缓冲 - 提前一到两个刻发出的命中会被暂存,并在条件允许时立即结算,而非被丢弃。
延迟补偿 - 高延迟玩家的命中、末影珍珠、药水与风之冲击均会被捕获并按时落地。
距离限制 - 拒绝超出正常攻击范围的命中(原版允许额外约 3 格),并支持回溯机制,确保对移动目标的合法命中依然有效。
属性交换宽容期(1.4 新增)- 即使在攻击过程中切换属性(例如中途换成长矛或重锤),只要槽位变更与命中相差一个刻,仍可正常生效。每次交换仅限一次命中,符合原版逻辑。
可选:自定义命中延迟、1.8 风格无攻击冷却、击退倍数。
盾牌与图腾
即时举盾(可配置延迟)及可调的剑类工具禁用时间。
晚举盾宽容 - 若你的盾牌在你的延迟窗口内举起,该命中将被视为已格挡。
图腾交换宽容 - 致命伤害会等待你的延迟窗口,以便你正在交换的图腾能够激活。
末影珍珠、药水与风之冲击
珍珠捕捉(1.4 新增)- 你自己的珍珠对你拥有更大的碰撞箱,并根据其在屏幕上的位置进行检测,使任何延迟下都能实现风之冲击珍珠捕捉。
落在玩家头上 - 向玩家投掷末影珍珠会使你落在其头顶,而非进入其体内。
即时溅射 - 垂直向下投掷的药水会在你脚下立即产生溅射效果。
即时风跃 - 在地面向脚下投掷的风之冲击会立即爆发,提供一致的推进效果。
可调节的珍珠伤害、冷却时间与投射物速度。
管理员工具
/pvpopt(仅 OP 可用):
status - 查看 TPS、MSPT 及每位玩家的延迟
ping <player> <ms|off> - 为玩家添加测试延迟
debug <player> - 实时记录某玩家的输入数据
reload - 重新加载配置文件
要求
Paper 1.21.11(使用 Paper 专属 API,不兼容 Spigot)
Java 21
PvPOptimizer
Server-side tweaks that make PvP feel the same at 20ms and 200ms. Everything runs on the server - players don’t need any mods. Every feature can be toggled and tuned in config.yml, and /pvpopt reload applies changes live.
Crystal & Anchor PvP
Swing hit-reg - breaks the crystal you’re looking at when you swing, even if your laggy client never sent the hit.
Ghost crystal placing - places your crystal even when your client still shows the old (already broken) one in the way.
Lag-compensated anchors & obsidian - no more ghost blocks when someone walks into the spot you placed on.
Ping-based crystal reach - a small, capped reach bonus for high-ping players.
Combat
Hit buffer - a hit sent a tick or two early is held and lands the moment it can, instead of being eaten.
Lag compensation - high-ping players’ hits, pearls, pots and wind charges are caught up so they land on time.
Reach limit - rejects hits past normal reach (vanilla allows ~3 extra blocks), with rewind so legit hits on moving players still count.
Attribute swap grace (new in 1.4) - attribute swapping (e.g. swapping to a spear or mace mid-hit) works even when your slot change and hit arrive a tick apart. One hit per swap, like vanilla.
Optional: custom hit delay, 1.8-style no attack cooldown, knockback multipliers.
Shields & Totems
Instant shield raise (configurable delay) and adjustable axe-disable time.
Late-block grace - if your shield comes up within your ping window, the hit counts as blocked.
Totem swap grace - a lethal hit waits for your ping window so a totem you were swapping in still pops.
Pearls, Pots & Wind Charges
Pearl catching (new in 1.4) - your own pearl gets a bigger hitbox against you, checked against where it was on your screen, so wind-charge pearl catches work at any ping.
Land on players - pearling into someone puts you on their head instead of inside them.
Instant splash - pots thrown straight down splash at your feet immediately.
Instant wind jump - wind charges thrown at your feet on the ground burst instantly for a consistent boost.
Adjustable pearl damage, cooldowns and projectile speeds.
Admin Tools
/pvpopt (op only):
status - TPS, MSPT and every player’s ping
ping <player> <ms|off> - add test latency to a player
debug <player> - log a player’s inputs live
reload - reload the config
Requirements
Paper 1.21.11 (uses Paper-only APIs - not Spigot)
Java 21
评论 0
登录后参与评分
还没有评论,来抢沙发吧