#deluxe menu buy a warp

1 messages · Page 1 of 1 (latest)

rocky flower
#

Hi I was wondering with deluxe menus if i can make it so you can enter a certain amout of money someone has to pay to enter a /warp for instance is that possible with deluxe menus?

#

to buy access to a warp

#

how would this be done

paper quail
#

take money when open menu or click on item ?

#

@rocky flower

rocky flower
#

like 1mil to unlock acess permantaly to a warp

#

is that possible

sturdy helm
#

yes thats possible

#

do you know most of the dm basics?

#

if yes i can just explain you what to do if not ill write you a script

rocky flower
#

plz

sturdy helm
#

Ill write you one as soon as i get back from work

paper quail
# rocky flower is that possible
'warp 1 locked':
  priority: 2
  material: stone
  slot: 0
  lore:
    - '&fNeed 1.000.000$ to unlock this warp'
    - '&c&lLocked'
  left_Click_requirement:
    requirements:
      hasMoney:
        type: has money
        amount: 1000000
        deny_commands:
          - '[message] you don''t have enough money to unlock this warp'
  left_click_commands:
    - '[takemoney] 1000000'
    - '[memta] set warp1Purchased STRING yes'
    - '[refresh]'

'warp 1 unlocked':
  priority: 1
  material: grass_block
  slot: 0
  lore:
    - '&fClick to teleport'
    - '&a&lUnlocked'
  view_requirement:
    requirements:
      purchased:
        type: string equals
        input: '%deluxemenus_meta_warp1Purchased_STRING%'
        output: 'yes'
  left_click_commands:
    - '[player] warp 1'
sturdy helm
#

In the last left click command the click is misspelled