#why dont this work?

1 messages · Page 1 of 1 (latest)

mossy cosmos
#
items:
  'Vanity Key':
        material: TRIPWIRE_HOOK
        slot: 11
        display_name: '&#b3ff5d&l1x Vanity Crate'
        lore:
        - '&cCost: 75 Xp Levels'
        left_click_requirement:
          requirements:
            has_xp:
              type: has xp
              amount: 13515
          deny_commands:
          - '[message] &cYou don''t have enough Xp for this!'
        left_click_commands:
        - '[console] excellentcrates key give %player_name% vanity 1'
        - '[console] xp take %player_name% 13515'
        - '[message] &aYou bought 1 &#b3ff5d&lVanity Key &afor 75 Xp levels'
eager valve
#

what part doesn't work

#

elaborate please

hazy forum
#

I fixed it by giving everyone perms to deluxemenu. lp group default permission set deluxemenu.*

#

Easy fix

dark crane
#
items:
  'Vanity Key':
    material: TRIPWIRE_HOOK
    slot: 11
    display_name: '&#b3ff5d&l1x Vanity Crate'
    lore:
    - '&cCost: 75 Xp Levels'
    left_click_requirement:
      requirements:
        has_xp:
          type: has xp
          amount: 13515
      deny_commands:
      - '[message] &cYou don''t have enough Xp for this!'
    left_click_commands:
    - '[console] excellentcrates key give %player_name% vanity 1'
    - '[console] xp take %player_name% 13515'
    - '[message] &aYou bought 1 &#b3ff5d&lVanity Key &afor 75 Xp levels'
fiery dew
#

Try that

hazy forum
fiery dew
#

No problem

hazy forum
#

Can they delete the menus or something?

eager valve
#

no, but they can do worse

#

you should not be giving admin permissions to regular users

#

ever

#

it allows the user to do a lot of things they should not be able to

#

including: /dm execute

hazy forum
#

Oh.. hahah welp

#

Um

eager valve
#

which allows you to execute ANY action/command for ANY player

#

I can't force your hand, but I would recommend undoing what you did

hazy forum
#

I had plhide so players couldn’t do that

eager valve
#

just because they can't see your plugin list doesn't mean they can't abuse commands

hazy forum
#

Oh…

#

How would they be able to use it if they didn’t see it?

eager valve
#

Really really bad to give players admin perms

eager valve
#

if I go on your server right now I could break it

#

literally break it

hazy forum
eager valve
#

hmmk....

hazy forum
#

Anyways I will change it

eager valve
#

ya...

#

actually by the way

hazy forum
#

I would need to know how to give the right perms however

eager valve
#

I did lie slightly, they do NOT get access to /dm execute unless they are op or have op perms

hazy forum
#

I did DeluxeMenu.default and that did nothing

eager valve
#

but still not good

hazy forum
#

That’s not good either?

eager valve
#

state more of the issue, I can check back later if somebody hasn't helped already

hazy forum
#

Alright so what happened is that I put deluxemenus.default for the permission for all my menus, and I gave all default players lp group default permission set DeluxeMenu.default. When I did that they couldn’t open up the GUI’s through NPC’s, until I gave them lp group permission set deluxemenus.*

eager valve
#

How did you add the command to the npc @hazy forum

#

what did you type

hazy forum
#

Dm open ( name of GUI )

eager valve
#

what did you type exactly

#

actually

#

I already see the problem

#

it looks like you added it as a player command

#

which means the player runs the command

#

it needs to be added as a console command

#

and use the player's name as input

#

/dm open <menu> <player>

hazy forum
#

Do I need to give out any special permissions like DeluxeMenu.default or anything?

eager valve
#

no

#

DeluxeMenu.default isn't even a permission from deluxemenus

hazy forum