Skip to content
Success

Changes

Summary

  1. Superperms compliant plugin.yml. Fixes CITIZENS-705. (commit: 818c620) (details)
  2. Add missing permission nodes for a few traits. (commit: acd4053) (details)
Commit 818c620a6ee818798491fd22f812e994b9af55cb by olof
Superperms compliant plugin.yml. Fixes CITIZENS-705.

In this commit I have registered all permissions used in the source code. I have also manually created all applicable wildcard (.*) nodes. By doing this no external
permission manager plugin is required. Additionally external permission managers that are superperms based will now work without bugs.

This commit is 99% backwards compatible current server configurations. The only change made to the nodes is the removal of underscores in citizens.npc.controllable.*
permissions. This change was made to achieve consistency with citizens.npc.create.* permissions.

Signed Off By: Olof "Cayorion" Larsson
(commit: 818c620)
The file was modifiedsrc/main/java/net/citizensnpcs/commands/NPCCommands.java (diff)
The file was modifiedsrc/main/resources/plugin.yml (diff)
Commit acd4053bce2ba4489397215dc89120acd9204d6c by olof
Add missing permission nodes for a few traits.

I missed a few traits when creating permission nodes in my previous pull request. In this pull request I have added the missing ones by taking a look in the class "net.citizensnpcs.npc.CitizensTraitFactory".

Signed Off By: Olof "Cayorion" Larsson
(commit: acd4053)
The file was modifiedsrc/main/resources/plugin.yml (diff)