Skip to content

FancyHolograms: Add an option to refresh holograms on player's locale change#288

Open
SoSeDiK wants to merge 2 commits into
FancyInnovations:mainfrom
SoSeDiK:locale-refresh
Open

FancyHolograms: Add an option to refresh holograms on player's locale change#288
SoSeDiK wants to merge 2 commits into
FancyInnovations:mainfrom
SoSeDiK:locale-refresh

Conversation

@SoSeDiK

@SoSeDiK SoSeDiK commented Jul 6, 2026

Copy link
Copy Markdown

📋 Description

Adds an option to refresh holograms a player when their locale changes.

I display some server-side content that depends on player's client locale. Currently, I have to use the refresh interval, but this has two downsides: not seamless due to delay, and redundant updates for static holograms.

✅ Checklist

  • My code follows the project's coding style and guidelines
  • I have tested my changes locally and they work as expected
  • I have added necessary documentation (if applicable)
  • I have linked related issues using Fixes #issue_number or Closes #issue_number
  • I have rebased/merged with the latest main branch

🔍 Changes

Please provide a brief summary of the changes made in this PR.

  • Added a new config option and an event listener.

🧪 How to Test

Please describe how to manually test the changes made in this PR.

  1. Enable config option.
  2. Have static hologram with some dynamic placeholder.
  3. While observing a hologram, change locale on the client.
  4. Observe hologram refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant