Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/Simple Combat Log
Все версииCleaner package structure & state ownership

Cleaner package structure & state ownership

Release3 мес. назад

Список изменений

Refactor — no functional changes

This release is a pure code refactor. Gameplay behaviour is identical to the previous version.


Package structure

Packages have been renamed to follow Java conventions (lowercase):

BeforeAfter
...Utils...util
...Combat...combat
...Config...config
...Listener...listener

What changed

CombatManager (new: combat package)

  • Now fully owns combatTimers, activeTimers and bossBars maps
  • Listeners no longer touch state directly — all changes go through the public API

PluginConfig (new: config package)

  • Centralises every config.getString / getBoolean / getInt call
  • Single instance passed to all listeners on startup

Listener split

  • CombatTagListener — damage, projectile, explosion and enderpearl tagging
  • CombatRestrictionListener — elytra, teleport, command block, mending, riptide
  • CombatZoneListener — proximity tagging on join
  • CombatLogoutListener — disconnect handling
  • AntiKillAbuse — kill-farming detection
  • WorldGuardListener — region entry guard (registered only when WorldGuard is present)

CombatLog (main class)

  • Reduced to wiring only: config → manager → listeners
  • registerListeners() is the single place to see which listeners are active

Migration

No config changes. No permission changes. No command changes. Simply replace the old jar with the new one and restart.

Метаданные

Канал релиза

Release

Номер версии

1.15

Загрузчики

Paper
Purpur

Версии игры

1.21–1.21.11

Загрузок

8.0K

Дата публикации

3 мес. назад

Загрузил

ID версии

Главная