Nokorbis / ar-command-signs

Minecraft (Spigot) plugin that allows to transform some blocks (Signs, plates and buttons) into a Commands executor
https://www.spigotmc.org/resources/command-signs.10512/
Apache License 2.0
13 stars 10 forks source link

I'm having issues with the permissions. #54

Open HyenaGodKing opened 4 years ago

HyenaGodKing commented 4 years ago

In the permissions for commandsigns I set it as commandsign.use when I added that into luckyperms for the group default "commandsign.use people in the group default were still not able to use the sign. I want to make it so that players are actually allowed to use the sign but they can't unless their opped. Is there a way?

Nokorbis commented 4 years ago

They are allowed to use the sign. There is no requirement to use a sign except the one you defines in the requirements menu.

What they are not allowed to do is execute the commands you put on the sign. You need to use the temporarily granted permission to make them able to use those.

HyenaGodKing commented 4 years ago

I don't understand what you mean temporarily granted permission. For example if the sign does the command /kill %player% what is the temporarily permission I add for the player and where do I add it in the sign?

Nokorbis commented 4 years ago

You go to the documentation of your command : https://bukkit.gamepedia.com/CraftBukkit_Commands Then you find your command and check its required permission : image Then you add it on your sign : temporary_permission

HyenaGodKing commented 4 years ago

Okay thank you I get it.

HyenaGodKing commented 4 years ago

So for one sign it works perfectly for an operator by doing the command /st play (name) %player% anyone can play that tutorial by doing /st play (name) because I added to the permission group. Still in the executions temporarly grant permissions I added servertutorialplus.command.play. When non operators click on it a message saying "You do not have permission for this command shows up

Nokorbis commented 4 years ago

Are you sure you don't have any other command ? Are you sure you spelled the permission properly ? Are you sure you added the permission in the temporarily granted permission and not the required ones ?

Have you checked if the problem was not coming from that "server tutorial" plugin ?

Nokorbis commented 4 years ago

What are you trying to do with the (name) thing ?

lightvortex01 commented 3 years ago

i have the same problem. for the default users the command is not allowed image and this is : "you are not allowed to use this command " image

Nokorbis commented 3 years ago

I announced on the spigot forums that I wasn't supporting this project anymore. See : https://www.spigotmc.org/threads/command-signs.83312/page-23#post-4006084

But what is the command you are trying to run with this permission ?

lightvortex01 commented 3 years ago

I'm trying to get players to use the / give command only by clicking on the sign. (it's to give paper). It's a damage that you no longer want to participate in this project. This project is great for me !

Nokorbis commented 3 years ago

If you are using the /give command, why are you granting the essentials.signs.use.buy permission ?

You must grant the essentials.give or minecraft.give permission, or something like that.

lightvortex01 commented 3 years ago

ok i just changed but i have a other error message image i don't understand why because i changed the granted permissions and the luckyperms with the same permission image image and yes i saved the luckyperms. can you help me please ?

Nokorbis commented 3 years ago

Well, the new give system is weird with all its metadata. Your problem is not with CommandSign at this point. The problem is the give command requires some permissions specific to the meta data your are adding.

In your commands, try to add a # before the command, instead of the usual / That should make the command be executed by the console instead. (But you should specify the player argument to the command, using the %player% variable)

lightvortex01 commented 3 years ago

yessssss!!!!! thank you so much you are a genius.