New Insomnia Perk added aswell as a new Developer Api Perk Type called AbstractTaskPerk
This update adds a new Perk based on feedback of you.
Its called the insomnia perk and when enable will prevent phantoms from spawning for the player.
This perk also uses the new perk type available for developer that work with the custom perk api.
Click here for more information about the new type.
You will also need to add the following to your configuration files:
message.yml
Code (YAML):
insomnia:
displayName
: '&e&lInsomnia Perk'
description
:
- '&7&oWhen activated this perk allows the player to avoid the spawning'
- '&7&oof phantoms even when he has not slept for a while.'
perks.yml
Code (YAML):
insomnia:
enabled
: true
permission
: 'advancedperks.insomnia'
disabledWorlds
:
[
]