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'
#why dont this work?
1 messages · Page 1 of 1 (latest)
I fixed it by giving everyone perms to deluxemenu. lp group default permission set deluxemenu.*
Easy fix
In any case I was wondering if someone you could help me figure out why this menu won't load? https://mclo.gs/rUyLlfg
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'
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Try that
It worked! Thank you
No problem
you really shouldn't do that
Can they delete the menus or something?
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
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
I had plhide so players couldn’t do that
just because they can't see your plugin list doesn't mean they can't abuse commands
Really really bad to give players admin perms
By knowing it exists...?
if I go on your server right now I could break it
literally break it
Oh it won’t let them type it in.
hmmk....
Anyways I will change it
I would need to know how to give the right perms however
I did lie slightly, they do NOT get access to /dm execute unless they are op or have op perms
I did DeluxeMenu.default and that did nothing
but still not good
That’s not good either?
I don't even know the issue so I can't give a solution
state more of the issue, I can check back later if somebody hasn't helped already
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.*
Dm open ( name of GUI )
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>
Do I need to give out any special permissions like DeluxeMenu.default or anything?
