Additional Documentation for SimpleItemClear Plugin
Configuration (config.yml) Settings:
Option
Type
Default
Description
intervalSeconds Integer 300 Time interval in seconds between each clear cycle.
broadcast Boolean true Whether to broadcast a message to all players after each clear cycle.
broadcastMessage String &e[ItemClear] &cAll ground items have been removed! The message displayed to players after clearing, supports Minecraft color codes (&).
clearHostileMobs Boolean false If true, hostile mobs (Monsters like zombies, skeletons, spiders) are cleared each cycle.
clearPassiveMobs Boolean false If true, passive mobs (Animals like cows, sheep, and tamed pets) are cleared each cycle.
How to Reload Config
- To apply changes without restarting the server, use a plugin reload command if implemented, or run:
/reload
Note: Reloading the entire server may cause temporary lag or other plugin issues. Implementing a specific reload command for SimpleItemClear is recommended.
Permissions
- Currently, SimpleItemClear runs automatically on a timer and does not require special permissions.
- Future versions may include commands for manual clearing or config reload with permission checks.
Troubleshooting Tips
- Ensure your config.yml is properly formatted and placed in the correct plugin folder.
- Check console logs for errors during plugin startup.
- If entities are not clearing as expected, verify the clearHostileMobs and clearPassiveMobs settings.
Future Plans
- Add manual clear commands (/itemclear clear) with permission support.
- Add in-game config reload command (/itemclear reload).
- Support whitelist or blacklist for specific mob types.
If you have questions or want to contribute, feel free to reach out on the plugin’s support page or repository.