RedProtect Anti-Grief

RedProtect Anti-Grief

73.3k Downloads

[Suggestion] Add Slimes to the Monster category

Blueeyestar opened this issue ยท 4 comments

commented

Many users keep asking me why the annoying slimes are still coming even though they have switched off monsters. I cannot answer the question. You can only switch off the slimes if you deactivate the peaceful animal spawn. But then there are no more peaceful animals. or you have to create a subzone. that is very cumbersome. Can you assign the slimes to the monsters? that would help us a lot. Or create a list in the config where you can sort which ones are neutral and which monsters are on the server

commented

do you have the opportunity to add the slimes to the category of evil monsters? or that you can create your own list in the config where you decide which peaceful or aggressive mobs are in the flags? or is it getting too complicated?

commented

I can understand this problem, its really annoing that you cant block slimes that way

Slimes may are not monster for minecraft but they are seens as monster by the players

So the Region.java sees them as regular monsters.
maybe there is way to create a list in the config?

We have a flag for monster and neutral that prevents spawning if monster and neutrals.
the config part could look like this:

# Options definein neutral and monsters
monster {
    BLAZE
    CAVE_SPIDER
    COD
    CREEPER
    DROWNED
    ELDER_GUARDIAN
    ENDER_DRAGON
    ENDERMAN
    ENDERMITE
    EVOKER
    GHAST
    GIANT
    GUARDIAN
    HUSK
    ILLUSIONER
    MAGMA_CUBE
    PHANTOM
    PIG_ZOMBIE
    PILLAGER
    RAVAGER
    SHULKER
    SILVERFISH
    SKELETON
    SKELETON_HORSE
    SLIME
    SPIDER
    STRAY
    VEX
    VINDICATOR
    WITCH
    WITHER
    WITHER_SKELETON
    ZOMBIE
    ZOMBIE_HORSE
    ZOMBIE_VILLAGER
}
neutral {
    BAT
    BEE
    CAT
    CHICKEN
    COW
    DOLPHIN
    DONKEY
    FOX
    HORSE
    IRON_GOLEM
    LLAMA
    MULE
    MUSHROOM_COW
    OCELOT
    PANDA
    PARROT
    PIG
    POLAR_BEAR
    PUFFERFISH
    RABBIT
    SALMON
    SHEEP
    SNOWMAN
    SQUID
    TRADER_LLAMA
    TROPICAL_FISH
    TURTLE
    WANDERING_TRADER
    WOLF
}

Everyone owner now could setup what he defines as a monster and what as neutral mob
Its the job of the owner now to define each mob in these classes (maybe u can create a
default list allready where the Owners can add/remove mobs to the other list side if they want)

The neutral flag would take care of spawning of all entities in the neutral list
the monster flag would take care of spawning all entities in the monster list.

This would be a really usefull attion to the current way. where slimes spawn everywhere where they should not spawn. Where players get annoid from glitcher slime sounds...

commented

The server it wont consider slime as a monster. What i do its just check for the mains mob class like here:

I dont check mobs types individually.

commented

I just see you actually made it !!!! there is now a gui where you can set which good and which monster spawnwn are allowed on the zone.m This is mega hammer well done. I think this is a big update which offers a lot of new possibilities.

This gives you a whole new way of building mob farms that are specifically designed for a mob type.