Plugin Renamed: The plugin name has been changed from MobWhitelist to EntityManager. This reflects the expanded functionality, as the plugin now supports both whitelisting and blacklisting of entities.
API Version Removal: The api-version entry has been removed from plugin.yml. This change allows the plugin to be compatible with a wider range of Minecraft versions.
Added
Flexible Entity Filtering: The plugin now supports a configuration-based approach for filtering various types of entities. Configuration options have been added to control whether certain non-mob entities, such as dropped items, players, arrows, fireballs, experience orbs, and tridents, should be filtered.
Configuration Files:
config.yml: Includes settings to enable or disable filtering for non-mob entities. Options include remove-dropped-items, remove-players, remove-arrows, remove-fireballs, remove-experience-orbs, and remove-tridents.
whitelist.yml: Defines entities that should be kept when the whitelist mode is enabled.
blacklist.yml: Lists entities that should be removed when the blacklist mode is enabled.
Non-Mob Entities: Added the ability to handle specific non-mob entities in the configuration. If any non-mob entities are listed in the blacklist or whitelist, appropriate warnings will be logged in the console if they are not handled by the plugin.
Fixed
Entity Type Issues: Updated entity type handling to ensure compatibility with actual Minecraft entity types. Removed incorrect entity types (SPLASH_POTION and DROPPED_ITEM) from the filtering logic.