Added the ability to disable losing hearts to mobs or not.
If you have an existing configuration, you'll have to delete it to regenerate it or you'll have to add this line to your config file.
Code (YAML):
# If players can lose hearts to mobs or not.
mobsAllowed
: false