Open Parties and Claims

Open Parties and Claims

39M Downloads

Suggestion: Add config option to disable claim welcomer notifications above hotbar

accendium opened this issue ยท 1 comments

commented

Currently, the mod displays claim welcomer notifications (e.g., "[Player]'s Claim", "Wilderness") above the hotbar whenever players enter/exit claimed areas. While useful, some players find these notifications distracting during gameplay (me).

Suggested Feature: Add a player config option to toggle these action bar notifications on/off.

Implementation Details:

  • Config option: claims.notifications.showClaimWelcomer (boolean)
  • Default value: true (maintains current behavior)
  • Category: General Claims
  • Location: Modify ServerPlayerClaimWelcomer.onPlayerTick() to check config before sending ClientboundSetActionBarTextPacket

Benefits:

  • Allows players to customize their UI experience
  • Maintains current functionality for those who want notifications
  • Simple toggle that doesn't affect claim detection or other mod features

Code Location: I believe notification logic is in ServerPlayerClaimWelcomer.java around line 84 where the action bar packet is sent