Legacy old PvP 将 1.8 战斗系统带回现代 Minecraft。支持疯狂点击、盾牌格挡、1.8 伤害、击退和护甲,且全部可配置。单个 jar 文件可在 Spigot、Paper 和 Folia(从 1.9 到 26.3) 上运行。
功能
每个功能都可以关闭、限制在特定世界中使用,或分配权限。
| 功能 |
作用 |
| 疯狂点击 |
移除 1.9 攻击冷却。战锤保留其冷却;三叉戟和长矛不保留。 |
| 无横扫攻击 |
所有版本中,横扫伤害、粒子效果和声音均被移除。 |
| 无 1.9 攻击音效 |
隐藏强力攻击、弱攻击、暴击、击退和无伤害的音效。 |
| 1.8 伤害机制 |
削弱斧头伤害,锋利度每级增加 +1.25 倍伤害,1.8 力量与虚弱效果,冲刺时触发暴击。 |
| 剑格挡 |
右键持剑进行格挡:受到伤害变为 (damage + 1) / 2。 |
| 1.8 击退机制 |
适用于玩家和生物,来自近战攻击、投射物和钓鱼竿,包括冲刺攻击、击退附魔和力量附魔。 |
| 1.8 护甲机制 |
每点提供 4% 减伤,无韧性计算,采用 1.8 保护算法。 |
| 1.8 生命恢复 |
饥饿值 18+ 时每 4 秒恢复 1 点生命值,无快速饱和治疗。 |
| 旧版金苹果 |
返回远古附魔金苹果的效果以及由 8 个金块合成的配方。 |
| 旧版钓鱼竿 |
鱼钩会将玩家和生物击退并像 1.8 那样飞行,但不会将玩家拉向自己。 |
| 投射物击退 |
雪球、鸡蛋和末影珍珠会将玩家击退。 |
| 无末影珍珠冷却 |
或自定义冷却时间。 |
| 合成与副手 |
阻止合成特定物品(默认为盾牌),或禁用副手功能。 |
| 小游戏额外功能 |
点击弓、点击装填弩及弩立即射击。默认全部关闭。 |
全版本剑格挡支持
- 1.21.5+ (Paper, Folia, Spigot): 使用原版
blocks_attacks 物品组件直接通过剑本身进行格挡。客户端显示 1.8 风格的格挡姿势。无需资源包。
- 旧版服务器: 插件生成一个资源包,将隐藏的剑伪装成盾牌。对于加载了该资源包的玩家,手持的剑即被视为该物品,因此格挡开始和结束在其客户端瞬间完成,无手部动画,完全模拟 1.8 体验。伤害、锋利度、击退、耐久度、经验修补以及
/enchant 等命令依然作用于真实的剑。
- 未加载资源包的玩家: 他们在格挡时会获得盾牌,松开按键后立即恢复为剑。
- 安装了 ViaVersion 5: 使用 1.21.2+ 客户端的玩家直接使用剑进行格挡,不涉及资源包。
安装设置
- 将 jar 文件放入
plugins/ 目录并重启服务器。
- 对于 1.21.5 之前的服务器,在
config.yml 中设置 sword-blocking.disguise.resource-pack.host.public-address 为玩家连接的地址,以便内置主机提供服务。你也可以将生成的 sword-blocking-pack.zip 托管在任何地方,并设置 resource-pack.url,或者将其合并到你自己的服务器资源包中。
/legacypvp status 显示当前激活的功能,/legacypvp reload 重新加载配置文件。两者都需要 legacypvp.admin 权限。
基岩版支持
前往 CloudBurstMC 上的 LegacyOldPvP,并按照那里的说明操作。
兼容性
- 服务端: Spigot、Paper、Folia 及其分支,支持 1.9 至 26.3。
- 客户端: 服务器接受的任何版本,包括通过 ViaVersion 或 ViaProxy 连接的现代客户端。
- 测试情况: 机器人已在 Paper 1.9.4、1.12.2、1.16.5、1.17.1、1.20.4、1.21.4 和 26.1,Spigot 1.20.4 和 26.1.2,Folia 26.1 以及 ViaVersion 环境下运行完整战斗套件测试,其中包括 150 ms 延迟的运行测试。此外,还手动测试了 Paper 1.9.4 和 1.20.4,Spigot 1.9.4 和 26.2,Folia 26.2 以及 Paper 26.3。
已知限制
- 在 1.9 到 1.11.1 版本中,没有 API 可以清除末影珍珠冷却时间;且在 1.9 和 1.10 中,钓鱼钩无法报告击中目标,因此这些部分在这些版本中被跳过。
- 在 1.21.5 之前的服务器上,当伪装资源包生效时,手持的剑对服务器而言是盾牌,因此其他读取手持物品的插件可能会看到盾牌。玩家执行的命令以及
disguise.real-sword-commands 中列出的命令,始终作用于真实剑。设置 disguise.hold: false 可将伪装限制仅在玩家格挡期间生效。
许可证
专有软件。保留所有权利。您可以在您的服务器上运行它;但不得再分发或修改它。
Legacy old PvP brings 1.8 combat back to modern Minecraft. Spam clicking, sword blocking, 1.8 damage, knockback and armour, all fully configurable. One jar runs on Spigot, Paper and Folia from 1.9 up to 26.3.
Features
Every feature can be turned off, limited to certain worlds, or given a permission.
| Feature |
What it does |
| Spam clicking |
No 1.9 attack cooldown. Maces keep theirs; tridents and spears do not. |
| No sweep attack |
Sweep damage, particle and sound are all gone, on every version. |
| No 1.9 attack sounds |
Hides strong, weak, crit, knockback and no-damage sounds. |
| 1.8 damage |
Nerfed axes, Sharpness +1.25 per level, 1.8 Strength and Weakness, crits while sprinting. |
| Sword blocking |
Right click a sword to block: damage becomes (damage + 1) / 2. |
| 1.8 knockback |
For players and mobs, from melee hits, projectiles and fishing rods, including sprint hits, Knockback and Punch. |
| 1.8 armour |
4% per point with no toughness, and 1.8 Protection maths. |
| 1.8 regeneration |
1 health every 4 seconds with 18+ food, no fast saturation healing. |
| 1.8 golden apples |
The old enchanted apple effects and the 8 gold block recipe. |
| Old fishing rods |
Hooks knock players and mobs back and fly like 1.8, without reeling players in. |
| Projectile knockback |
Snowballs, eggs and ender pearls push players back. |
| No ender pearl cooldown |
Or a custom one. |
| Crafting and off hand |
Block crafting certain items (shields by default), or turn the off hand off. |
| Minigame extras |
Click bow, click reload crossbow and crossbow insta shot. All off by default. |
Sword blocking on every version
- 1.21.5+ (Paper, Folia, Spigot): the sword itself blocks, using the vanilla
blocks_attacks item component. The client shows the 1.8 block pose. No resource pack needed.
- Older servers: the plugin generates a resource pack that draws a shield as the sword it is hiding. For players who load the pack, a held sword already is that item, so blocking starts and stops instantly on their own client, with no hand animation, exactly like 1.8. Damage, Sharpness, Knockback, durability, Mending and commands such as
/enchant all still apply to the real sword.
- Players without the pack: they get the shield only while blocking, and the sword back the moment they let go.
- ViaVersion 5 installed: players on 1.21.2+ clients block with the sword itself, no pack involved.
Setup
- Drop the jar in
plugins/ and restart.
- On servers older than 1.21.5, set
sword-blocking.disguise.resource-pack.host.public-address in config.yml to the address players connect to, so the built-in host can serve the pack. You can also host the generated sword-blocking-pack.zip anywhere and set resource-pack.url, or merge it into your own server pack.
/legacypvp status shows which features are active, and /legacypvp reload reloads the config. Both need legacypvp.admin.
Bedrock Edition
Go to LegacyOldPvP on CloudBurstMC, and follow the steps written there.
Compatibility
- Servers: Spigot, Paper, Folia and forks, 1.9 through 26.3.
- Clients: any version the server accepts, including modern clients through ViaVersion or ViaProxy.
- Tested: bots run the full combat suite on Paper 1.9.4, 1.12.2, 1.16.5, 1.17.1, 1.20.4, 1.21.4 and 26.1, Spigot 1.20.4 and 26.1.2, Folia 26.1, and a ViaVersion setup, including a run with 150 ms of latency. Paper 1.9.4 and 1.20.4, Spigot 1.9.4 and 26.2, Folia 26.2 and Paper 26.3 were also played by hand.
Known limits
- On 1.9 to 1.11.1 there is no API to clear the ender pearl cooldown, and on 1.9 and 1.10 fishing hooks cannot report what they hit, so those parts are skipped there.
- On servers older than 1.21.5, a held sword is a shield to the server while the pack disguise is active, so other plugins that read the held item may see a shield. Commands the player runs, and the commands listed in
disguise.real-sword-commands, always get the real sword. Setting disguise.hold: false limits the disguise to the moments a player is blocking.
Licence
Proprietary. All Rights Reserved. You may run it on your server; you may not redistribute or modify it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧