#Shop gui not working as expect
1 messages · Page 1 of 1 (latest)
working with groupmanager.
expression: '%vaulteco_balance% > 7500'
deny_commands:
- '[close]'
- '[message] &cYou dont have 7500 dollars to click that item'
right_click_requirement:
expression: '%vault_eco_balance% >= 7500'
deny_commands:
- '[message] tt'
i need if you don't have enough money the message tt.
or is that because i am op?
I would test it with an alt account. Other than that, I am sorry but I dont have the further knowledge to assist.
Agreed
the
deny_commands:
- '&c&lOh no... No perms :('
isnt an action
Most people don’t use GM anymore. As yes LuckPerms is a tiny bit more complex but it has loads more features to work with.
change it to
deny_commands:
- '[message] &c&lOh no... No perms :('
group manager?
bruh
Yeah
My server used to use LP back in the day until we custom coded our own permissions system.
But yeah it’s a good plugin.
custom code a permission system when luckperms exist?
Easier for stuff internally. Can explain more in DMs
sorry for my bad english.
i changed my code a bit and i mean this:
when i am lower then $7500 i still het item purchased successfully instad of you do not have enough money.
This is little bit of my code now: requirements:
hasMoney:
type: '>='
input: '%vault_eco_balance%'
output: '7500'
deny_commands:
- '[message] &cʏᴏᴜ ᴅᴏ ɴᴏᴛ ʜᴀᴠᴇ ᴇɴᴏᴜɢʜ ᴍᴏɴᴇʏ!'
left_click_commands:
- '[message] &aɪᴛᴇᴍ ᴘᴜʀᴄʜᴀꜱᴇᴅ ꜱᴜᴄᴄᴇꜱꜱꜰᴜʟʟʏ!'
- '[console] eco take %player_name% 7500'
right_click_commands:
- '[message] &aɪᴛᴇᴍ ᴘᴜʀᴄʜᴀꜱᴇᴅ ꜱᴜᴄᴄᴇꜱꜱꜰᴜʟʟʏ!'
- '[console] eco take %player_name% 7500'
Anyone know what i am doing wrong?
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- “hi”
- “there”
```
Produces:
test:
- “hi”
- “there”```
?paste