#permissions for my command

1 messages · Page 1 of 1 (latest)

smoky path
#
    permission: autocomp.use
    permission message: &4You dont have permission. Buy MVP rank to use!
    trigger:
        if {arg::%player%} exists:
            clear {arg::%player%}
            send "&c&lAutoCompressor Off"
        else:
            set {arg::%player%} to true
            send "&6&lAutoComperssor On"```
there is more, but when i do /lp group mvp permission set autocomp.use true, it doesnt work
frosty meteor
#

hm

#

try to use /lp editor

#

and see whats going on

gritty anvil
#

sometimes it doesn't work that quickly. a restart or a logout-login works

smoky path
#

it still does not work

#

:(((((

worldly vector
#

wat does it say

smoky path
#

if you are myp it says "&4You dont have permission. Buy MVP rank to use!"

#

if you are anything without op it says that

#

i want mvp to be able to use it

worldly vector
#

what permissions does mvp have

smoky path
#

all the permissions of default and autocomp.use

worldly vector
#

wat perms does default have

smoky path
#

essentials.warp.*
true

autocomp.sk
false

block.tp
true

discordsrv.discord
true

essentials.spawn
true

essentials.spawn.
true

essentials.warp
true

group.member
true

minecraft.command.say
true

prefix.1.&7[Member]...
true

spawn
true

spawn.sk
true

trident.sk
true

trident.warp
true

worldly vector
#

u sure uve given autocomp.use instead of autocomp.sk to mvp?

smoky path
#

i changed it to autocomp.sk in both to see if it would work

#
    permission: autocomp.sk
    permission message: &4You dont have permission. Buy MVP rank to use!
    trigger:
        if {arg::%player%} exists:
            clear {arg::%player%}
            send "&c&lAutoCompressor Off"
        else:
            set {arg::%player%} to true
            send "&6&lAutoComperssor On"```
frosty meteor
#

try to give it to default

#

oh wait

#

did u get it to work

#

or no?

smoky path
#

no

frosty meteor
#

does mvp have a parent?

smoky path
#

i cleared the parent

frosty meteor
#

try to give the permission to default

#

and make ur own rank to default

#

and try

smoky path
#

ok

#

hmmm

#

it didnt work

#

why?'

frosty meteor
#

1 sec

#

try this

#
options:
  nopermission: &4You dont have permission. Buy MVP rank to use!

command /AutoComp:
  permission: autocomp.sk
  permission message: {@nopermission}
  trigger:
    if {arg::%player%} exists:
      clear {arg::%player%}
      send "&c&lAutoCompressor Off"
    else:
      set {arg::%player%} to true
      send "&6&lAutoComperssor On"```
#

well fix the indentation because its different for u

#

but

smoky path
#

ok

frosty meteor
#

try

smoky path
#

still no

#

:0

#

WHYWHYWHY

#

it should work right?

frosty meteor
#

error or?

#

just odesnt work?

smoky path
#

no error

#

just doesnt work

frosty meteor
#

hmm

#

can u send me the full script i wanna try

smoky path
#

yes

#
  nopermission: &4You dont have permission. Buy MVP rank to use!

command /AutoComp:
  permission: autocomp.sk
  permission message: {@nopermission}
  trigger:
    if {arg::%player%} exists:
      clear {arg::%player%}
      send "&c&lAutoCompressor Off"
    else:
      set {arg::%player%} to true
      send "&6&lAutoComperssor On"
            
on mine of obsidian:
    {arg::%player%} = true
    if player has 32 obsidian:
        remove 32 obsidian from player
        give crying obsidian of aqua affinity with all flags hidden named "&0&lCompressed Obsidian" to player

on mine of oak wood:
    {arg::%player%} = true
    if player has 32 oak wood:
        remove 32 oak wood from player
        give brown terracotta of unbreaking 1 with all flags hidden named "&6Compressed Wood" to player
        


on mine of stone:
    {arg::%player%} = true
    if player has 32 Cobblestone:
        remove 32 Cobblestone from player
        give chiseled stone bricks of aqua affinity 1 with all flags hidden named "&7Compressed Stone" to player
        
        
on mine of iron ore:
    {arg::%player%} = true
    if player has 32 raw iron:
        remove 32 raw iron from player
        give white wool of aqua affinity 1 with all flags hidden named "&f&lCompressed Iron" to player
        
on mine of gold ore:
    {arg::%player%} = true
    if player has 32 raw gold:
        remove 32 raw gold from player
        give yellow wool of aqua affinity 1 with all flags hidden named "&6&lCompressed Gold" to player```
#
on mine of diamond ore:
    {arg::%player%} = true
    if player has 64 Diamond:
        remove 64 diamond from player
        give warped button of aqua affinity 1 with all flags hidden named "&1&lCompressed Diamond" to player
        
        
on mine of Emerald ore:
    {arg::%player%} = true
    if player has 32 emerald:
        remove 32 emerald from player
        give prismarine of aqua affinity 1 with all flags hidden named "&2&lCompressed Emerald" to player```
worldly vector
#

make sure the only group u have is default and no other permission setting autocomp.sk false

frosty meteor
#

wait

#

what doesnt work?

#

the permission

#

@smoky path

#

you mean you make the permission true

#

but the thing still says permsision message?

#

or

#

idk everything works fine with me

#

hm

#

i cant send the message

#
  nopermission: &4You dont have permission. Buy MVP rank to use!

command /AutoComp:
    permission: autocomp.sk
    permission message: {@nopermission}
    trigger:
        if {arg::%player%} exists:
            clear {arg::%player%}
            send "&c&lAutoCompressor Off"
        else:
            set {arg::%player%} to true
            send "&6&lAutoComperssor On"
            
on mine of obsidian:
    {arg::%player%} = true
    if player has 32 obsidian:
        remove 32 obsidian from player
        give crying obsidian of aqua affinity with all flags hidden named "&0&lCompressed Obsidian" to player

on mine of oak wood:
    {arg::%player%} = true
    if player has 32 oak wood:
        remove 32 oak wood from player
        give brown terracotta of unbreaking 1 with all flags hidden named "&6Compressed Wood" to player
        


on mine of stone:
    {arg::%player%} = true
    if player has 32 Cobblestone:
        remove 32 Cobblestone from player
        give chiseled stone bricks of aqua affinity 1 with all flags hidden named "&7Compressed Stone" to player
        
        
on mine of iron ore:
    {arg::%player%} = true
    if player has 32 raw iron:
        remove 32 raw iron from player
        give white wool of aqua affinity 1 with all flags hidden named "&f&lCompressed Iron" to player
        
on mine of gold ore:
    {arg::%player%} = true
    if player has 32 raw gold:
        remove 32 raw gold from player
        give yellow wool of aqua affinity 1 with all flags hidden named "&6&lCompressed Gold" to player
        
on mine of diamond ore:
    {arg::%player%} = true
    if player has 64 Diamond:
        remove 64 diamond from player
        give warped button of aqua affinity 1 with all flags hidden named "&1&lCompressed Diamond" to player```
#

i shortened it a bit

#

but anyways

#

it works for me

smoky path
#

MVPs can’t use the command

#

It sends the permission message

frosty meteor
#

i just tried and gave myself the permission and it works

smoky path
#

?!

frosty meteor
#

without permission it sends me the message

#

whats ur server

#

ip

smoky path
frosty meteor
#

can u give me mvp rank i wanna see

worldly vector
#

how u testing then if yo afk

frosty meteor
#

she has a tester online

#

but idk acctualy

worldly vector
#

oh

frosty meteor
smoky path
frosty meteor
#

im js gonna send a txt of the script

smoky path
#

ok

frosty meteor
#

dont mind the name i always just write sum random for my skripts

#

try just importing the skirp

#

skript

#

but u either have to delete the old one or

#

just download the old one and remove

#

so backup

smoky path
#

?

frosty meteor
#

i sent u a .sk

#

well

#

the autocomp

#

that worked for me :/

smoky path
frosty meteor
#

well everything seems right

#

hm

#

oh u gtg

smoky path
#

im back

#

im so confused

#

if i op you @frosty meteor would u be able to fix it

gritty anvil
smoky path
#

No groups have it

gritty anvil
#

oh...

#

huh

worldly vector
#

u arent even born yet