Zrips / MobFarmManager

6 stars 0 forks source link

Option to deny breeding - without reaching the limit #46

Closed CloudeLecaw closed 1 year ago

CloudeLecaw commented 2 years ago

A config option would be nice to deny breeding of mobs.

# deny breeding of a mob
# set amoimt to 1 to complety deny breeding of a mob. else the amount of Mobs is allowed with breeding
# Example: you have 2 sheeps and want to allow breeding once it would be sheep:2
# so you can breed als long as you only have two sheepes but not anymore if you got 3 sheepers.
# can be bypassed with mfm.denybreedingbypass.<mobbame>.unlimited 
# amount of allowed breedings can be changed with mfm.denybreedingbypass.<mobbame>.<amount>
Else amount is taken.
DenyBreeding:
  - Mobname1:amount
  - Mobname2:amount

The permission for bypass just would be needed if a mob is set in DenyBreeding list and you want to change the allowed breeding amount for some groups.

The etting should deny breeding even if the set mob limit is not reached.