Old PVP Combat

Quick rating

Community listing page, reviews here may not be monitored by the author.

Old PVP Combat

By azuriondeveOwner

No reviews yet

Old pvp for minecraft (remove new pvp from 1.9 can be enable back just use /oldpvp)

Mod Loaders
Minecraft

About

Description

OldPVP

Brings back pre-1.9 combat by removing the attack cooldown for all players on the server.


How it works

When a player joins or respawns, the mod runs:

attribute <name> minecraft:generic.attack_speed base set 9999999999.0

for each online player by name. No selectors, no client-side code — just a direct attribute command executed through the server console.


Command

/oldpvp <true|false>
Value Effect
true Enables legacy combat — attack speed set to 9999999999.0 (no cooldown)
false Restores vanilla combat — attack speed reset to 4.0

Requires OP level 2. Applies instantly to every online player.


Installation

  • Drop the .jar into the server's mods/ folder.
  • Clients do not need the mod installed.

Requirements

  • Minecraft 1.20.1
  • Forge 47.x
  • Server-side only