LyttleAdmin
1.2.7A powerful, lightweight staff management plugin with advanced moderation features!
1.2.7latestAug 24, 2025 v1.2.7 This pull request makes several improvements to the project's build and release automation, as well as some internal refactoring and minor feature updates. The main theme is the consolidation and enhancement of CI/CD workflows, along with some codebase clean-up and dependency updates. CI/CD Workflow Improvements: * Consolidated the separatemain.ymlandalpha.ymlGitHub Actions workflows into a single unified workflow file,release-and-publish.yml, which now handles releases for both themainandalphabranches. This new workflow also adds steps to build artifacts, tag releases, and upload JAR files as GitHub releases. The old workflow files were removed. [[1]](diffhunk://#diff-f1aa31b040aa63ad53feecf5f41bcf0699b50576cc2b1f1ed23daf0d12b5fe8dR1-R144) [[2]](diffhunk://#diff-77705eb5ee9cd3186d976656ab5cd8d5177355a6a4f3631c004205b636830473L1-L57) [[3]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L1-L57) Dependency and Version Updates: * Updated the plugin version ingradle.propertiesfrom1.2.6to1.2.7. Codebase Refactoring: * Replaced usage of theConfigclass with the newYamlConfigclass inConfigs.java, updating both instance variables and constructor usage accordingly. * Refactored action bar handling inStaffCommand.javato use the sharedActionBarutility class, removing the customsetActionBarmethod and its associated state. [[1]](diffhunk://#diff-4d2e63385863a7805b1f245f9f73631c391af074941f26e79d0667e1c1ee7e28R11) [[2]](diffhunk://#diff-4d2e63385863a7805b1f245f9f73631c391af074941f26e79d0667e1c1ee7e28L348-R352) [[3]](diffhunk://#diff-4d2e63385863a7805b1f245f9f73631c391af074941f26e79d0667e1c1ee7e28L395-L411)1.2.7-ALPHA.1Aug 24, 2025 v1.2.7 This pull request consolidates and modernizes the CI/CD GitHub Actions workflows for publishing releases, and refactors some internal code to improve maintainability and consistency. The most significant changes include merging separate workflow files into a unified workflow, updating the plugin version, and refactoring configuration and action bar handling in the codebase. CI/CD Workflow Consolidation and Improvements: * Replaced the separate.github/workflows/main.ymland.github/workflows/alpha.ymlwith a single.github/workflows/release-and-publish.ymlworkflow. This new workflow handles bothmainandalphabranches, automates version tagging, builds artifacts, and publishes to GitHub Releases, Hangar, and Modrinth, reducing duplication and simplifying maintenance. (.github/workflows/release-and-publish.yml [[1]](diffhunk://#diff-f1aa31b040aa63ad53feecf5f41bcf0699b50576cc2b1f1ed23daf0d12b5fe8dR1-R144) .github/workflows/main.yml [[2]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L1-L57) .github/workflows/alpha.yml [[3]](diffhunk://#diff-77705eb5ee9cd3186d976656ab5cd8d5177355a6a4f3631c004205b636830473L1-L57) Version Update: * Updated the plugin version from1.2.6to1.2.7ingradle.properties. (gradle.properties [gradle.propertiesL2-R2](diffhunk://#diff-3d103fc7c312a3e136f88e81cef592424b8af2464c468116545c4d22d6edcf19L2-R2)) Codebase Refactoring: _Config Handling:_ * RefactoredConfigsto useYamlConfiginstead ofConfigfor all configuration files, improving type consistency and clarity. (src/main/java/com/lyttldev/lyttleadmin/types/Configs.java [src/main/java/com/lyttldev/lyttleadmin/types/Configs.javaL4-R27](diffhunk://#diff-0ee1a1a106253bbc4f7001394074ec2ce3d19f0cd94ac84f806f876ff7486423L4-R27)) _Action Bar Handling:_ * Refactored the action bar logic inStaffCommand: replaced the customsetActionBarimplementation with the sharedActionBar.setActionBarutility, removing duplicate code and centralizing action bar management. (src/main/java/com/lyttldev/lyttleadmin/commands/StaffCommand.java [[1]](diffhunk://#diff-4d2e63385863a7805b1f245f9f73631c391af074941f26e79d0667e1c1ee7e28R11) [[2]](diffhunk://#diff-4d2e63385863a7805b1f245f9f73631c391af074941f26e79d0667e1c1ee7e28L348-R352) [[3]](diffhunk://#diff-4d2e63385863a7805b1f245f9f73631c391af074941f26e79d0667e1c1ee7e28L395-L411)unspecifiedJul 28, 2025 v1.2.6 This pull request includes several changes across multiple files, focusing on workflow adjustments, version updates, dependency removal, and a minor code fix. Below is a categorized summary of the most important changes:Workflow Adjustments:
* Removed the workflow for publishing packages on the beta branch. This includes steps for publishing to GitHub Packages, Hangar, and Modrinth. * Updated the workflow to target themainbranch instead of thebetabranch for package publishing.Version Updates:
* Incremented the plugin version from1.2.4to1.2.6.Dependency Removal:
* Removed the file containing version information and dependencies for Paper API, LuckPerms API, and SQLite JDBC.Code Fix:
*Modified therunActionsmethod to always enable the action bar when a message is set, replacing the dynamicenableparameter with a hardcodedtrue.unspecified-ALPHA.14Jul 28, 2025 v1.2.6 This pull request includes several changes across multiple files, focusing on workflow adjustments, version updates, dependency removal, and a minor code fix. Below is a categorized summary of the most important changes:Workflow Adjustments:
* Removed the workflow for publishing packages on the beta branch. This includes steps for publishing to GitHub Packages, Hangar, and Modrinth. * Updated the workflow to target themainbranch instead of thebetabranch for package publishing.Version Updates:
* Incremented the plugin version from1.2.4to1.2.6.Dependency Removal:
* Removed the file containing version information and dependencies for Paper API, LuckPerms API, and SQLite JDBC.Code Fix:
*Modified therunActionsmethod to always enable the action bar when a message is set, replacing the dynamicenableparameter with a hardcodedtrue.1.2.4-ALPHA.13Jul 26, 2025 v1.2.4 This pull request introduces several updates to enhance role-based actions, improve code readability, and add new functionality for action bar messages. The changes include refactoring method and variable names, implementing dynamic action bar messages, and updating configuration files to support these enhancements.Code Refactoring and Cleanup:
* Refactored method and variable names inActionsConfigto use camelCase (onEnableandonDisable) for consistency. * Removed unused imports and logging references inStaffCommand.javafor cleaner code.Action Bar Enhancements:
* Added support for dynamic action bar messages inRoleActionwith newactionBarproperty. * Replaced the oldactionBarmethod inStaffCommand.javawith a more flexiblesetActionBarmethod, allowing custom messages and clearing the action bar when needed.Configuration Updates:
* Updated default configuration files (config.ymland#defaults/config.yml) to includeaction_barmessages for admin and moderator roles. * Corrected role-related tags in configuration files to distinguish between admin and moderator actions.Role Action Mapping:
* EnhancedRolesConfigLoaderto mapaction_barproperty from configuration files toRoleActionobjects.Version Update:
* UpdatedpluginVersioningradle.propertiesfrom1.2.3to1.2.4.1.2.3Jul 24, 2025 v1.2.3 This pull request introduces significant enhancements to the configuration and role management system in theLyttleAdminplugin. The changes include updating the plugin version, refactoring the code to centralize role-related actions, and adding new configuration types for better flexibility and maintainability. Additionally, it removes hardcoded role management logic and replaces it with a dynamic configuration-driven approach.Configuration Updates:
- Version Updates: UpdatedpluginVersionto1.2.3andpaperVersionto1.21.8ingradle.propertiesfor compatibility with newer versions. - Default Configs: AddeddefaultGeneralconfiguration inConfigs.javato support default values for general settings.Role Management Refactoring:
- Dynamic Role Actions: Replaced hardcoded role management methods (giveRole,removeRole, etc.) with a centralizedrunActionsmethod that dynamically handles role actions based on configurations. - Role Configuration System: Introduced new POJO classes (RolesConfig,RoleConfig,ActionsConfig,RoleAction,RoleChange,BroadcastConfig) to encapsulate role-related settings and actions.Code Simplification:
- Staff Mode Logic: ConsolidatedonStaffModeEnabledandonStaffModeDisabledlogic to use the newrunActionsmethod, removing redundant methods likeonStaffModeEnabledAdminandonStaffModeEnabledModerator. - Utility Enhancements: AddedRolesConfigLoaderutility for converting configuration objects into POJOs.Logging Improvements:
- Error Handling: Enhanced logging for errors during staff mode enable/disable actions to improve debugging. These changes improve the scalability and maintainability of the plugin by leveraging configuration-driven logic and reducing hardcoded dependencies.1.2.3-ALPHA.12Jul 23, 2025 v1.2.3 This pull request introduces significant enhancements to the configuration and role management system in theLyttleAdminplugin. The changes include updating the plugin version, refactoring the code to centralize role-related actions, and adding new configuration types for better flexibility and maintainability. Additionally, it removes hardcoded role management logic and replaces it with a dynamic configuration-driven approach.Configuration Updates:
- Version Updates: UpdatedpluginVersionto1.2.3andpaperVersionto1.21.8ingradle.propertiesfor compatibility with newer versions. - Default Configs: AddeddefaultGeneralconfiguration inConfigs.javato support default values for general settings.Role Management Refactoring:
- Dynamic Role Actions: Replaced hardcoded role management methods (giveRole,removeRole, etc.) with a centralizedrunActionsmethod that dynamically handles role actions based on configurations. - Role Configuration System: Introduced new POJO classes (RolesConfig,RoleConfig,ActionsConfig,RoleAction,RoleChange,BroadcastConfig) to encapsulate role-related settings and actions.Code Simplification:
- Staff Mode Logic: ConsolidatedonStaffModeEnabledandonStaffModeDisabledlogic to use the newrunActionsmethod, removing redundant methods likeonStaffModeEnabledAdminandonStaffModeEnabledModerator. - Utility Enhancements: AddedRolesConfigLoaderutility for converting configuration objects into POJOs.Logging Improvements:
- Error Handling: Enhanced logging for errors during staff mode enable/disable actions to improve debugging. These changes improve the scalability and maintainability of the plugin by leveraging configuration-driven logic and reducing hardcoded dependencies.1.2.2-ALPHA.11Jun 23, 2025 v1.2.2 This pull request updates the workflows for publishing packages, improves version handling, and refines command message functionality. The changes primarily focus on enhancing automation and user experience.Workflow Updates
* Renamed the workflow to "Release & Publish Packages (Alpha Branch)" and added detailed comments for each step. Integrated publishing to GitHub Packages, Hangar, and Modrinth platforms. * Renamed the workflow to "Release & Publish Packages (Beta Branch)" with similar updates as the Alpha workflow, including publishing to multiple platforms. * Renamed the workflow to "Release & Publish Packages (Beta Branch)" and changed the branch trigger frommaintobeta. Added publishing steps for GitHub Packages, Hangar, and Modrinth.Version Updates
* Updated the plugin version from1.2.1to1.2.2and incremented thepaperVersionfrom1.21.5to1.21.6.Command Improvements
* Enhanced the/lyttleadmincommand to dynamically fetch the plugin version usingplugin.getDescription().getVersionand send messages using theplugin.message.sendMessageRawmethod.Miscellaneous
* Removed thepermissionfield from thestaffcommand configuration.1.2.2-ALPHA+10Jun 23, 2025 v1.2.2 This pull request updates the workflows for publishing packages, improves version handling, and refines command message functionality. The changes primarily focus on enhancing automation and user experience.Workflow Updates
* Renamed the workflow to "Release & Publish Packages (Alpha Branch)" and added detailed comments for each step. Integrated publishing to GitHub Packages, Hangar, and Modrinth platforms. * Renamed the workflow to "Release & Publish Packages (Beta Branch)" with similar updates as the Alpha workflow, including publishing to multiple platforms. * Renamed the workflow to "Release & Publish Packages (Beta Branch)" and changed the branch trigger frommaintobeta. Added publishing steps for GitHub Packages, Hangar, and Modrinth.Version Updates
* Updated the plugin version from1.2.1to1.2.2and incremented thepaperVersionfrom1.21.5to1.21.6.Command Improvements
* Enhanced the/lyttleadmincommand to dynamically fetch the plugin version usingplugin.getDescription().getVersionand send messages using theplugin.message.sendMessageRawmethod.Miscellaneous
* Removed thepermissionfield from thestaffcommand configuration.1.2.1LyttleAdmin 1.2.1Jun 22, 2025 v1.2.1 This pull request introduces significant enhancements to theLyttleAdminplugin, focusing on improving the user experience, modernizing the codebase, and adding support for advanced message formatting. The most important changes include a complete overhaul of theREADME.mdfor better documentation, integration ofMiniMessagefor customizable message formatting, and the introduction of aGlobalConfigclass for centralized configuration management.Documentation Updates:
* README.md: Overhauled the documentation to include detailed sections for features, commands, permissions, installation, configuration, and support. Added badges, links, and visual dividers for improved readability.Code Enhancements:
* Introduced aGlobalConfigclass for centralized configuration management and updated theMessageclass initialization to includeglobalas a parameter.Message Formatting Improvements:
* Replaced legacy string replacements with theMiniMessagelibrary for advanced message formatting and introduced aReplacementsbuilder for cleaner and more maintainable code. * Updated thereloadcommand to useComponent.textfor sending messages, ensuring consistency with the new message formatting approach.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta