Skip to content

Conversation

@nanohard
Copy link
Contributor

This link shows the difference between Monsters vs Creatures

I've added a boolean in the config so users can choose between all Creatures, or Monsters only. Being as this plugin is named MobPreventer I didn't want to exclude all Creatures, as some may have a need to blacklist Creatures that are not Monsters. But the majority of people, in my opinion, only want to work with Monsters.

true is the default value of monstersOnly, meaning that the blacklist/whitelist will only consider Monsters. Changing it to false will make the plugin consider all Creatures.

@Tofpu
Copy link
Owner

Tofpu commented Dec 24, 2020

I can see this being very handy, I'll go ahead accept the pull request. thanks for contributing!

@Tofpu Tofpu merged commit 205ee5b into Tofpu:master Dec 24, 2020
Tofpu added a commit that referenced this pull request Dec 24, 2020
- [x] #3 - @nanohard added new "monsters-only" config option, thanks again! (moved it above world)
- [x] Refactored the code a bit

Co-Authored-By: William Antonelli <10169206+nanohard@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants