MinecraftHub.io
Server Plugins

Paper Attribute Swap Fix

A small PvP-minded plugin that turns vanilla attribute swapping back on for Paper-family servers and lets admins toggle it in-game.

MinecraftHub-generated cover art for Paper Attribute Swap Fix: a floating snowy block island with server racks, under a sunset sky

Screenshot 1 of 1. MinecraftHub-generated cover art for Paper Attribute Swap Fix: a floating snowy block island with server racks, under a sunset sky

What Paper Attribute Swap Fix works with.

PlatformJava Edition
LoadersFolia, Paper, Purpur
Minecraft versions1.21.1, 1.21.11, 26.1.2, 26.2

Paper Attribute Swap Fix is a server plugin for Paper, Folia and Purpur that restores vanilla attribute swapping. Paper blocks the mechanic by default, which breaks the weapon-swap techniques PvP players expect. This plugin switches it back on with one command. Players install nothing.

Server software and versions

  • Folia, Paper and Purpur: Minecraft 1.21.1 to 26.2. The newest build needs no dependencies.

What it changes

Attribute swapping (MC-28289) is a vanilla mechanic. Swapping weapons within one or two ticks of an attack mixes attributes from both items. With the plugin enabled you can pair one weapon's base damage with another weapon's enchantments, and perform breach swaps, cooldown bypasses and other vanilla swap techniques.

  • Disables Paper's update-equipment-on-player-actions setting at runtime via reflection.
  • Preserves the attack cooldown ticker across item swaps using NMS reflection, countering Paper's cooldown reset.
  • Falls back to temporary attribute modifiers if the config toggle is unavailable.

Installation and commands

  1. 1.Pick the file that matches your Paper release line. The repository ships separate files for Paper 26.2, Paper 26.1 and Paper 1.21.
  2. 2.Drop it into the plugins folder and restart the server. The plugin install guide covers the details.
  3. 3.Run /pasf to toggle vanilla attribute swapping on or off.

The single command needs the pasf.toggle permission, which defaults to operators. No configuration is required.

Questions about Paper Attribute Swap Fix.

4 questions

How do I install Paper Attribute Swap Fix?

Put the file matching your Paper release line into the plugins folder and restart the server. Then run /pasf as an operator to toggle vanilla attribute swapping. Players do not install anything and join with a normal game as usual.

Does Paper Attribute Swap Fix work on Folia and Purpur?

Yes. Builds are listed for Folia, Paper and Purpur, and the newest release needs no dependencies. Pick the file that matches your server software release line, since the repository ships separate files for Paper 26.2, 26.1 and 1.21.

Why does Paper block attribute swapping?

Paper prevents the mechanic by default through its update-equipment-on-player-actions setting. In vanilla, swapping weapons within a few ticks of an attack mixes attributes from both items. This plugin disables that Paper behavior at runtime so PvP matches vanilla.

Can I enable attribute swapping without the plugin?

Yes. Change update-equipment-on-player-actions to false in paper-global.yml. The catch is that you cannot toggle it while the server is running, and you lose the plugin's cooldown ticker and attribute carryover fixes.

More Server Plugins like Paper Attribute Swap Fix.

Guides for Server Plugins.

Browse all Minecraft server plugins ↗