Shield Sync
1.0Shield Sync attempts to simulate how shields feel on lower ping to every player regardless of ping.
ShieldSync
ShieldSync is a Paper plugin that keeps shield raise timing consistent across different pings.
In vanilla, shields have a 5 tick (250 ms) raise delay built in, regardless of ping. However, when you are higher ping, the delay that raises your shield will be the 5 tick delay + your ping. What this mod does is subtract your ping from the 5 tick delay, which reduces the shield delay closer to 250 ms regardless of ping, simulating how shielding would be on lower ping.
NOTE: This mod has only been tested on 1.21.11. Use this version for the best results. DM me on discord (pheological) if you want another version for your server.
What It Does
- Fetches a players ping using
keepAlivepackets. - Converts ping into shield compensation ticks.
- Due to how the ticking system works, the ping must be calculated into ticks. This means that the delay can only be reduced by multiples of 50 ms. For example, if a player is 80 ms, it can only reduce the delay by 50 ms (1 tick), so the shields will feel like what it would on 30 ms, not 0. If they are 180 ms, itll reduce it by 150 ms (3 ticks), and it'll feel like 30 ms.
- If ping is over 250 ms, it'll remove all 5 ticks.

150 ms is subtracted so shielding will feel synonymous to someone who's 30 ms.
Installation
- Put
ShieldSyncjar in your serverplugins/folder. - Ensure PacketEvents is also in the folder.
- Start/restart the server.
Commands
/shieldsync enable- Enable ShieldSync./shieldsync disable- Disable ShieldSync./shieldsync status- Show whether ShieldSync is enabled./shieldsync debug- Toggle debug output for all players./shieldsync debug <player>- Toggle debug output filtered to one player.
Notes
- This plugin does not use NMS or reflection.
- PacketEvents is used as an external dependency plugin (not shaded).
- Debug output is intended for testing/tuning and can be noisy.
Credits
- xSweetJapan for idea (sweetjapan on discord)
- Axionize for ping fetching implementation, I used the code from Knockback Sync.
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta