-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add group-based formatting and revamp configuration #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Completely redesigned config.yml with modular template system - Implemented group-based formatting with LuckPerms integration - Separated templates for hovers, prefixes, and name styles - Added channel persistence to remember player's last active channel - Created clear separation between channel prefixes and group prefixes - Improved message visibility isolation between channels - Added customizable chat format with flexible placeholders - Enhanced username styling with gradients, colors, and effects Closes #3
There was a problem hiding this 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 implements a complete revamp of the plugin configuration using a modular template system and introduces group-based formatting with LuckPerms integration for enhanced chat customization and channel persistence. Key changes include redesigned configuration files with separated templates for hovers, prefixes, and name styles, the addition of group-based formatting logic integrated with LuckPerms, and improvements to channel persistence and message formatting.
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/main/resources/plugin.yml | Updated softdepend to include LuckPerms. |
| src/main/resources/config.yml | Redesigned config with new options for group formatting, templates, and chat format. |
| src/main/java/com/noximity/remmyChat/services/PermissionService.java | Added LuckPerms integration via reflection for group-based formatting. |
| src/main/java/com/noximity/remmyChat/services/FormatService.java | Refactored message formatting to support group and channel prefixes and hovers. |
| src/main/java/com/noximity/remmyChat/models/** | Updated models (Channel and GroupFormat) to support new configuration structure. |
| src/main/java/com/noximity/remmyChat/listeners/ChatListener.java | Updated permission checks and channel management logic for improved functionality. |
| src/main/java/com/noximity/remmyChat/database/DatabaseManager.java | Enhanced database management with reconnection handling and channel persistence. |
| src/main/java/com/noximity/remmyChat/config/ConfigManager.java | Added template loading for hovers, prefixes, and name styles; loaded group formats. |
| src/main/java/com/noximity/remmyChat/RemmyChatPlaceholders.java | Updated placeholder logic for channel and group integration. |
| src/main/java/com/noximity/remmyChat/RemmyChat.java | Integrated the new PermissionService and updated plugin initialization. |
| pom.xml | Increased version and added LuckPerms dependency and repository. |
| chat-cooldown: 3 | ||
|
|
||
| # URL formatting options | ||
| # URL formatting optionsxw |
Copilot
AI
May 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment contains a typo ('optionsxw'). It should be corrected to 'URL formatting options'.
| # URL formatting optionsxw | |
| # URL formatting options |
| default: "<#4A90E2>%player_name%" | ||
| owner: "<bold><gradient:#FF0000:#FFAA00>%player_name%</gradient></bold>" | ||
| admin: "<italic><color:#CC44FF>%player_name%</color></italic>" | ||
| mod: "<underlined><color:#33CCFF>%player_name%</underlined>" |
Copilot
AI
May 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'mod' name style appears to have unbalanced formatting tags. Consider updating it to include a closing tag, e.g. "color:#33CCFF%player_name%", to ensure proper formatting.
| mod: "<underlined><color:#33CCFF>%player_name%</underlined>" | |
| mod: "<underlined><color:#33CCFF>%player_name%</color></underlined>" |
Closes #3