Fix of BlockProtectionManager#10
Closed
Camil4Dev wants to merge 199 commits intoUniverseStudiosMC:clean-mainfrom
Closed
Fix of BlockProtectionManager#10Camil4Dev wants to merge 199 commits intoUniverseStudiosMC:clean-mainfrom
Camil4Dev wants to merge 199 commits intoUniverseStudiosMC:clean-mainfrom
Conversation
- Added CLAUDE.md to the .gitignore to prevent tracking of Claude specific documentation files. - Removed general .md exclusion to allow for other markdown files to be tracked.
…sability - Updated CLAUDE.md to include new guidelines on getter placement and error handling practices. - Revised PATCHNOTES_0.3.0.md to improve translations and formatting for better readability. - Streamlined admin command handling in AdminJobCommandHandler by removing deprecated commands and enhancing error logging. - Improved XP message formatting in XpMessageSettings to handle decimal values more effectively. - Updated example job configurations to include suppress_message for better user experience.
- Keep CLAUDE.md and PATCHNOTES_0.3.0.md locally - Resolve deletion conflicts from remote 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…curity issues - Extract common force join/leave logic into handleForceJobAction() - Fix regex DoS vulnerability in number formatting - Remove all markdown files except README.md - Improve code maintainability and security
Replace replaceFirst regex with safe while loop using substring operations. This completely eliminates any potential for regex backtracking attacks.
…d reliability - Replaced previous map-based tracking of furnace owners and last use timestamps with persistent NBT data storage. - Added methods for cleaning up NBT data when furnaces are broken or when tracking expires. - Enhanced the getFurnaceOwner method to retrieve owner information from NBT, improving data integrity and reducing memory usage. - Introduced utility methods to check if a block is a furnace type and to clean up NBT data effectively.
…ove deprecated methods - Removed unused commands: browse, list, info, reload, and debug from RewardsCommandHandler. - Updated getRewardsSubCommands method to reflect the removal of deprecated commands. - Enhanced language files to include new command structures and messages for better user guidance. - Improved overall code clarity and maintainability by eliminating unnecessary complexity.
…d structure - Deleted the AdminTestCommand class to streamline command handling. - Refactored language files to enhance message structures and add new command messages for better user guidance. - Improved consistency in message formatting across different commands.
… command functionality - Updated argument indexing in handleBonusGive, handleBonusRemove, and handleBonusList methods to accommodate additional parameters. - Improved error messaging for command usage to ensure clarity for users. - Refactored tooltip visibility setting in BaseMenu to use a more straightforward method. - Enhanced default lore formatting in ActionItemFormat for better readability. - Added a warning log in SingleMenuConfig for missing action item format configuration, ensuring better debugging.
…ngleMenuConfig to streamline logging and reduce unnecessary warnings.
… experience - Enhanced JobCommand to reorganize command categories for better clarity. - Added new command structure for rewards and admin commands in RewardsCommandHandler. - Introduced BoostCommandHandler for managing XP/money bonuses in AdminJobCommandHandler. - Removed deprecated commands and streamlined help messages in RewardsCommandHandler and MenuCommandHandler. - Updated language files to reflect changes in command structure and improve message clarity.
…d command structure and usability - Consolidated command handling in AdminJobCommandHandler by introducing a new 'give' command to manage XP, levels, and custom rewards. - Removed deprecated methods and streamlined help messages in RewardsCommandHandler to enhance clarity. - Updated language files to reflect changes in command structure and provide clearer user guidance. - Improved action item formatting and menu configurations for better user experience.
…ing and lore formatting - Updated material retrieval logic in JobActionsMenu to use source materials for better display. - Simplified lore generation by implementing a centralized approach for action requirements. - Introduced new method in MaterialUtils to map processed materials to their source equivalents, enhancing clarity in item displays. - Removed deprecated code related to action lore formatting, streamlining the overall structure.
… command handling - Introduced default formatting methods in JobAction to ensure consistent display of action names and lore. - Updated BoostCommandHandler to support a new 'custom' boost type, allowing for more flexible bonus management. - Refactored command argument handling in BoostCommandHandler to accommodate additional parameters for boost actions. - Improved help messages and command structure for better user guidance in BoostCommandHandler.
… improved command structure - Consolidated XP and Money bonus handling into a unified BoostCommandHandler, enhancing command flexibility. - Removed XpBonusCommandHandler and MoneyBonusCommandHandler to streamline code and reduce redundancy. - Updated command structure and help messages for better user guidance in BoostCommandHandler. - Improved argument handling and validation for boost commands, ensuring clearer usage instructions.
…or improved argument handling - Updated input sanitization in JobCommand and JobCommandHandler to ensure consistent character filtering and length limitation. - Enhanced BoostCommandHandler to support dynamic argument handling based on command context, improving command flexibility. - Removed deprecated methods and streamlined argument validation in BoostCommandHandler for clearer usage instructions. - Cleaned up unused imports in various command handler classes to improve code clarity and maintainability.
- Introduced a new BoostManagerGui for managing boost-related interactions in the user interface. - Enhanced BaseBonus and its subclasses (MoneyBonus, XpBonus) to support unique boost IDs, global status, and action types. - Updated BaseBonusManager to manage boosts more effectively, including methods for adding, removing, and retrieving boosts by ID. - Refactored BoostCommandHandler to support new boost management features, including dynamic argument handling and improved user feedback. - Added configuration options for boost calculation modes in config.yml to allow for customizable bonus behavior. - Improved input sanitization methods in JobCommandHandler for better command handling and security.
- Implemented logic in BaseBonusManager to calculate total multipliers based on configurable boost calculation modes: ADDITIVE, MULTIPLICATIVE, and HIGHEST. - Removed hardcoded boost calculation mode from BoostMenuConfig, allowing for dynamic configuration. - Improved handling of empty bonus lists to return a default multiplier of 1.0.
…essages - Updated BoostManagerGui to utilize integrated permission checks instead of configuration-based permissions. - Replaced hardcoded message retrieval with language manager calls for improved localization and maintainability. - Removed deprecated permissions and messages configuration from BoostMenuConfig and related files to streamline the codebase.
…mline code and improve maintainability.
… standardize identifier and format strings - Changed identifier from "jobsglobal" to "universejobs" in both placeholders for consistency. - Updated comment formats in methods to reflect the new identifier structure, ensuring clarity in usage.
- Introduced BoostPlaceholder to the PlaceholderManager, enabling support for boost-related placeholders. - Registered and unregistered BoostPlaceholder during PlaceholderAPI integration setup and teardown. - Added getter method for BoostPlaceholder to facilitate access in other components.
- Introduced block protection settings to track player-placed blocks and prevent XP farming. - Enabled block protection by default to enhance gameplay integrity.
- Added new messages for reward claiming scenarios in both English and French language files. - Included messages for already claimed rewards, job requirements, permission checks, unmet requirements, and cooldowns. - Updated GUI messages to improve user feedback regarding job and reward availability.
…ogic - Simplified reward message retrieval in RewardsCommandHandler by removing redundant command prefixes. - Updated GlobalLeaderboardPlaceholder to streamline leaderboard argument handling and improve clarity in method comments. - Consolidated placeholder management in PlaceholderManager by integrating UniversalPlaceholderExpansion, enhancing overall functionality and reducing complexity. - Cleaned up language files to ensure consistency and clarity in reward-related messages across English and French versions.
…ze FoliaManager - Updated task scheduling methods to use FoliaManager for improved performance and consistency. - Removed unnecessary wrappedTask cancellation logic, streamlining the codebase.
Add max level placeholder to message processing
Fix player head texture loading for offline players
…tection blacklist in config.yml to include additional plant materials for enhanced gameplay.
…y display - Replaced direct formatting with a new formatDecimal method to handle decimal values more effectively. - Ensured consistent display of XP and money values by removing unnecessary trailing zeros.
- Update wiki to use correct YAML format (named keys instead of lists)
- Fix ExpressionEvaluator to support {level} placeholder syntax
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Solution for when pistons move blocks
|
|
👋 This pull request has been automatically marked as stale because it has not had any activity in the last 30 days. It will be closed in 7 days if no further activity occurs. If you're still working on this:
|
|
🔒 This pull request has been automatically closed due to inactivity. Feel free to reopen it if you'd like to continue working on it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Solution for when pistons move blocks