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?

Release
2.4.2

Stualyttle released LyttleEssentials version 2.4.2 on May 3, 2025

2.4.2

This pull request includes updates to workflows, versioning, and command implementations in the LyttleEssentials plugin. Key changes include upgrading Java versions in workflows, updating plugin and platform versions, improving permission checks, and enhancing code readability and maintainability.

Workflow Updates:

  • Upgraded Java version from JDK 17 to JDK 21 across .github/workflows/alpha.yml, .github/workflows/beta.yml, and .github/workflows/main.yml. Changed the distribution from temurin to corretto for compatibility.

Version Updates:

  • Updated pluginVersion to 2.4.2 and paperVersion to 1.21.4 in gradle.properties to reflect the latest supported versions.

Command Enhancements:

  • AdminTeleportCommand:

    • Added granular permission checks for self, other, and general teleportation commands.
    • Replaced player.getName() with getDisplayName(player) for better user display consistency.
  • FlyCommand:

    • Improved permission handling by adding a top-level check for lyttleessentials.fly before proceeding.
    • Simplified player-not-found logic by removing redundant checks.
  • GamemodeCommand:

    • Streamlined permission checks and removed unnecessary nested conditions for better readability.
    • Introduced getDisplayName(player) for consistent messaging.
  • HomeCommand:

    • Added specific permissions for setting, deleting, and using home commands for self and others.
    • Used getDisplayName(player) for improved player identification in messages.
  • RepairCommand:

    • Refactored permission checks and usage messages for clarity and consistency.

General Improvements:

  • Replaced mutable fields with final where applicable (e.g., plugin in AdminTeleportCommand) to enhance immutability.
  • Removed redundant checks and assertions across commands for cleaner code.

These updates collectively improve the maintainability, security, and functionality of the plugin.

Information

Published onMay 3, 2025
Downloads2

Platforms

Paper Paper (1.21.4)