Skip to content

Conversation

@matcldr
Copy link
Contributor

@matcldr matcldr commented May 19, 2025

  • 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

- 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
@matcldr matcldr self-assigned this May 19, 2025
@matcldr matcldr requested a review from Copilot May 19, 2025 00:18
Copy link

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 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
Copy link

Copilot AI May 19, 2025

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'.

Suggested change
# URL formatting optionsxw
# URL formatting options

Copilot uses AI. Check for mistakes.
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>"
Copy link

Copilot AI May 19, 2025

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.

Suggested change
mod: "<underlined><color:#33CCFF>%player_name%</underlined>"
mod: "<underlined><color:#33CCFF>%player_name%</color></underlined>"

Copilot uses AI. Check for mistakes.
@matcldr matcldr merged commit 866c70c into master May 19, 2025
1 check passed
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.

Suggestion - Chat Group Formatting

2 participants