Advertisement
Guest User

shops

a guest
Apr 3rd, 2020
2,029
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.04 KB | None | 0 0
  1. #-----------------------------------------------------------------------------------------
  2. #
  3. # Helpful Information:
  4. #
  5. # - Item names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  6. #
  7. #
  8. # - Enchantment names: http://pastebin.com/0WktGa59
  9. #
  10. # - (Example of adding an enchantment)
  11. # - displayed: 276 1 sharpness:3 smite:2 unbreaking:3
  12. #
  13. #
  14. # - PotionEffect names: http://pastebin.com/eghUaTuJ
  15. #
  16. # - (Example of adding a custom potion effect to your displayed potion item)
  17. # - displayed: 373:8258 1 strength:2:200 speed:3:600
  18. # [In this case, the item displayed will have Strength II (0:10) and Speed III (0:30).]
  19. #
  20. #
  21. # [IMPORTANT]
  22. # In Minecraft 1.9, potions & mob spawn eggs no longer use durability to specify the type.
  23. #
  24. # NOTE: In Minecraft 1.13, Spawn Eggs were given their own material name!
  25. #
  26. #  (1.9+ - 1.12.2) - Example of setting mob spawn egg (zombie) as a displayed item
  27. #
  28. #  displayed: MONSTER_EGG:ZOMBIE 1 name:&9Purchase_a_Zombie_Spawn_Egg!
  29. #
  30. #
  31. #  (1.9+) - Example of setting potion (splash strength II) as a displayed item
  32. #
  33. #  displayed: POTION:STRENGTH-strong-splash 1 name:&cSplash_Potion_of_Strength_II
  34. #
  35. #
  36. #  (1.9+) - Example of setting potion (speed I extended) as a displayed item
  37. #
  38. #  displayed: POTION:SPEED-extended 1 name:&bPotion_of_Speed_(Extended)
  39. #
  40. #
  41. # - 1.9+ Potions: http://minecraft.gamepedia.com/Potion#Data_values
  42. #
  43. #-----------------------------------------------------------------------------------------
  44.  
  45. shops:
  46.   main: # Name of your shop
  47.     title: '&4&lToken Shop!' # Title of the inventory gui displayed in-game
  48.     rows: 3 # Rows of your shop inventory, must be a number between 1 - 6
  49.     auto-close: true # 'true' to close the shop inventory when a player purchases an item
  50.     items:
  51.       '0':
  52.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  53.         cost: 0
  54.         use-permission: false
  55.         message: '&f'
  56.         commands:
  57.        - ''
  58.       '1':
  59.         displayed: MAGMA_CREAM 1 name:&e&lGEM_&a&l[TIER_1] lore:&7This_gem_has_been_lost_for_centuries.|&7Clean_it_off_to_find_out_what_kind_it_is.|&7|&e*_&fPrice:_&e50
  60.         cost: 50
  61.         use-permission: false
  62.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  63.         commands:
  64.         - 'ce lostbook Tier-1 1 %player%'
  65.       '2':
  66.         displayed: MAGMA_CREAM 2 name:&e&lGEM_&a&l[TIER_2] lore:&7This_gem_has_been_lost_for_centuries.|&7Clean_it_off_to_find_out_what_kind_it_is.|&7|&e*_&fPrice:_&e75
  67.         cost: 75
  68.         use-permission: false
  69.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  70.         commands:
  71.         - 'ce lostbook Tier-2 1 %player%'
  72.       '3':
  73.         displayed: MAGMA_CREAM 3 name:&e&lGEM_&a&l[TIER_3] lore:&7This_gem_has_been_lost_for_centuries.|&7Clean_it_off_to_find_out_what_kind_it_is.|&7|&e*_&fPrice:_&e100
  74.         cost: 100
  75.         use-permission: false
  76.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  77.         commands:
  78.         - 'ce lostbook Tier-3 1 %player%'
  79.       '4':
  80.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  81.         cost: 0
  82.         use-permission: false
  83.         message: '&f'
  84.         commands:
  85.        - ''
  86.       '5':
  87.         displayed: ENDER_CHEST 1 name:&e&lMONEY_POUCH_&a[TIER_I] lore:&7This_pouch_of_loot_was_stolen|&7from_the_kinds_castle_by_a_very|&7strange_person.|&f|&e&l*_&fPrice:_&e100'
  88.         cost: 100
  89.         use-permission: false
  90.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  91.         commands:
  92.        - 'pouch 1 %player% 1'
  93.       '6':
  94.         displayed: ENDER_CHEST 2 name:&e&lMONEY_POUCH_&a[TIER_II] lore:&7This_pouch_of_loot_was_stolen|&7from_the_kinds_castle_by_a_very|&7strange_person.|&f|&e&l*_&fPrice:_&e200'
  95.         cost: 200
  96.         use-permission: false
  97.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  98.         commands:
  99.        - 'pouch 2 %player% 1'
  100.       '7':
  101.         displayed: ENDER_CHEST 3 name:&e&lMONEY_POUCH_&a[TIER_III] lore:&7This_pouch_of_loot_was_stolen|&7from_the_kinds_castle_by_a_very|&7strange_person.|&f|&e&l*_&fPrice:_&e300'
  102.         cost: 300
  103.         use-permission: false
  104.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  105.         commands:
  106.        - 'pouch 2 %player% 1'
  107.       '8':
  108.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  109.         cost: 0
  110.         use-permission: false
  111.         message: '&f'
  112.         commands:
  113.        - ''
  114.       '9':
  115.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  116.         cost: 0
  117.         use-permission: false
  118.         message: '&f'
  119.         commands:
  120.        - ''
  121.       '10':
  122.        displayed: DIAMOND_HOE 1 name:&e&lSELLWAND&f_&a[100_Uses] lore:7Hit_the_sell_wand_on_a_chest|&7and_it_will_sell_all_sellable|&7items_in_the_chest|&f|&e&l*_&fPrice:_&e100'
  123.         cost: 100
  124.         use-permission: false
  125.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  126.         commands:
  127.        - 'sellwands give %player% member 100'
  128.       '11':
  129.        displayed: DIAMOND_HOE 1 name:&e&lSELLWAND&f_&a[200_Uses] lore:&7Hit_the_sell_wand_on_a_chest|&7and_it_will_sell_all_sellable|&7items_in_the_chest|&f|&e&l*_&fPrice:_&e250'
  130.         cost: 250
  131.         use-permission: false
  132.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  133.         commands:
  134.        - 'sellwands give %player% member 200'
  135.         - ''
  136.       '12':
  137.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  138.         cost: 0
  139.         use-permission: false
  140.         message: '&f'
  141.         commands:
  142.        - ''
  143.       '13':
  144.         displayed: PAPER 1 name:&a&lULTRA_&fRank_&a[x7_Days] lore:&7Unlock_all_perks_of_&a&lULTRA|&7rank_by_buying_this_item|&7|&e&l*_&fPrice:_&e800'
  145.         cost: 800
  146.         use-permission: false
  147.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  148.         commands:
  149.        - 'voucher give %player% URank 1'
  150.       '14':
  151.         displayed: PAPER 1 name:&3&lPLATINUM_&fRank_&a[x7_Days] lore:&7Unlock_all_perks_of_&3&lPLATINUM|&7rank_by_buying_this_item|&7|&e&l*_&fPrice:_&e1000'
  152.         cost: 1000
  153.         use-permission: false
  154.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  155.         commands:
  156.        - 'voucher give %player% PRank 1'
  157.       '15':
  158.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  159.         cost: 0
  160.         use-permission: false
  161.         message: '&f'
  162.         commands:
  163.         - ''
  164.       '16':
  165.         displayed: FEATHER 1 name:&e&lFLY_&fPermission lore:&7Get_an_unlimited_fly_perk|&7with_access_to_/fly|&f|&e&l*_&fPrice:_&e1000'
  166.         cost: 0
  167.         use-permission: false
  168.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  169.         commands:
  170.        - 'voucher give %player% Fly 1'
  171.       '17':
  172.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  173.         cost: 0
  174.         use-permission: false
  175.         message: '&f'
  176.         commands:
  177.       '18':
  178.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  179.         cost: 0
  180.         use-permission: false
  181.         message: '&f'
  182.         commands:
  183.        - ''
  184.       '19':
  185.         displayed: TRIPWIRE_HOOK 1 name:&4&lADVANCED_&fKey lore:&7Use_this_key_on_the_Advanced|&7crate_to_obtain_rewards|&f|&e&l*_&fPrice:_&e400'
  186.         cost: 400
  187.         use-permission: false
  188.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  189.         commands:
  190.        - 'cc give physical Advanced 1 %player%'
  191.       '20':
  192.         displayed: TRIPWIRE_HOOK 1 name:&d&lLEGENDARY_&fKey lore:&7Use_this_key_on_the_Legendary|&7crate_to_obtain_rewards|&f|&e&l*_&fPrice:_&e600'
  193.         cost: 600
  194.         use-permission: false
  195.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  196.         commands:
  197.        - 'cc give physical Legendary 1 %player%'
  198.       '21':
  199.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  200.         cost: 0
  201.         use-permission: false
  202.         message: '&f'
  203.         commands:
  204.        - ''
  205.       '22':
  206.         displayed: DRAGON_EGG 1 name:&a&lMiner_Minion lore:&7Once_played,_will_mine|&7the_block_infront_of_it.|&7|&e&l&_&fPrice:_&e1000'
  207.         cost: 1000
  208.         use-permission: false
  209.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  210.         commands:
  211.        - 'minions give %player% Miner 1'
  212.       '23':
  213.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  214.         cost: 0
  215.         use-permission: false
  216.         message: '&f'
  217.         commands:
  218.        - ''
  219.       '24':
  220.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  221.         cost: 0
  222.         use-permission: false
  223.         message: '&f'
  224.         commands:
  225.        - ''
  226.       '25':
  227.         displayed: CHEST 1 name:&e&lVOID_&fChest lore:&7Anything_placed_in_this_chest|&7will_automatically_get_sold_to|&7the_shop_and_straight|&7into_your_balance.|&f|&e&l*_&fPrice:_&e500'
  228.         cost: 500
  229.         use-permission: false
  230.         message: '&b&lTOKENS &8» &7Thanks for your purchase, %player%! &c-%price% tokens'
  231.         commands:
  232.        - 'sellchest give %player% 1'
  233.         - ''
  234.       '26':
  235.         displayed: STAINED_GLASS_PANE:15 1 name:&f lore:&f'
  236.         cost: 0
  237.         use-permission: false
  238.         message: '&f'
  239.         commands:
  240.        - ''
  241. #      '5':
  242. #        displayed: CHEST 1 name:&6examplesubshop lore:&7Opens_&6examplesubshop&7.
  243. #        cost: 0
  244. #        subshop: examplesubshop # Name of a subshop to open when this item is clicked on
  245. #      '6':
  246. #        displayed: CHEST 1 name:&dexamplesubshop2 lore:&7Opens_&dexamplesubshop2&7.
  247. #        cost: 0
  248. #        subshop: examplesubshop2
  249. #  examplesubshop:
  250. #    title: '&6Example Subshop Title'
  251. #    rows: 2
  252. #    items:
  253. #      '0':
  254. #        # This will not display properly if your server version is 1.9+! Use 'POTION:INSTANT_HEAL-strong-splash' instead of '373:16421'
  255. #        displayed: 373:16421 1 name:&dSplash_Potion_of_Healing lore:&dBalance:_%tokens%_Tokens|&aPrice:_%price%_Tokens
  256. #        cost: 5
  257. #        commands:
  258. #        - 'give %player% 373:16421 1 name:&dSplash_Potion_of_Healing'
  259. #      '17':
  260. #        displayed: REDSTONE_BLOCK 1 name:&cGo_Back
  261. #        cost: 0
  262. #        subshop: example
  263. #  examplesubshop2:
  264. #    title: '&6Example Subshop 2 Title'
  265. #    rows: 1
  266. #    use-permission: true # 'true' to require players to have the permission 'tokenmanager.use.examplesubshop2' to access this shop
  267. #    confirm-purchase: true # 'true' to open a confirm purchase gui for every item in this shop inventory with a cost over 0
  268. #    items:
  269. #      '0':
  270. #        displayed: BEACON 1 name:&5Beacon lore:&dBalance:_%tokens%_Tokens|&aPrice:_%price%_Tokens
  271. #        cost: 1000
  272. #        commands:
  273. #        - 'give %player% BEACON 1'
  274. #      '8':
  275. #        displayed: REDSTONE_BLOCK 1 name:&cGo_Back
  276. #        cost: 0
  277. #        subshop: example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement