Farm Limiter
Prevent mob farms from lagging your server with ease!
Description
Farm Limiter is a lightweight and configurable plugin that helps manage mob farms on your Minecraft server. It automatically limits excessive mob groups to prevent lag and optimize server performance. Whether you’re dealing with overcrowded chicken farms, villager breeders, or mob spawners left unchecked, Farm Limiter ensures your server runs smoothly without manual intervention.
Features
- Automatic Mob Limitation: Periodically removes excessive mobs in crowded areas.
- Excluded Entities: Specify mobs (e.g., villagers, armor stands) that should never be removed.
- Global Mob Farm Detection: Search and manage large mob groups across the entire map with a single command.
- Player Notifications: Sends optimized notifications to players when excess mobs are removed.
- Custom Configuration:
- Max number of mobs allowed per area.
- Search radius for mob detection.
- List of excluded entities.
- Custom messages for all actions.
- Permissions Support: Restrict the use of commands to specific roles or players.
- Optimized Performance: Minimal impact on server resources.
Commands
/farms Searches for mob farms near the player and removes excessive mobs. farmlimiter.farms
/farms global Scans the entire map for large mob farms and removes excessive mobs. farmlimiter.farms
Permissions
- farmlimiter.farms: Allows the use
Configuration
Here's an example
config.yml for easy setup:
settings:
max-entities-per-area: 10 # Maximum number of mobs allowed in one area
search-radius: 5 # Radius to search for mobs around players
check-interval: 600 # Interval for periodic checks (in ticks, 1 second = 20 ticks)
excluded-entities: # List of mob types to exclude from removal
- "VILLAGER"
- "ARMOR_STAND"
messages:
removed-excess-mobs: "&eToo many %type% in one area. Removed excess mobs."
only-players: "&cOnly players can use this command!"
no-permission: "&cYou do not have permission to use this command."
search-complete: "&aSearch complete! Found %count% large mob groups."
Installation
- Download the plugin .jar file.
- Place the .jar file in your server's plugins folder.
- Start or restart your server.
- Modify the config.yml file to suit your needs.
- Use /reload or restart the server to apply configuration changes.
Planned Features
- Per-World Settings: Apply different mob limits and rules for specific worlds.
- Logging: Keep track of removed mobs in a log file for administrative purposes.
- Advanced Notifications: Optional detailed logs sent to admins about mob removal.
Support
- Found a bug? Need help? Reach out via DISCORD
- Contributions are welcome! Submit your pull requests or suggestions.
Metrics
This plugin does not collect any data or use any external APIs.
Download Farm Limiter today and keep your server lag-free!
DISCORD:
![[IMG]](https://www.spigotmc.org/attachments/upload_2024-5-25_13-4-35-png.831477/)
CLICK HERE