LyttleEssentialsСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачатьСкачать
ВЕРСИИ (12)
alpha
2.5.8-ALPHA.4
2.5.8-ALPHA.44 окт. 2025 г.52Minecraft: 1.21.9paper
Что нового
v2.5.8
This pull request introduces improvements to the vanish command logic and updates the configuration management system. The most significant changes include refactoring how player visibility is toggled and adding support for a new default configuration file.
### Vanish command logic improvements
* Refactored the `hidePlayer` and `showPlayer` methods into a single `hidePlayer(Player, Boolean)` method, which now takes a boolean to determine whether to hide or show the player, simplifying the code and reducing duplication.
* Updated the logic in `toggleVanish` and `setVanish` to use the new `hidePlayer` method with an explicit boolean parameter, ensuring clearer intent and consistent behavior.
### Configuration management enhancements
* Added a new `defaultGeneral` configuration (`YamlConfig`) to the `Configs` class, providing support for a default general configuration file.
* Initialized the new `defaultGeneral` configuration in the `Configs` constructor, loading from `#defaults/config.yml`.
alpha
2.5.8-ALPHA.3
2.5.8-ALPHA.34 окт. 2025 г.17Minecraft: 1.21.9paper
Что нового
v2.5.8
This pull request introduces significant improvements to command handling in the plugin, primarily by adding support for entity selectors (such as `@a`, `@p`, `@e`) to several commands. This enables commands to target multiple players or entities at once, streamlining administrative tasks. Additionally, several new commands are registered, and the configuration migration logic is updated to support new message keys and ensure smooth upgrades.
**Enhanced command selector support:**
* Updated `AdminTeleportCommand`, `FlyCommand`, and `GamemodeCommand` to use `SelectorUtil.resolveSelector`, allowing commands to target multiple players or entities using selectors. This includes improved error handling and tab completion for selectors. [[1]](diffhunk://#diff-1bbf1e7d41d6055ae25554217c42dcba24be369e0f5f3410ba5b047753542d5dR4-R10) [[2]](diffhunk://#diff-1bbf1e7d41d6055ae25554217c42dcba24be369e0f5f3410ba5b047753542d5dL43-R61) [[3]](diffhunk://#diff-1bbf1e7d41d6055ae25554217c42dcba24be369e0f5f3410ba5b047753542d5dL67-R105) [[4]](diffhunk://#diff-1bbf1e7d41d6055ae25554217c42dcba24be369e0f5f3410ba5b047753542d5dL92-R125) [[5]](diffhunk://#diff-1bbf1e7d41d6055ae25554217c42dcba24be369e0f5f3410ba5b047753542d5dR134) [[6]](diffhunk://#diff-1bbf1e7d41d6055ae25554217c42dcba24be369e0f5f3410ba5b047753542d5dL117-L120) [[7]](diffhunk://#diff-2c92853d14c6818a2f5e9ffd653bfe277ad58c347255b31258b4ef7c3b3c4af5R4-R10) [[8]](diffhunk://#diff-2c92853d14c6818a2f5e9ffd653bfe277ad58c347255b31258b4ef7c3b3c4af5L31-R112) [[9]](diffhunk://#diff-2c92853d14c6818a2f5e9ffd653bfe277ad58c347255b31258b4ef7c3b3c4af5L81-R141) [[10]](diffhunk://#diff-2c92853d14c6818a2f5e9ffd653bfe277ad58c347255b31258b4ef7c3b3c4af5R154-R158) [[11]](diffhunk://#diff-2c92853d14c6818a2f5e9ffd653bfe277ad58c347255b31258b4ef7c3b3c4af5L118-R173) [[12]](diffhunk://#diff-607ab97437aa02779e3e5becc03b066918d7016493e0c7a1898a192a15b5a12aR4-R8) [[13]](diffhunk://#diff-607ab97437aa02779e3e5becc03b066918d7016493e0c7a1898a192a15b5a12aL73-R75) [[14]](diffhunk://#diff-607ab97437aa02779e3e5becc03b066918d7016493e0c7a1898a192a15b5a12aL82-R95) [[15]](diffhunk://#diff-607ab97437aa02779e3e5becc03b066918d7016493e0c7a1898a192a15b5a12aL108-R112)
**New commands and features:**
* Registered new commands: `PtimeCommand`, `VanishCommand`, and `PweatherCommand` in the plugin's `onEnable` method.
**Configuration and migration improvements:**
* Enhanced the `migrateConfig` method to handle new config versions and add message keys for the new commands and selector-related errors, ensuring backward compatibility and smoother upgrades.
**Dependency and version updates:**
* Updated `pluginVersion` to 2.5.8 and `paperVersion` to 1.21.9 in `gradle.properties`.
These changes collectively make the plugin more flexible and robust, especially for server administrators managing multiple players or entities.
release
2.5.7
2.5.724 авг. 2025 г.21Minecraft: 1.21.8paper
Что нового
v2.5.7
This pull request focuses on simplifying and improving the project's CI/CD workflows and configuration management, as well as refining the chat message filtering logic. The main changes include consolidating multiple GitHub Actions workflows into a single, more flexible workflow, updating the plugin version, switching configuration handling to a new class, and enhancing message sanitization.
**Workflow and Release Automation Improvements:**
* Replaced the separate `.github/workflows/main.yml` and `.github/workflows/alpha.yml` with a unified `.github/workflows/release-and-publish.yml` workflow. This new workflow handles releases for both `main` and `alpha` branches, automates version tagging, builds artifacts, and publishes to GitHub Releases, Hangar, and Modrinth, streamlining the release process and reducing duplication. [[1]](diffhunk://#diff-f1aa31b040aa63ad53feecf5f41bcf0699b50576cc2b1f1ed23daf0d12b5fe8dR1-R144) [[2]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L1-L57) [[3]](diffhunk://#diff-77705eb5ee9cd3186d976656ab5cd8d5177355a6a4f3631c004205b636830473L1-L57)
**Configuration Management:**
* Updated the `Configs` class to use the new `YamlConfig` class instead of the old `Config` class for all configuration files, improving maintainability and consistency in config handling.
**Plugin Versioning:**
* Bumped the plugin version from `2.5.6` to `2.5.7` in `gradle.properties` to reflect the latest changes.
**Chat Message Filtering:**
* Enhanced the `filterMessage` method in `onPlayerChatListener.java` to more thoroughly remove color codes and MiniMessage tags, both before and after MiniMessage serialization, resulting in cleaner, safer chat output.
alpha
2.5.7-ALPHA.1
2.5.7-ALPHA.124 авг. 2025 г.7Minecraft: 1.21.8paper
Что нового
v2.5.7
This pull request consolidates and modernizes the project's CI/CD GitHub workflows, introduces a minor plugin version bump, improves chat message filtering, and migrates internal config handling to a new class. The main highlights are the unification of release workflows, enhancements to message sanitization, and a move to a new `YamlConfig` class for configuration management.
**CI/CD Workflow Consolidation and Improvements:**
* Replaces the separate `.github/workflows/main.yml` and `.github/workflows/alpha.yml` with a unified `.github/workflows/release-and-publish.yml`. The new workflow handles both `main` and `alpha` branches, automates tagging and release creation, and builds/releases artifacts to GitHub, Hangar, and Modrinth with dynamic channel selection. [[1]](diffhunk://#diff-f1aa31b040aa63ad53feecf5f41bcf0699b50576cc2b1f1ed23daf0d12b5fe8dR1-R144) [[2]](diffhunk://#diff-77705eb5ee9cd3186d976656ab5cd8d5177355a6a4f3631c004205b636830473L1-L57) [[3]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L1-L57)
**Codebase and Configuration Refactoring:**
* Migrates all usage of the `Config` class to a new `YamlConfig` class in `Configs.java`, updating both config and default config fields and their instantiations.
**Chat Message Filtering Improvements:**
* Improves the `filterMessage` method in `onPlayerChatListener.java` to more thoroughly strip color codes (both `§` and `&` variants) and MiniMessage tags, both before and after MiniMessage serialization.
**Version Bump:**
* Increments the `pluginVersion` in `gradle.properties` from `2.5.6` to `2.5.7`.
release
2.5.6
2.5.617 авг. 2025 г.16Minecraft: 1.21.8paper
Что нового
v2.5.6
Fix chat filters
alpha
2.5.6-ALPHA.29
2.5.6-ALPHA.2917 авг. 2025 г.12Minecraft: 1.21.8paper
Что нового
v2.5.6
Fix chat filters
release
2.5.5
2.5.528 июл. 2025 г.18Minecraft: 1.21.8paper
Что нового
v2.5.5
This pull request includes several changes to streamline workflows, update plugin configurations, and fix minor issues in the codebase. The most significant updates involve removing the beta branch workflow, updating plugin versions, and addressing code corrections in command handling and chat functionality.
### Workflow updates:
* Removed the entire workflow for the beta branch, including steps for publishing packages to GitHub Packages, Hangar, and Modrinth.
* Updated the workflow to reflect publishing packages for the main branch instead of the beta branch.
### Plugin configuration updates:
* Updated `pluginVersion` from `2.5.3` to `2.5.5` and `paperVersion` from `1.21.6` to `1.21.8`.
* Removed unused dependency version definitions for VaultAPI, Paper API, and LuckPerms API.
### Code corrections:
* Fixed a typo in the `heal` method by replacing `Attribute.GENERIC_MAX_HEALTH` with `Attribute.MAX_HEALTH`.
*Corrected method calls for fetching configuration messages and adjusted the `sendBroadcast` method's parameter order.
alpha
2.5.5-ALPHA.28
2.5.5-ALPHA.2828 июл. 2025 г.17Minecraft: 1.21.8paper
Что нового
v2.5.5
This pull request includes several changes to streamline workflows, update plugin configurations, and fix minor issues in the codebase. The most significant updates involve removing the beta branch workflow, updating plugin versions, and addressing code corrections in command handling and chat functionality.
### Workflow updates:
* Removed the entire workflow for the beta branch, including steps for publishing packages to GitHub Packages, Hangar, and Modrinth.
* Updated the workflow to reflect publishing packages for the main branch instead of the beta branch.
### Plugin configuration updates:
* Updated `pluginVersion` from `2.5.3` to `2.5.5` and `paperVersion` from `1.21.6` to `1.21.8`.
* Removed unused dependency version definitions for VaultAPI, Paper API, and LuckPerms API.
### Code corrections:
* Fixed a typo in the `heal` method by replacing `Attribute.GENERIC_MAX_HEALTH` with `Attribute.MAX_HEALTH`.
*Corrected method calls for fetching configuration messages and adjusted the `sendBroadcast` method's parameter order.
alpha
2.5.3-ALPHA.27
2.5.3-ALPHA.2723 июн. 2025 г.16Minecraft: 1.21.6paper
Что нового
v2.5.3
This pull request introduces several changes across workflows, plugin configuration, and code logic to improve functionality and streamline processes. The primary updates include enhancements to CI workflows for publishing packages, improvements to message filtering in the chat handler, and updates to plugin metadata.
### Workflow Updates:
* `.github/workflows/alpha.yml`, `.github/workflows/beta.yml`, `.github/workflows/main.yml`: Renamed workflows to reflect their respective branches and added steps for publishing artifacts to GitHub Packages, Hangar, and Modrinth platforms. Each workflow now includes detailed comments for clarity and uses JDK 21 for compatibility.
### Code Logic Enhancements:
* Improved the `filterMessage` method to make regex matching case-insensitive, remove unnecessary content such as links, emails, phone numbers, special characters, and domains, and streamline the message sanitization process. Removed redundant code for reading regex from a file.
* Updated `onPlayerChat` to include the player object in the broadcast message for better context.
### Plugin Metadata Updates:
* Simplified the permission for the `tp` command by removing the `others` suffix, making it more generic.
### Version Bumps:
* Incremented the plugin version from `2.5.2` to `2.5.3` and updated the Paper platform version from `1.21.5` to `1.21.6`.
alpha
2.5.3-ALPHA+24
2.5.3-ALPHA+2423 июн. 2025 г.27Minecraft: 1.21.6paper
Что нового
v2.5.3
This pull request introduces several changes across workflows, plugin configuration, and code logic to improve functionality and streamline processes. The primary updates include enhancements to CI workflows for publishing packages, improvements to message filtering in the chat handler, and updates to plugin metadata.
### Workflow Updates:
* `.github/workflows/alpha.yml`, `.github/workflows/beta.yml`, `.github/workflows/main.yml`: Renamed workflows to reflect their respective branches and added steps for publishing artifacts to GitHub Packages, Hangar, and Modrinth platforms. Each workflow now includes detailed comments for clarity and uses JDK 21 for compatibility.
### Code Logic Enhancements:
* Improved the `filterMessage` method to make regex matching case-insensitive, remove unnecessary content such as links, emails, phone numbers, special characters, and domains, and streamline the message sanitization process. Removed redundant code for reading regex from a file.
* Updated `onPlayerChat` to include the player object in the broadcast message for better context.
### Plugin Metadata Updates:
* Simplified the permission for the `tp` command by removing the `others` suffix, making it more generic.
### Version Bumps:
* Incremented the plugin version from `2.5.2` to `2.5.3` and updated the Paper platform version from `1.21.5` to `1.21.6`.
alpha
2.5.3-ALPHA+23
2.5.3-ALPHA+2323 июн. 2025 г.16Minecraft: 1.21.6paper
Что нового
v2.5.3
This pull request introduces several changes across workflows, plugin configuration, and code logic to improve functionality and streamline processes. The primary updates include enhancements to CI workflows for publishing packages, improvements to message filtering in the chat handler, and updates to plugin metadata.
### Workflow Updates:
* `.github/workflows/alpha.yml`, `.github/workflows/beta.yml`, `.github/workflows/main.yml`: Renamed workflows to reflect their respective branches and added steps for publishing artifacts to GitHub Packages, Hangar, and Modrinth platforms. Each workflow now includes detailed comments for clarity and uses JDK 21 for compatibility.
### Code Logic Enhancements:
* Improved the `filterMessage` method to make regex matching case-insensitive, remove unnecessary content such as links, emails, phone numbers, special characters, and domains, and streamline the message sanitization process. Removed redundant code for reading regex from a file.
* Updated `onPlayerChat` to include the player object in the broadcast message for better context.
### Plugin Metadata Updates:
* Simplified the permission for the `tp` command by removing the `others` suffix, making it more generic.
### Version Bumps:
* Incremented the plugin version from `2.5.2` to `2.5.3` and updated the Paper platform version from `1.21.5` to `1.21.6`.
release
LyttleEssentials 2.5.2
2.5.222 июн. 2025 г.35Minecraft: 1.21.6paper
Что нового
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.