Simple Paper plugin to limit mob spawning under certain conditions.
Can also remove the AI of mobs while spawning (make them "dumb") while trying to still keep certain mob farm types working.
Command | Permission | Description |
---|---|---|
/moblimit |
moblimit.command |
Main plugin command. Get current config. |
/moblimit reload |
moblimit.command.reload |
Reload the plugin config |
/moblimit set chunk <amount> |
moblimit.command.set |
Set chunk amount |
/moblimit set global <amount> |
moblimit.command.set |
Set global amount |
/moblimit set breeding <amount> |
moblimit.command.set |
Set breeding chunk limit |
/moblimit set purge true/false |
moblimit.command.set |
Set whether or not to purge mobs on chunk load |
# Limit of monsters in a chunk
chunk: 30
# Amount of entities that can exist in a certain world at the same time
# -1 disables
global: -1
# Purge all monsters in a chunk on load (ignores named ones)
purge: false
# You can add more reasons here
reasons:
breeding:
# Limit breeding count in chunk
chunklimit: 50
# The spawn reason
natural:
# The type of the entity that is spawning
pillager:
# How many of that entity can be in the radius
count: 4
# The radius to check for
radius: 16
nether_portal:
pig_zombie:
count: 50
radius: 64
# Whether or not to disable the AI
dumb: false
# Spawn reasons don't need an entity type:
spawner:
count: 20
radius: 50
village_defense:
count: 1
radius: 16
This plugin can currently be downloaded from the Minebench.de Jenkins server.
This plugin is licensed under GPLv3.
MobLimit
Copyright (c) 2020 Max Lee aka Phoenix616 (max@themoep.de)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.