Skip to content

Bug: LuckPerms faction tag not appearing in chat #11

@derrickmehaffy

Description

@derrickmehaffy

Bug Report

Version

HyperFactions v0.5.2

Description

Faction tags are not appearing in chat when using LuckPerms for permission management. The faction prefix/tag that should display before player names in chat is missing.

Expected Behavior

When a player in a faction sends a chat message, their faction tag should appear in the format:

[TAG] [PREFIX] PlayerName [SUFFIX]: message

With relation-based coloring (green for same faction, pink for ally, red for enemy, gray for neutral).

Actual Behavior

Chat messages appear without the faction tag:

[PREFIX[ PlayerName [SUFFIX]: message

Environment

  • Permission Plugin: LuckPerms
  • HyperFactions Version: 0.5.2

Possibly Related

  • HyperPerms integration works correctly for faction tags
  • May be related to the ReflectiveHyperFactionsProvider or LuckPerms chat formatting hooks
  • Chat formatting was added in v0.2.0 with support for VaultUnlocked, HyperPerms, and LuckPerms

Steps to Reproduce

  1. Install HyperFactions 0.5.2 with LuckPerms
  2. Create a faction with a tag (e.g., /f create TestFaction)
  3. Send a chat message
  4. Observe that faction tag is missing

Additional Context

The chat formatting system uses ChatContext for thread-safe sender tracking and should display faction tags with relation-based coloring. This works with HyperPerms but appears broken with LuckPerms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions