Uh oh!
There was an error while loading. Please reload this page.
feat: essentials integration APIs and complete event coverage - #107
Merged
Conversation
…d teleport event Add HyperFactionsAPI convenience methods for faction home queries and zone flag checks so HyperEssentials can use stable API methods instead of direct Faction class reflection: - hasFactionHome(UUID), getFactionHomeWorld(UUID), getFactionHomeCoords(UUID) - getFactionHomeCooldownRemaining(UUID) - isZoneFlagAllowed(String, double, double, String) Add ESSENTIALS_BACK zone flag alongside existing ESSENTIALS_HOMES/WARPS/KITS for controlling /back teleport in zones. Defaults to allowed in both safe and war zones. Add FactionHomeTeleportEvent fired when a player teleports to faction home (both instant and warmup-completed), enabling HyperEssentials to subscribe via EventBus for back location tracking without coupling.
New post-events: - CombatTagEvent (TAGGED/EXPIRED/CLEARED), CombatLogoutEvent - PlayerTerritoryChangeEvent (territory entry/exit) - PlayerPowerChangeEvent (DEATH/KILL/NEUTRAL_KILL/REGEN/COMBAT_LOGOUT/ADMIN) - FactionChatEvent (FACTION/ALLY channels) - FactionTransactionEvent (treasury operations) - TeleportCancelledEvent (MOVED/DAMAGE/COMBAT_TAGGED/MANUAL) - FactionInviteEvent, FactionJoinRequestEvent (CREATED/ACCEPTED/DECLINED/EXPIRED) - ZoneCreateEvent, ZoneRemoveEvent New cancellable pre-events: - CombatTagPreEvent — prevent combat tagging - FactionChatPreEvent — filter/block faction chat messages - FactionTransactionPreEvent — block treasury transactions - FactionHomeTeleportPreEvent — cancel /f home teleports - FactionUnclaimPreEvent — prevent manual unclaims Wired into: CombatTagManager, PowerManager, ChatManager, EconomyManager, ClaimManager, TeleportManager, InviteManager, JoinRequestManager, ZoneManager, TerritoryNotifier, TerritoryTickingSystem, HomeSubCommand Updated API docs with complete event reference organized by system.
derrickmehaffy added a commit
that referenced
this pull request
Mar 16, 2026
Audit all docs against actual codebase and fix stale counts, missing sections, and outdated references across 11 files. CHANGELOG: add missing #106 (API expansion) and #107 (essentials integration) entries. Architecture: update to 480 classes, 16 managers, ~46 subcommands, ~76 GUI pages, add missing packages (messages/, economy/, importers). Config: migration chain v1→v8, add V7→V8 docs. Protection zones: 57 flags with new pve_damage, interaction flags (mount_use, light_use, npc/crate flags), transport mount_entry, and essentials integration flags. Commands: remove nonexistent AdminSentryHandler. Managers: add ChatHistoryManager to index and init order. Storage: version and importer updates. API: JitPack v0.12.0. README: remove Sentry rows, add BetterMap/HyperEssentials integrations, update all counts. CurseForge: reduce per-bullet emoji density while keeping section headers and semantic indicators.
86 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Essentials Integration
hasFactionHome(),getFactionHomeWorld(),getFactionHomeCoords(),getFactionHomeCooldownRemaining()— stable API replacing reflectionisZoneFlagAllowed()for homes/warps/kits/back restrictionsFactionHomeTeleportEventfor both instant and warmup teleportsNew Post-Events (10)
CombatTagEvent,CombatLogoutEvent,PlayerTerritoryChangeEvent,PlayerPowerChangeEventFactionChatEvent,FactionTransactionEvent,TeleportCancelledEventFactionInviteEvent,FactionJoinRequestEvent,ZoneCreateEvent,ZoneRemoveEventNew Cancellable Pre-Events (6)
CombatTagPreEvent,FactionChatPreEvent,FactionTransactionPreEventFactionHomeTeleportPreEvent,FactionUnclaimPreEventTest plan
./gradlew :HyperFactions:shadowJarbuilds successfully./gradlew :HyperFactions:test— 211 tests pass, 0 failures