Skip to content

refactor: code improvements & bug fixes - #44

Merged
Trixmas merged 31 commits into
masterfrom
refactor/code-improvements
Sep 29, 2026
Merged

Trixmas merged 31 commits into
masterfrom
refactor/code-improvements

Conversation

@Trixmas

@Trixmas Trixmas commented Sep 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

…est builder

- add OfflineTargetIdentity record and PunishmentRequest builder
- add active punishment in-memory set caches in PunishmentManager
- enforce strict duration suffixes in DurationParser
- replace deprecated string lookup in UserInfoCommand with UUID resolution
- add offline player target support for ban and mute commands
- send direct console feedback when sanctions are executed from console
- format staff sanction broadcasts with interactive action components
- track vanished status across moderator disconnect and reconnect sessions
… reports

- block private messaging commands for muted players in ModerationListener
- correct InteractiveChatListener priority to HIGHEST
- update report notification format and allow reporting offline players
- restore real-time TickableMenu updates in SanctionsMenu
eliminates the redundant Ability wrapper by placing name, trigger type, and lore formatting directly on AbilityManager with default lifecycle hooks
- Upgrade Java version to 26 and Lombok to 1.18.48
- Update Spigot version to 26.3 in project files and workflows
- Bump project version to 1.2.0 across submodules
… to EntityManager

Move active blighted entity tracking, attachment mappings, chunk rehydration, and periodic orphan sweeping out of BlightedEntitiesListener into a dedicated EntityManager component to isolate runtime state management from event handling.
…esRegistry

Unify custom blighted entity prototype registration within EntitiesRegistry and convert SpawnableEntitiesRegistry into a delegating read-only view.
…ator

Decouple probability-weighted spawn condition evaluation into SpawnEvaluator to reduce duplication across BlightedSpawnEngine and SpawnableEntitiesListener.
…e mob loot definitions

Add type-safe BlightedItem support, default COMMON rarity fallbacks, and a symmetrical 5-tier overload hierarchy to EntityLootTableBuilder. Update custom mob definitions to consume the streamlined loot table builder API.
…leanup in BlightedEntitiesListener and BlightedEntity
…NMS calls

- Fix Menu.fillPattern column calculation by preserving space character indices.
- Update SignInputMenu and SignInputListener for modern NMS sign packet structures.
- Streamline ItemRegistry lookups across BlightedSMP recipes.
…ndSender message target

- Add setCustomModelData(int) overload to ItemBuilder to avoid boxing.
- Add send(CommandSender) overload to InteractiveMessage for non-player targets.
…hutdown safety

- Synchronize IP_BAN removal in PunishmentManager active ban cache.
- Log SQLite close exceptions in PluginDatabase without throwing during teardown.
…ify block place listener

- Add Objects.requireNonNull validation for result item in ShapelessRecipeBuilder.
- Remove redundant hasItemMeta check before meta null check in BlightedBlockListener.
…igot 26.3

- Construct and transmit SignBlockEntity tile entity update packet with allowedPlayerEditor set.
- Restore block state and tile entity state when completing sign input session in SignInputManager.
…n, and fix Bonemerang duplication

- Cap standard vanilla book merging at vanillaMax while allowing custom over-capped books up to level 10 in UnsafeAnvilListener.
- Scale anvil repair XP cost dynamically for over-capped enchantment tiers.
- Match Hyperion by BlightedItem ID and attribute damager Player in WitherImpactAbility and KnightsSlamAbility.
- Accurately calculate and report total damage dealt in WitherImpactAbility.
- Tag thrown Bonemerang placeholder nugget with PDC key to prevent item duplication bugs.
@Trixmas Trixmas added enhancement New feature or request fix A code style fix labels Sep 29, 2026
@Trixmas Trixmas added plugin: BlightedSMP framework: bedrock Core framework shared between Blighted plugins labels Sep 29, 2026
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 755d41ef-28be-4824-b21e-3a11875a3162


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Trixmas Trixmas changed the title refactor: code-improvements refactor: code improvements & bug fixes Sep 29, 2026
@Trixmas Trixmas added performance plugin: BlightedMod Moderation plugin for BlightedSMP labels Sep 29, 2026
@Trixmas
Trixmas merged commit 4a618bb into master Sep 29, 2026
3 checks passed
@Trixmas
Trixmas deleted the refactor/code-improvements branch September 29, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request fix A code style fix framework: bedrock Core framework shared between Blighted plugins performance plugin: BlightedMod Moderation plugin for BlightedSMP plugin: BlightedSMP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant