MonitoringMinecraft MonitoringMinecraft

Shield Sync

Плагин Paper

Плагин для Майнкрафт: щиты работают одинаково плавно для всех игроков, независимо от пинга.

184 скачивания 1 подписчик
Оцените первым

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 keepAlive packets.
  • 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.

Pretty much how it works, 150 ms is subtracted so shielding will feel synonymous to someone who's 30 ms. 150 ms is subtracted so shielding will feel synonymous to someone who's 30 ms.

Installation

  1. Put ShieldSync jar in your server plugins/ folder.
  2. Ensure PacketEvents is also in the folder.
  3. 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.
Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1071 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
AxisMine - ВаниллаPlus
6 онлайн
1.21.4 — 26.1.2 версия
Ванильный мир с сотнями уникальных механик и справедливой игрой! /free, pat-pat, emotecraft, Voice.
MigosMc
MigosMc Java + BE
1244 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
CLOUDWORLD
0 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат