Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- load("util:items.js")
- exports.put("patches:content/crates", {
- settings: {},
- crates: {
- voting: {
- id: "voting",
- title: "&a&lVoting",
- color: 5,
- chance: 100,
- rewards: [
- {
- chance: 12.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f5,000")),
- commands: "eco give {player} 5000",
- },
- {
- chance: 11,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f10,000")),
- commands: "eco give {player} 10000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
- commands: "eco give {player} 15000",
- },
- {
- chance: 12,
- icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 8",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 8",
- },
- {
- chance: 9,
- icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 6",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l4x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 4",
- },
- {
- chance: 0.9,
- icon: itemName(itemStack("paper"), colorize("&3&lVindicator &f&lRank Note")),
- commands: "giverankcoupon {player} Vindicator",
- },
- {
- chance: 0.08,
- icon: itemName(itemStack("paper"), colorize("&a&lTitan &f&lRank Note")),
- commands: "giverankcoupon {player} Titan",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
- commands: "giverankcoupon {player} Hero",
- },
- {
- chance: 5,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f50 &6Mob Coins")),
- commands: "givemobcoins {player} 50",
- },
- {
- chance: 10,
- icon: itemName(itemStack("enchanted book"), colorize("&b&lBat&4&lman &f&lKit")),
- commands: "givekitpaper {player} Batman",
- },
- {
- chance: 8.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lCow Spawner")),
- commands: "give {player} spawner 3 name:&eCow_Spawner",
- },
- {
- chance: 8.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lSheep Spawner")),
- commands: "give {player} spawner 3 name:&eSheep_Spawner",
- },
- {
- chance: 5,
- icon: itemName(itemStack("tripwire hook"), colorize("&b&lUncommon Key")),
- commands: "givecratekey {player} uncommon 1",
- },
- ]
- },
- uncommon: {
- id: "uncommon",
- title: "&b&lUncommon",
- color: 3,
- chance: 70,
- rewards: [
- {
- chance: 12,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
- commands: "eco give {player} 15000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
- commands: "eco give {player} 25000",
- },
- {
- chance: 9,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f35,000")),
- commands: "eco give {player} 35000",
- },
- {
- chance: 12.5,
- icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 16",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 16",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 8",
- },
- {
- chance: 5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l6x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 6",
- },
- {
- chance: 0.005,
- icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
- commands: "giverankcoupon {player} Superhero",
- },
- {
- chance: 0.004,
- icon: itemName(itemStack("paper"), colorize("&b&lBat&4&lman &f&lRank Note")),
- commands: "giverankcoupon {player} Batman",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&b&lUncommon &7&lPickaxe")),
- commands: "give {player} 278 1 name:&b&lUncommon_&f&lPickaxe ench: Efficiency:2 unbreaking:2",
- },
- {
- chance: 4.5,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f75 &6Mob coins")),
- commands: "givemobcoins {player} 75",
- },
- {
- chance: 10,
- icon: itemName(itemStack("enchanted book"), colorize("&c&lJ&6&lo&a&lk&b&le&d&lr &7&lKit")),
- commands: "givekitpaper {player} Joker",
- },
- {
- chance: 5.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l2x &f&lEnderman Spawner")),
- commands: "give {player} spawner 2 name:&eEnderman_Spawner",
- },
- {
- chance: 6.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l2x &f&lSpider Spawner")),
- commands: "give {player} spawner 2 name:&eSpider_Spawner",
- },
- {
- chance: 2,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &9&lRare Key")),
- commands: "givecratekey {player} rare 2",
- },
- ]
- },
- rare: {
- id: "rare",
- title: "&9&lRare",
- color: 11,
- chance: 30,
- rewards: [
- {
- chance: 11,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f50,000")),
- commands: "eco give {player} 50000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f60,000")),
- commands: "eco give {player} 60000",
- },
- {
- chance: 9,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f75,000")),
- commands: "eco give {player} 75000",
- },
- {
- chance: 12.5,
- icon: itemName(itemStack("iron block"), colorize("&7&l32x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 24",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l24x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 24",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("diamond block"), colorize("&7&l16x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 16",
- },
- {
- chance: 7,
- icon: itemName(itemStack("emerald block"), colorize("&7&l12x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 12",
- },
- {
- chance: 0.005,
- icon: itemName(itemStack("paper"), colorize("&c&lJ&6&lo&a&lk&b&le&d&lr &f&lRank Note")),
- commands: "giverankcoupon {player} Joker",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&9&lRare &7&lPickaxe")),
- commands: "give {player} 278 1 name:&9&lRare_&7&lPickaxe ench: Efficiency:3 fortune:1 unbreaking:3",
- },
- {
- chance: 3.5,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f100 &6Mob Coins")),
- commands: "givemobcoins {player} 100",
- },
- {
- chance: 3,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f150 &6Mob Coins")),
- commands: "givemobcoins {player} 150",
- },
- {
- chance: 9.5,
- icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
- commands: "givekitpaper {player} flamingo",
- },
- {
- chance: 3.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lSkeleton Spawner")),
- commands: "give {player} spawner 3 name:&eSkeleton_Spawner",
- },
- {
- chance: 3.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lZombie Spawner")),
- commands: "give {player} spawner 3 name:&eZombie_Spawner",
- },
- {
- chance: 2,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l1x &5&lMythical Key")),
- commands: "givecratekey {player} mythical 1",
- },
- ]
- },
- mythical: {
- id: "mythical",
- title: "&5&lMythical",
- color: 10,
- chance: 5,
- manual: true,
- rewards: [
- {
- chance: 12.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f100,000")),
- commands: "eco give {player} 100000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f150,000")),
- commands: "eco give {player} 150000",
- },
- {
- chance: 7,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f200,000")),
- commands: "eco give {player} 200000",
- },
- {
- chance: 12.5,
- icon: itemName(itemStack("iron block"), colorize("&7&l48x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 48",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l32x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 32",
- },
- {
- chance: 8,
- icon: itemName(itemStack("diamond block"), colorize("&7&l24x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 24",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l22x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 22",
- },
- {
- chance: 0.0005,
- icon: itemName(itemStack("paper"), colorize("&d&lFlamingo &f&lRank Note")),
- commands: "giverankcoupon {player} flamingo",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&5&lMythical &7&lPickaxe")),
- commands: "give {player} 278 1 name:&5&lMythical_&7&lPickaxe ench: fortune:3 unbreaking:3 efficiency:4",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f250 &6Mob Coins")),
- commands: "givemobcoins {player} 250",
- },
- {
- chance: 2,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f500 &6Mob Coins")),
- commands: "givemobcoins {player} 500",
- },
- {
- chance: 5,
- icon: itemName(itemStack("enchanted book"), colorize("&7&lArkham&b&lKnight &3&lKit")),
- commands: "givekitpaper {player} arkhamknight",
- },
- {
- chance: 3.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lZombie Pigman Spawner")),
- commands: "give {player} spawner 3 name:&eZombie_Pigman_Spawner",
- },
- {
- chance: 3,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l1x &f&lBlaze Spawner")),
- commands: "give {player} spawner 1 name:&eBlaze_Spawner",
- },
- {
- chance: 1.2,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l1x &6&lLegendary Key")),
- commands: "givecratekey {player} Legendary 1",
- },
- ]
- },
- legendary: {
- id: "legendary",
- title: "&6&lLegendary",
- color: 3,
- chance: 0.001,
- rewards: [
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f300,000")),
- commands: "eco give {player} 300000",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f500,000")),
- commands: "eco give {player} 500000",
- },
- {
- chance: 5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f750,000")),
- commands: "eco give {player} 750000",
- },
- {
- chance: 12.5,
- icon: itemName(itemStack("iron block"), colorize("&7&l128x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 128",
- },
- {
- chance: 12,
- icon: itemName(itemStack("gold block"), colorize("&7&l64x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 64",
- },
- {
- chance: 8,
- icon: itemName(itemStack("diamond block"), colorize("&7&l48x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 48",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l32x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 32",
- },
- {
- chance: 6,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&6&lLegendary &7&lPickaxe")),
- commands: "give {player} 278 1 name:&4&lLegendary_&7&lPickaxe ench: fortune:4 unbreaking:3 efficiency:5",
- },
- {
- chance: 3,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f750 &6Mob Coins")),
- commands: "givemobcoins {player} 750",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("double plant"), colorize("&c&l➢&f1000 &6Mob Coins")),
- commands: "givemobcoins {player} 1000",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("enchanted book"), colorize("&4&lM&c&le&4&lm&c&le&4&ll&c&lo&4&lr&c&ld &7&lKit")),
- commands: "givekitpaper {player} memelord",
- },
- {
- chance: 1.75,
- icon: itemName(itemStack("enchanted book"), colorize("&4&lOP &e&lTools &4&lKit")),
- commands: "givekitpaper {player} optools",
- },
- {
- chance: 3,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l4x &f&lBlaze Spawner")),
- commands: "give {player} spawner 4 name:&eBlaze_Spawner",
- },
- {
- chance: 3.5,
- icon: itemName(itemStack("mobspawner 1"), colorize("&c&l1x &f&lVillager Spawner")),
- commands: "give {player} spawner 1 name:&eVillager_Spawner",
- },
- {
- chance: 1,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &6&lLegendary Key")),
- commands: "givecratekey {player} legendary 2",
- },
- ]
- },
- }
- })
- //
- // if (interserver.getId() === "skyblock1" || interserver.getId() === "prison1") {
- autoload.watch("servers/skyblock1/jcrates.js")
- // } else {
- // autoload.watch("patches:content/newcrates.js")
- // }
Add Comment
Please, Sign In to add comment