#Need help with shop

1 messages · Page 1 of 1 (latest)

lone oracle
#

So Im creating playervault shop where it will show wether its unlocked if they have certain permission or they still need to buy how would I go about thhis

pulsar palm
#

have you started making any code?

#

if not then i can run through how to start

lone oracle
pulsar palm
#

ok

#

so do you want to add click commands?

lone oracle
#

Well whats going on even tho player doesnt have the perm it still shows its unlocked

pulsar palm
#

ok i think you have set up your view requirements wrong

#

im just gonna put it on my test server quick

lone oracle
#

ok souds good

pulsar palm
#

so what plugins are you using on your server?

lone oracle
#

PlayerPoints for points and PlayerVaultsX for pvs

pulsar palm
#

ok

lone oracle
#

are you thinking its wrong perm

#

like for pvs

pulsar palm
lone oracle
#

ok what do u think is casuing the issue then

pulsar palm
#

i am sorry but i am having the same issue with view requirements on my menu

lone oracle
#

so u dont know whats going on either

pulsar palm
#

yea

lone oracle
#

damn maybe a staff member can help

pulsar palm
#

yea

brave remnant
#

oh wow you have an old config

#

are you on 1.8.x of mc?

#

and using dm 1.10.5?

#
view_requirement: BukkitPlayer.hasPermission("playervaults.amount.2");

this is not a valid view requirement this

#

?dm-requirements

dusky zodiacBOT
#
FAQ Answer:
view_requirement:
  requirements:
    requirement_name:
      type: TYPE

More info on the Wiki

brave remnant
#

same for your left and right click requirements, they are missing requirements and requirement_name

#

I would also suggest not trying to use javascript expressions, and instead use comparator types

#
type: '>='
input: '%vault_eco_balance%'
output: '100000'
#

there is a lot of things off in this gui, but I think the above comments sums up most of the issues

lone oracle
#

would you mind giving example for one of them as im still lost

lone oracle
lone oracle
#

I think I got to work thanks

#

u can close this

brave remnant
#

i think you can