You now have the option to
disable perks for
configurable worlds.
For default perks
edit the
perks.yml file and add the names of the
worlds to
disabledWorlds:
Code (YAML):
examplePerk:
enabled
: true
permission
: 'examplePermission'
disabledWorlds
:
- 'exampleWorld1'
- 'world_the_nether'
For
custom perks just invoke the method
setDisabledWorlds(String... worlds) with the names of the
worlds.
Code (Java):
CustomPerk customPerk
=
new CustomPerk
(
)
;
customPerk.
setDisabledWorlds
(
"exampleWorld1",
"world_the_nether"
)
;