AslCraft

DM Config

Jun 13th, 2022
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 4.09 KB | None | 0 0
  1. menu_title: 'Exchange Market'
  2. size: 27
  3. # as always, only cool people can open this menu :)
  4. open_requirement:
  5.   requirements:
  6.     permission:
  7.       type: has permission
  8.       permission: deluxemenus.convert
  9.       deny_commands:
  10.         - "[message] &cYou don''t have permission!"
  11.     menu_title: 'Exchange Market'
  12. # as always, only cool people can open this menu :)
  13. items:
  14. #VIRTUAL IN PHYSICAL EXCHANGE
  15.   'virt-in-phys':
  16.     material: sunflower
  17.     slot: 12
  18.     priority: 1
  19.     update: true
  20.     hide_attributes: true
  21.     display_name: '&cVirtual in Physical'
  22.     lore:
  23.       - '&a            100&2$'
  24.       - '&9Tap for convert currency'
  25.       - '&9virtual in physical'
  26.     left_click_requirement:
  27.       requirements:
  28.         anything_here:
  29.           type: has money
  30.           amount: 100
  31.       deny_commands:
  32.       - '[message] &cNot enough currency in your wallet.'
  33.     right_click_requirement:
  34.       requirements:
  35.         anything_here:
  36.           type: has money
  37.           amount: 100
  38.       deny_commands:
  39.       - '[message] &cNot enough currency in your wallet.'
  40.     left_click_commands:
  41.     - '[takemoney] 100'
  42.     - '[console] minecraft:give %player_name% minecraft:sunflower{CustomModelData:128,display:{Name:''[{"text":"Coin","color":"red","italic":true},{"text":"","color":"red","italic":false}]'',Lore:[''[{"text":"Regular Coin!","bold":true,"color":"aqua","italic":true},{"text":"","italic":false}]'']}} 100'
  43.     - '[refresh]'
  44.     right_click_commands:
  45.     - '[takemoney] 100'
  46.     - '[console] minecraft:give %player_name% minecraft:sunflower{CustomModelData:128,display:{Name:''[{"text":"Coin","color":"red","italic":true},{"text":"","color":"red","italic":false}]'',Lore:[''[{"text":"Regular Coin!","bold":true,"color":"aqua","italic":true},{"text":"","italic":false}]'']}} 100'
  47.     - '[refresh]'
  48.   'virt-in-phys-check':
  49.     material: barrier
  50.     slot: 12
  51.     priority: 0
  52.     update: true
  53.     hide_attributes: true
  54.     display_name: '&cYour inventory is full!'
  55.     view_requirement:
  56.       requirements:
  57.         rank_check:
  58.           type: string equals
  59.           input: '%player_has_empty_slot%'
  60.           output: 'no'
  61.     left_click_commands:
  62.     - '[message] &cYour inventory is full!'
  63.     right_click_commands:
  64.     - '[message] &cYour inventory is full!'
  65.  
  66. #PHYSICAL IN VIRTUAL EXCHANGE
  67.   'phys-in-virt':
  68.     material: sunflower
  69.     slot: 14
  70.     priority: 1
  71.     update: true
  72.     hide_attributes: true
  73.     display_name: '&cPhysical in Virtual'
  74.     lore:
  75.       - '&a            100&2$'
  76.       - '&9Tap for convert currency'
  77.       - '&9physical in virtual'
  78.     left_click_requirement:
  79.       requirements:
  80.         anything_here:
  81.           type: has item
  82.           material: sunflower
  83.           modeldata: 128
  84.           amount: 100
  85.       deny_commands:
  86.       - '[message] &cNot enough currency in your inventory.'
  87.     right_click_requirement:
  88.       requirements:
  89.         anything_here:
  90.           type: has item
  91.           material: sunflower
  92.           modeldata: 128
  93.           amount: 5
  94.       deny_commands:
  95.       - '[message] &cNot enough currency in your inventory.'
  96.     left_click_commands:
  97.     - '[console] minecraft:clear %player_name% minecraft:sunflower{CustomModelData:128,display:{Name:''[{"text":"Coin","color":"red","italic":true},{"text":"","color":"red","italic":false}]'',Lore:[''[{"text":"Regular Coin!","bold":true,"color":"aqua","italic":true},{"text":"","italic":false}]'']}} 100'
  98.     - '[givemoney] 100'
  99.     right_click_commands:
  100.     - '[console] minecraft:clear %player_name% minecraft:sunflower{CustomModelData:128,display:{Name:''[{"text":"Coin","color":"red","italic":true},{"text":"","color":"red","italic":false}]'',Lore:[''[{"text":"Regular Coin!","bold":true,"color":"aqua","italic":true},{"text":"","italic":false}]'']}} 100'
  101.     - '[givemoney] 100'
  102. #Glass Filler
  103.   'fill':
  104.     material: gray_stained_glass_pane
  105.     display_name: '&c'
  106.     slots:
  107.      - 0
  108.      - 1
  109.      - 2
  110.      - 3
  111.      - 5
  112.      - 4
  113.      - 13
  114.      - 22
  115.      - 6
  116.      - 7
  117.      - 8
  118.      - 18
  119.      - 19
  120.      - 20
  121.      - 21
  122.      - 23
  123.      - 24
  124.      - 25
  125.      - 26
Add Comment
Please, Sign In to add comment