#Shop gui not working as expect

1 messages · Page 1 of 1 (latest)

neat steeple
#

Are you working with LuckPerms? It sounds to me like you need to add permissions

dapper radish
#

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?

neat steeple
#

I would test it with an alt account. Other than that, I am sorry but I dont have the further knowledge to assist.

gusty zealot
#

Agreed

neon anchor
#

the

deny_commands:
        - '&c&lOh no... No perms :('

isnt an action

gusty zealot
#

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.

neon anchor
#

change it to

deny_commands:
- '[message] &c&lOh no... No perms :('
#

r_ew group manager?

#

bruh

gusty zealot
#

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.

neon anchor
gusty zealot
#

Easier for stuff internally. Can explain more in DMs

neon anchor
#

sure

#

!

dapper radish
#

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'

dapper radish
#

Anyone know what i am doing wrong?

steady orbit
#

could you send your config in a paste? or at least a codeblock?

#

?codeblocks

modest masonBOT
#
FAQ Answer:

Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```

For example:
```yaml
test:

  • “hi”
  • “there”
    ```

Produces:

test:
- “hi”
- “there”```
steady orbit
#

?paste