Added
Permissions:
fastmud.event.*wildcard plugin permission.fastmud.event.place_dirt_over_waterplugin permission.fastmud.event.water_bucket_over_dirtplugin permission.fastmud.command.*wildcard plugin permission.fastmud.command.reloadplugin permission.fastmud.commandbase plugin permission.
Commands & Features:
/fastmud reloadplugin command.reloadbound method toFastMudclass andreloadConfigbound method toPluginFeatureManager.- Configuration file to configure the plugin.
- Startup banner display with global logger preference.
API & Utilities:
CommandGroupabstract class.PluginDefaultMessages.YOU_DONT_HAVE_PERMISSION.PluginPrefixes.CHAT.HumanUtilsclass to humanize data.DARK_RED,GREEN, andRESETcolors toAnsiColor.- Dedicated
AroundBlockOffsetsclass for block offsets.
Changed
Architecture & Clean Code:
- Refactored
PluginFeatureManagerandFastMudclasses to follow the Singleton pattern. - Refactored base package from
br.minilambdatocom.github.d3cryptofc.fastmud. - Moved
AnsiColorsfromutilstoconstantpackage. - Renamed
listenerspackage to singularlistener. - Separated each feature into its own listener.
- Applied code formatter and refactored code to use inline statements.
Block Iterators:
- Renamed
IceBlockFadeToWaterOverDirttoBlockFadeToWaterOverDirt. - Renamed
GetDirtAroundBlockGeneratortoGetDirtAroundBlockIteratorand createdGetDirtAroundBlockIterableto iterate dirts usingforloops. - Upgraded to
GetBlockAroundBlockIteratorfor improved flexibility and movedGetBlockAroundBlock*classes to theiterablepackage.
Fixed
- Naive dirt placement logic: changed from
UNDERwater toOVERwater. - Water flow over dirt issue so that it only affects the bottom block.
GetDirtAroundBlockGeneratorreturningnullwhenhasNextevaluates to true.
Documentation, Build & Chore
Build:
- Migrated build tool from Maven to Gradle.
- Added
projectRepositoryUrlproperty.
Documentation (README):
- Added Permissions, Configuration, and updated Compatibility sections.
- Added project logo, description, disclaimer, and security notice regarding malware in cloned projects.
- Removed feature version tags and revised text for clarity and grammar improvements.
Maintenance & Chore:
- Fixed typos across the codebase.
- Updated
.gitignoreto ignore all hidden files and directories (.*).