You define in the configuration file the raius around the player for which the limit is applied. You also set your maximum number of entities within this radius.
Actions blocked : - Feeding animals
- Creating Iron & Snow Golems
- Throwing chicken eggs and spawn eggs
- Note : the plugin takes into account all the entities of the area (even hostile mobs)
Installation :
Download the plugin
Drop it into your "plugins" folder of your server
Restart the server
Make sure that the activation message appears in console and that configuration is generated properly.
Code (YAML):
settings:
radius: 50
entity-limit: 20
messages:
action-cancelled: "§cAction annulée : trop d'entités dans la zone." item-refunded: "§aItem remboursé." reload-success: "§aConfiguration rechargée avec succès." no-permission: "§cVous n'avez pas la permission pour faire cela."