Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Lyttle-Development

A lightweight yet powerful essentials plugin with integrated economy and smart moderation features!

Report LyttleEssentials?

S

2.5.2-SNAPSHOT+7

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 the Replacements class for message replacements across multiple commands, including AdminTeleportCommand, FlyCommand, GamemodeCommand, HealCommand, HomeCommand, and RepairCommand. This improves readability and provides a more structured approach to handling dynamic message content.

Configuration Management:

  • Added a new GlobalConfig class to manage global configurations. This was integrated into the LyttleEssentials plugin initialization process and passed to the Message class for enhanced configuration handling.

Raw Message Handling:

  • Updated the LyttleEssentialsCommand to use Component.text for sending raw messages, improving compatibility with modern text components and enhancing message formatting.

Information

Published
June 1, 2025
1Downloads

Platforms

Paper
Paper
1.21.5