Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
A lightweight yet powerful essentials plugin with integrated economy and smart moderation features!
v2.5.2
This pull request introduces several changes to enhance the messaging system in the LyttleEssentials plugin by replacing the use of raw string arrays for message replacements with a more structured Replacements class. Additionally, it adds support for global configuration management and improves the handling of raw messages. Below is a breakdown of the most important changes grouped by theme:
Messaging System Enhancements:
- Replaced
String[][]arrays with theReplacementsclass for message replacements across multiple commands, includingAdminTeleportCommand,FlyCommand,GamemodeCommand,HealCommand,HomeCommand, andRepairCommand. This improves readability and provides a more structured approach to handling dynamic message content.
Configuration Management:
- Added a new
GlobalConfigclass to manage global configurations. This was integrated into theLyttleEssentialsplugin initialization process and passed to theMessageclass for enhanced configuration handling.
Raw Message Handling:
- Updated the
LyttleEssentialsCommandto useComponent.textfor sending raw messages, improving compatibility with modern text components and enhancing message formatting.
Information
| Published on | June 1, 2025 |
|---|---|
| Downloads | 1 |
Platforms
Paper (1.21.5)