Skip to content

Option to disable tab and chat formatting#78

Merged
ezTxmMC merged 8 commits into2.0/devfrom
feature/disable-tab-chat
Dec 13, 2025
Merged

Option to disable tab and chat formatting#78
ezTxmMC merged 8 commits into2.0/devfrom
feature/disable-tab-chat

Conversation

@ezTxmMC
Copy link
Owner

@ezTxmMC ezTxmMC commented Dec 1, 2025

  • Disable chat formatting option
  • Disable tab formatting option
  • Testing

@ezTxmMC ezTxmMC added this to the 2.0.0-BETA+13 milestone Dec 1, 2025
@ezTxmMC ezTxmMC self-assigned this Dec 1, 2025
Copilot AI review requested due to automatic review settings December 1, 2025 05:53
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA f091c77.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds configuration options to disable chat and tab formatting in LuckPrefix. The feature allows users to selectively enable or disable the formatting features through new config options Chat-Formatting and Tab-Formatting.

  • Adds two new boolean configuration options with default values set to true
  • Implements early return checks in chat listeners and tab update methods
  • Updates documentation to use PaperMC's MiniMessage format reference

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
luckprefix-common/src/main/java/de/eztxm/luckprefix/common/config/MainConfig.java Adds config defaults, getter methods, and comments for the new formatting toggle options; also changes Long to long primitive for getUpdateTime()
luckprefix-common/src/main/java/de/eztxm/luckprefix/common/config/GroupsConfig.java Updates documentation comments to reference PaperMC's MiniMessage format URL
luckprefix-modern/src/main/java/de/eztxm/luckprefix/listener/ChatListener.java Adds early return when chat formatting is disabled; reorganizes config service initialization to top of method
luckprefix-modern/src/main/java/de/eztxm/luckprefix/LuckPrefix.java Adds early return in updateGroups() when tab formatting is disabled
luckprefix-modern-spigot/src/main/java/de/eztxm/luckprefix/listener/ChatListener.java Same changes as modern variant for chat formatting toggle
luckprefix-modern-spigot/src/main/java/de/eztxm/luckprefix/LuckPrefix.java Adds tab formatting check and refactors to reuse config variable
luckprefix-modern-paper/src/main/java/de/eztxm/luckprefix/listener/ChatListener.java Same changes as modern variant for chat formatting toggle
luckprefix-modern-paper/src/main/java/de/eztxm/luckprefix/LuckPrefix.java Adds early return in updateGroups() when tab formatting is disabled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

ezTxmMC and others added 7 commits December 1, 2025 11:27
…fig/MainConfig.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…fig/MainConfig.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
….java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…Prefix.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…fig/MainConfig.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ezTxmMC ezTxmMC merged commit f091c77 into 2.0/dev Dec 13, 2025
6 checks passed
@ezTxmMC ezTxmMC deleted the feature/disable-tab-chat branch December 13, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE-REQUEST]: LUCKPREFIX CHAT FORMATING

1 participant