Compatibility
Minecraft: Java Edition
1.21.1
1.20.1ā1.20.2
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed CC-BY-ND-4.0
Published last month
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
.jarinto the server'smods/folder. - Clients do not need the mod installed.
Requirements
- Minecraft 1.20.1
- Forge 47.x
- Server-side only


