Jump to content

checking player permissions with skript doesnt work


Nutin_rf

Recommended Posts

I wanted to create a skript command that checks if you have the luckperms permission.

Quote

 

command /test:
    permission: groups.owner
    permission message: you dont have permission
    trigger:
        send "hi" to player


 

The command will send the message, regardless of what permission.

IF I HELPED LEAVE A LIKE

 

JUST A RANDOM PERSON WHO PLAYS MINEHUT! 🌅

image.png.bb52c4745a522a9b2696361873eda501.png

 

 

Link to comment
Share on other sites

Do you have Vault installed?

  • Thanks 1

If I helped you or made you happy, feel free to press the heart.

 

---------------------------------------------------------

[VIP] - 3/25/2021 - 4/11/2021

Helper  - 4/11/2021 - 5/17/2021

Moderator - never

Note: dates are in UK layout.

---------------------------------------------------------

ben87.PNG

Link to comment
Share on other sites

Try if player's group is "owner":

  • Thanks 1

If I helped you or made you happy, feel free to press the heart.

 

---------------------------------------------------------

[VIP] - 3/25/2021 - 4/11/2021

Helper  - 4/11/2021 - 5/17/2021

Moderator - never

Note: dates are in UK layout.

---------------------------------------------------------

ben87.PNG

Link to comment
Share on other sites

1 hour ago, Nutin_rf said:

I wanted to create a skript command that checks if you have the luckperms permission.

The command will send the message, regardless of what permission.

If you are opped in the server, you receive all permissions. Deop yourself and try the command then

  • Thanks 1

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

24 minutes ago, AgentGamerPro said:

If you are opped in the server, you receive all permissions. Deop yourself and try the command then

Thanks, but now it's saying I do not have the permission. I know i have the OWNER permission.

Edited by Nutin_rf

IF I HELPED LEAVE A LIKE

 

JUST A RANDOM PERSON WHO PLAYS MINEHUT! 🌅

image.png.bb52c4745a522a9b2696361873eda501.png

 

 

Link to comment
Share on other sites

2 minutes ago, Nutin_rf said:

Thanks, but now it's saying I do not have the permission. I know i have the OWNER permission.

Nevermind, I was just putting in the wrong permission node, its fixed now! Thanks to everyone who helped me!

IF I HELPED LEAVE A LIKE

 

JUST A RANDOM PERSON WHO PLAYS MINEHUT! 🌅

image.png.bb52c4745a522a9b2696361873eda501.png

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...