BlackBeltPanda / Transport-Pipes

Buildcraft without mods! This is a fork of the original Transport-Pipes plugin featuring support for newer versions of Spigot, many bug fixes, performance improvements, and end-user enhancements.
https://www.spigotmc.org/resources/transport-pipes.20873/
MIT License
39 stars 10 forks source link

permissions doesn't work #8

Closed friishon closed 3 years ago

friishon commented 3 years ago

i'm trying to prevent normal players to craft the pipes but i can't forbidden i'm using paper 1.17.1 and luckperms players can craft the pipes setting the permission to false

BlackBeltPanda commented 3 years ago

What is the permission node you've set to disable crafting?

friishon commented 3 years ago

luckperms show me the nodes, so i use this a

BlackBeltPanda commented 3 years ago

I can't recreate the issue, so I'm assuming it's a misconfiguration with your permissions. Try running /lp group <group name here> permission set transportpipes.craft.* false

For example, if you want to disable crafting for the default group (all members that don't have a group), you'd use: /lp group default permission set transportpipes.craft.* false. Then, for any group that you want to be able to craft pipes, say a group called "builders", you'd use /lp group builders permission set transportpipes.craft.*.

If that doesn't work, please run the command /lp group <group name here> permission check transportpipes.craft.* and let me know the output.

friishon commented 3 years ago

b i still have the problem something is wrong because writing the commands instead of be yellow, appears red c but if i add another node to luckperms, it's okay, but doesn't have any effects, only works the node of wrench d

BlackBeltPanda commented 3 years ago

Fixed in https://github.com/BlackBeltPanda/Transport-Pipes/commit/7c43f5ff5d065946cb774a4818f4c9f17709cb55

BlackBeltPanda commented 3 years ago

Fixed in this version

transportpipes-5.3.0-SNAPSHOT.jar.zip

friishon commented 3 years ago

i still have problems with the crafting permissions i can craft only wrench having only this permission but if i give me the permission for crafting other pipe like iron pipe i can't craft it i only can craft the pipes if i have all permission assigned to the player if not, i only be able to craft the wrench

BlackBeltPanda commented 3 years ago

Did you try the version I linked above? I can no longer replicate the issue in that version. The crafting permissions are given by default, so you should only have to negate the permissions for the pipes you don't want players to be able to craft.

friishon commented 3 years ago

i denied all all permission for normal players, and give permission about crafting only extractors and coloredpipes, but they can't, only items can be crafting if i give him the whole list of the crafting permissions

i'm using the version you post here

BlackBeltPanda commented 3 years ago

Instead of denying all permissions and then granting specific ones, try just denying the permissions for the pipes you don't want players to craft.

BlackBeltPanda commented 3 years ago

Should be fixed in this version, let me know if it's still not working. transportpipes-5.3.0-SNAPSHOT.jar.zip :

friishon commented 3 years ago

now works perfect, the bug was fixed

BlackBeltPanda commented 3 years ago

Great, thank you for reporting! =)