#72 Permission for CaptureMob Does Not Work As Expected

Closed
opened 2 years ago by iCaitlyn · 1 comments
iCaitlyn commented 2 years ago

Technical Details

  • Plugin version: SafariNet-1.15.33-SNAPSHOT
  • Server version: paper-1.18.1-197
  • Permissions Plugin: LuckPerms-Bukkit-5.4.0

    Issue description

  • Group is assigned permisisons safarinet.releasemob.use and safarinet.capturemob.use

    • Group is also assigned safarinet.craft.singleuse, as well as safarinet.recipe
  • When user in the group is given a SingleUse egg via command, they are unable to capture any mobs

    • This does not seem to be expected behaviour based on the documentation
  • However, any already-captured mobs can be released without issue

    • This does show that safarinet.releasemob.use at least works as intended
  • After adding safarinet.use.singleuse to the group, can the user finally capture mobs with the SingleUse egg.

Notes: No error messages in the console, but the user gets a "You dont have permission to use this!" message.

tl;dr

Permission safarinet.capturemob.use does not work as expected, whereas safarinet.releasemob.use does.

## Technical Details - **Plugin version:** SafariNet-1.15.33-SNAPSHOT - **Server version:** paper-1.18.1-197 - **Permissions Plugin:** LuckPerms-Bukkit-5.4.0 ## Issue description - Group is assigned permisisons `safarinet.releasemob.use` and `safarinet.capturemob.use` - Group is also assigned `safarinet.craft.singleuse`, as well as `safarinet.recipe` - When user in the group is given a SingleUse egg via command, they are unable to capture any mobs - This does not seem to be expected behaviour based on the documentation - However, any already-captured mobs can be released without issue - This does show that `safarinet.releasemob.use` at least works as intended - After adding `safarinet.use.singleuse` to the group, can the user finally capture mobs with the SingleUse egg. Notes: No error messages in the console, but the user gets a "You dont have permission to use this!" message. ## tl;dr Permission `safarinet.capturemob.use` does not work as expected, whereas `safarinet.releasemob.use` does.
MasterCake commented 2 years ago
Owner

Apparently the permission for safarinet.capturemob.use was missing, I've added it back. This should resolve the issue, if not, feel free to re-open.

Apparently the permission for `safarinet.capturemob.use` was missing, I've added it back. This should resolve the issue, if not, feel free to re-open.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.