Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.arcadianmc.skyblockcore.gems;
- import com.arcadianmc.utilities.simple.Trio;
- import com.arcadianmc.utilities.utils.CC;
- import com.arcadianmc.utilities.utils.Items;
- import org.bukkit.Material;
- import org.bukkit.inventory.ItemStack;
- import java.util.ArrayList;
- import java.util.List;
- public class ShopDefinition {
- private static List<Trio<ItemStack, String, Integer>> shopItems = new ArrayList<>(); // Display, Command, Price
- static {
- shopItems.add(getChatColorPrize("Light Green", CC.LightGreen));
- shopItems.add(getChatColorPrize("Aqua", CC.Aqua));
- shopItems.add(getChatColorPrize("Blue", CC.Blue));
- shopItems.add(getChatColorPrize("Gold", CC.Gold));
- shopItems.add(getChatColorPrize("Green", CC.Green));
- shopItems.add(getChatColorPrize("Pink", CC.LightPurple));
- shopItems.add(getChatColorPrize("Dark Purple", CC.DarkPurple));
- shopItems.add(getChatColorPrize("Dark Aqua", CC.DarkAqua));
- shopItems.add(getChatColorPrize("Dark Blue", CC.DarkBlue));
- shopItems.add(getChatColorPrize("Dark Green", CC.DarkGreen));
- shopItems.add(getChatColorPrize("Dark Green", CC.DarkGrey));
- shopItems.add(getChatColorPrize("Red", CC.Red));
- shopItems.add(getChatColorPrize("Yellow", CC.Yellow));
- shopItems.add(getChatColorPrize("White", CC.White));
- shopItems.add(Trio.of(Items.builder(Material.SLIME_BALL).name(CC.GreenB + "BLOCKTRAK ORB").get(), "blackmarket give <player> blocktrak_orb 1", 250));
- shopItems.add(Trio.of(Items.builder(Material.MAGMA_CREAM).name(CC.RedB + "STATTRAK ORB").get(), "blackmarket give <player> stattrak_orb 1", 250));
- shopItems.add(Trio.of(Items.builder(Material.NAME_TAG).name(CC.LightPurpleB + "RENAME SCROLL").get(), "blackmarket give <player> rename_scroll 1", 500));
- shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.GoldB + "ANCIENT MOB SPAWNER").get(), "blackmarket give <player> ancient_mob_spawner 1", 500));
- shopItems.add(Trio.of(Items.builder(Material.BLAZE_ROD).name(CC.RedB + "SKY DROPPER WAND").get(), "blackmarket give <player> sky_dropper_wand 1", 750));
- shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.YellowB + "Vote Crate Key").get(), "crate give <player> vote 1", 50));
- shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.YellowB + "Vote Crate Key").amount(5).get(), "crate give <player> vote 5", 240));
- shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.YellowB + "Vote Crate Key").amount(10).get(), "crate give <player> vote 10", 450));
- shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.DarkGreenB + "Aurora Crate Key").get(), "crate give <player> aurora 1", 1000));
- shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.DarkGreenBB + "Aurora Crate Key").amount(5).get(), "crate give <player> aurora 5", 5000));
- shopItems.add(Trio.of(Items.builder(Material.TRIPWIRE_HOOK).name(CC.DarkGreenBB + "Aurora Crate Key").amount(10).get(), "crate give <player> aurora 10", 10000));
- shopItems.add(Trio.of(Items.builder(Material.PAPER).name(CC.WhiteB + "350x350 Island Expansion").get(), "perm player <player> set askyblock.island.range.350", 1500))
- shopItems.add(Trio.of(Items.builder(Material.MAGMA_CREAM).name(CC.AquaB + "Reincarnation Orb").get(), "customitem give <player> reincarnationorb 1", 1000));
- shopItems.add(Trio.of(Items.builder(Material.MAGMA_CREAM).name(CC.AquaB + "Reincarnation Orb").amount(5).get(), "customitem give <player> reincarnationorb 5", 4900));
- shopItems.add(Trio.of(Items.builder(Material.ARMOR_STAND).name(CC.BlueB + "Island Hologram").get(), "blackmarket give <player> island_info_display", 1000));
- 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));
- shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.AquaB + "Witch Spawner").get(), "spawner give <player> witch 1", 2500));
- shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.GoldB + "Forged Mob Spawner").glowing(true).get(), "aspawner give <player> false", 2500));
- shopItems.add(Trio.of(Items.builder(Material.MOB_SPAWNER).name(CC.DarkRedB + "Wonderous Mob Spawner").glowing(true).get(), "aspawner give <player> true", 1000));
- 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));
- shopItems.add(Trio.of(Items.builder(Material.MONSTER_EGG).name(CC.GoldB + "Boss Spawn Egg").glowing(true).get(), "boss give egg <player> 1"));
- shopItems.add(Trio.of(Items.builder(Material.HOPPER).name(CC.Aqua + "Hopper").get(), "give <player> hopper 1", 10))
- shopItems.add(Trio.of(Items.builder(Material.HOPPER).name(CC.Aqua + "Hopper").amount(5).get(), "give <player> hopper 5", 45))
- shopItems.add(Trio.of(Items.builder(Material.HOPPER).name(CC.Aqua + "Hopper").amount(10).get(), "give <player> hopper 10", 80))
- shopItems.add(Trio.of(Items.builder(Material.GOLDEN_APPLE).name(CC.LightPurple + "Golden Apple").glowing(true).get(), "give <player> 322:1 1", 10))
- shopItems.add(Trio.of(Items.builder(Material.NAME_TAG).name(CC.LightPurpleB + "Random Store Bought Title").get(), "giverandom title <player>", 1500))
- }
- private static Trio<ItemStack, String, Integer> getChatColorPrize(String name, String colourCode) {
- return Trio.of(Items.builder(Material.PAPER).name(colourCode + name + " Chat Color")
- .lore(CC.GrayI + "Gives permanent access to", CC.Gray + "the " + colourCode + name + CC.Gray + " chat color!").get(),
- "perm player <player> set arcadian.chatcolor." + name.replaceAll(" ", "_").toLowerCase(), 350);
- }
- public static List<Trio<ItemStack, String, Integer>> getShopItems() {
- return shopItems;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement