Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. package com.arcadianmc.skyblockcore.gems;
  2.  
  3. import com.arcadianmc.utilities.simple.Trio;
  4. import com.arcadianmc.utilities.utils.CC;
  5. import com.arcadianmc.utilities.utils.Items;
  6. import org.bukkit.Material;
  7. import org.bukkit.inventory.ItemStack;
  8.  
  9. import java.util.ArrayList;
  10. import java.util.List;
  11.  
  12. public class ShopDefinition {
  13. private static List<Trio<ItemStack, String, Integer>> shopItems = new ArrayList<>(); // Display, Command, Price
  14. static {
  15. shopItems.add(getChatColorPrize("Light Green", CC.LightGreen));
  16. shopItems.add(getChatColorPrize("Aqua", CC.Aqua));
  17. shopItems.add(getChatColorPrize("Blue", CC.Blue));
  18. shopItems.add(getChatColorPrize("Gold", CC.Gold));
  19. shopItems.add(getChatColorPrize("Green", CC.Green));
  20. shopItems.add(getChatColorPrize("Pink", CC.LightPurple));
  21. shopItems.add(getChatColorPrize("Dark Purple", CC.DarkPurple));
  22. shopItems.add(getChatColorPrize("Dark Aqua", CC.DarkAqua));
  23. shopItems.add(getChatColorPrize("Dark Blue", CC.DarkBlue));
  24. shopItems.add(getChatColorPrize("Dark Green", CC.DarkGreen));
  25. shopItems.add(getChatColorPrize("Dark Green", CC.DarkGrey));
  26. shopItems.add(getChatColorPrize("Red", CC.Red));
  27. shopItems.add(getChatColorPrize("Yellow", CC.Yellow));
  28. shopItems.add(getChatColorPrize("White", CC.White));
  29. shopItems.add(Trio.of(Items.builder(Material.SLIME_BALL).name(CC.GreenB + "BLOCKTRAK ORB").get(), "blackmarket give <player> blocktrak_orb 1", 250));
  30. shopItems.add(Trio.of(Items.builder(Material.MAGMA_CREAM).name(CC.RedB + "STATTRAK ORB").get(), "blackmarket give <player> stattrak_orb 1", 250));
  31. shopItems.add(Trio.of(Items.builder(Material.NAME_TAG).name(CC.LightPurpleB + "RENAME SCROLL").get(), "blackmarket give <player> rename_scroll 1", 500));
  32. shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.GoldB + "ANCIENT MOB SPAWNER").get(), "blackmarket give <player> ancient_mob_spawner 1", 500));
  33. shopItems.add(Trio.of(Items.builder(Material.BLAZE_ROD).name(CC.RedB + "SKY DROPPER WAND").get(), "blackmarket give <player> sky_dropper_wand 1", 750));
  34. shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.YellowB + "Vote Crate Key").get(), "crate give <player> vote 1", 50));
  35. shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.YellowB + "Vote Crate Key").amount(5).get(), "crate give <player> vote 5", 240));
  36. shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.YellowB + "Vote Crate Key").amount(10).get(), "crate give <player> vote 10", 450));
  37. shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.DarkGreenB + "Aurora Crate Key").get(), "crate give <player> aurora 1", 1000));
  38. shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.DarkGreenBB + "Aurora Crate Key").amount(5).get(), "crate give <player> aurora 5", 5000));
  39. shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.DarkGreenBB + "Aurora Crate Key").amount(10).get(), "crate give <player> aurora 10", 10000));
  40. shopItems.add(Trio.of(Items.builder(Material.PAPER).name(CC.WhiteB + "350x350 Island Expansion").get(), "perm player <player> set askyblock.island.range.350", 1500))
  41. shopItems.add(Trio.of(Items.builder(Material.MAGMA_CREAM).name(CC.AquaB + "Reincarnation Orb").get(), "customitem give <player> reincarnationorb 1", 1000));
  42. shopItems.add(Trio.of(Items.builder(Material.MAGMA_CREAM).name(CC.AquaB + "Reincarnation Orb").amount(5).get(), "customitem give <player> reincarnationorb 5", 4900));
  43. shopItems.add(Trio.of(Items.builder(Material.ARMOR_STAND).name(CC.BlueB + "Island Hologram").get(), "blackmarket give <player> island_info_display", 1000));
  44. shopItems.add(Trio.of(Items.builder(Material.NAME_TAG).name(CC.WhiteB + "TITLE TAG" + "\" &e&lGem&6&lT&e&lr&6&le&e&la&6&ls&e&lu&6&lr&e&le&6&lr\"").get(), "title give <player> gemtreasurer", 1000));
  45. shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.AquaB + "Witch Spawner").get(), "spawner give <player> witch 1", 2500));
  46. shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.GoldB + "Forged Mob Spawner").glowing(true).get(), "aspawner give <player> false", 2500));
  47. shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.DarkRedB + "Wonderous Mob Spawner").glowing(true).get(), "aspawner give <player> true", 1000));
  48. shopItems.add(Trio.of(Items.builder(Material.ENDER_CHEST).name(CC.DarkRedB + "LATEST RELIC").lore(CC.GrayI + "This gives you the", CC.GrayI + "latest server Relic").get(), "relic give <player> latest", 50000));
  49. shopItems.add(Trio.of(Items.builder(Material.MONSTER_EGG).name(CC.GoldB + "Boss Spawn Egg").glowing(true).get(), "boss give egg <player> 1"));
  50. shopItems.add(Trio.of(Items.builder(Material.HOPPER).name(CC.Aqua + "Hopper").get(), "give <player> hopper 1", 10))
  51. shopItems.add(Trio.of(Items.builder(Material.HOPPER).name(CC.Aqua + "Hopper").amount(5).get(), "give <player> hopper 5", 45))
  52. shopItems.add(Trio.of(Items.builder(Material.HOPPER).name(CC.Aqua + "Hopper").amount(10).get(), "give <player> hopper 10", 80))
  53. shopItems.add(Trio.of(Items.builder(Material.GOLDEN_APPLE).name(CC.LightPurple + "Golden Apple").glowing(true).get(), "give <player> 322:1 1", 10))
  54. shopItems.add(Trio.of(Items.builder(Material.NAME_TAG).name(CC.LightPurpleB + "Random Store Bought Title").get(), "giverandom title <player>", 1500))
  55.  
  56. }
  57.  
  58. private static Trio<ItemStack, String, Integer> getChatColorPrize(String name, String colourCode) {
  59. return Trio.of(Items.builder(Material.PAPER).name(colourCode + name + " Chat Color")
  60. .lore(CC.GrayI + "Gives permanent access to", CC.Gray + "the " + colourCode + name + CC.Gray + " chat color!").get(),
  61. "perm player <player> set arcadian.chatcolor." + name.replaceAll(" ", "_").toLowerCase(), 350);
  62. }
  63.  
  64. public static List<Trio<ItemStack, String, Integer>> getShopItems() {
  65. return shopItems;
  66. }
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement