EntityGuard allows you to take control of most entities in your server. It controls and limits the entity count for XP farms, iron farms, animal farms?etc. Every entity uses a small amount of ram in your server, so limiting and controlling the entities are very important. EntityGuard can remove entities that are over the limit you set and it’s done fully automatically.
EntityGuard will automatically check the entity count for players every certain amount of time. If it finds out that the entity count is over the allowance, it will then remove/ de-spawn mobs. It can remove/ de-spawn hostile mobs, passive mobs, iron golem, tamed pets?etc.
#Plugin Version. Do not change this. version: 1.0 # What to do if mob count is over the limit? #Set to: 0 = Just Warn the player; Set to: 1 = Remove the exceeding mobs; 2 = Remove all the mobs and kick player. action: 1 # Run the action every x minutes. auto_run_delay: 10 XP_Farm_Control: auto_run: true allowed_mob_amount_per_player: 100 check_radius: 32 control_mob_type: Spider: true Cave_Spider: true Skeleton: true Zombie: true ...(More.) Animal_Farm_Control: auto_run: true allowed_mob_amount_per_player: 100 check_radius: 32 control_mob_type: Pig: true Cow: true Sheep: true Chicken: true ...(More.) Iron_Farm_Control: auto_run: true allowed_mob_amount_per_player: 10 check_radius: 50 control_mob_type: Pet_Iron_Golem: true Wild_Iron_Golem: true # Kick Message kick_message: 'You are kicked because you have stacked too many mobs.' # Warn Message warn_message: 'You have stacked too many mobs that may lag the server!' # Maximum radius allowed to check for command /eg check. allow_check_radius: 200 # Show auto-run message in console. console_msg: true
This plugin’s development stage is still on beta, so please report any bug by posting a comment below