Advertisement
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$&f10,000")),
- commands: "eco give {player} 10000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
- commands: "eco give {player} 15000",
- },
- {
- chance: 5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
- commands: "eco give {player} 25000",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f35,000")),
- commands: "eco give {player} 35000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 16",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 16",
- },
- {
- chance: 5,
- icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 8",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l8x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 8",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
- commands: "giverankcoupon {player} hero",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond sword"), colorize("&a&lVote &7&lSword")),
- commands: "give {player} 276 1 name:&a&lVote_&7&lSword ench: sharpness:1 unbreaking:2",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&a&lVote &7&lPickaxe")),
- commands: "give {player} 278 1 name:&a&lVote_&7&lPickaxe ench: fortune:1 unbreaking:2",
- },
- {
- chance: 10,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f250 &3Shards")),
- commands: "giveshards {player} 250",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
- commands: "giveshards {player} 500",
- },
- {
- chance: 1.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
- commands: "giveshards {player} 1000",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
- commands: "givekitpaper {player} flamingo",
- },
- {
- 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.5,
- 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: 5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
- commands: "eco give {player} 25000",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f40,000")),
- commands: "eco give {player} 40000",
- },
- {
- 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&l8x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 8",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
- commands: "giverankcoupon {player} hero",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
- commands: "giverankcoupon {player} superhero",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond sword"), colorize("&b&lUncommon &7&lSword")),
- commands: "give {player} 276 1 name:&b&lUncommon_&7&lSword ench: sharpness:2 unbreaking:2",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&b&lUncommon &7&lPickaxe")),
- commands: "give {player} 278 1 name:&b&lUncommon_&7&lPickaxe ench: fortune:2 unbreaking:2",
- },
- {
- chance: 10,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f250 &3Shards")),
- commands: "giveshards {player} 250",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
- commands: "giveshards {player} 500",
- },
- {
- chance: 1.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
- commands: "giveshards {player} 1000",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
- commands: "givekitpaper {player} flamingo",
- },
- {
- 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: 12.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
- commands: "eco give {player} 25000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f35,000")),
- commands: "eco give {player} 35000",
- },
- {
- chance: 5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f50,000")),
- commands: "eco give {player} 50000",
- },
- {
- chance: 2.5,
- 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 32",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l32x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 32",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("diamond block"), colorize("&7&l16x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 16",
- },
- {
- chance: 5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l16x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 16",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
- commands: "giverankcoupon {player} hero",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
- commands: "giverankcoupon {player} superhero",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&5&lBatman &f&lRank Note")),
- commands: "giverankcoupon {player} batman",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond sword"), colorize("&9&lRare &7&lSword")),
- commands: "give {player} 276 1 name:&9&lRare_&7&lSword ench: sharpness:2 unbreaking:3 ",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond pickaxe"), colorize("&9&lRare &7&lPickaxe")),
- commands: "give {player} 278 1 name:&9&lRare_&7&lPickaxe ench: fortune:2 unbreaking:3",
- },
- {
- chance: 10,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
- commands: "giveshards {player} 500",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
- commands: "giveshards {player} 1000",
- },
- {
- chance: 1.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1500 &3Shards")),
- commands: "giveshards {player} 1500",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
- commands: "givekitpaper {player} flamingo",
- },
- {
- chance: 1,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &9&lRare Key")),
- commands: "givecratekey {player} rare 2",
- },
- {
- chance: 2,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l4x &b&lUncommon Key")),
- commands: "givecratekey {player} uncommon 4",
- },
- ]
- },
- mythical: {
- id: "mythical",
- title: "&5&lMythical",
- color: 10,
- chance: 5,
- manual: true,
- rewards: [
- {
- chance: 12.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f75,000")),
- commands: "eco give {player} 75000",
- },
- {
- chance: 10,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f100,000")),
- commands: "eco give {player} 100000",
- },
- {
- chance: 5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f125,000")),
- commands: "eco give {player} 125000",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f150,000")),
- commands: "eco give {player} 150000",
- },
- {
- chance: 12.5,
- icon: itemName(itemStack("iron block"), colorize("&7&l32x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 32",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l32x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 32",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("diamond block"), colorize("&7&l32x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 32",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l16x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 16",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
- commands: "giverankcoupon {player} hero",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
- commands: "giverankcoupon {player} superhero",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&5&lBatman &f&lRank Note")),
- commands: "giverankcoupon {player} batman",
- },
- {
- chance: 0,
- icon: itemName(itemStack("paper"), colorize("&c&lJ&6&lO&a&lK&b&lE&5&lR &f&lRank Note")),
- commands: "giverankcoupon {player} joker",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond sword"), colorize("&5&lMythical &7&lSword")),
- commands: "give {player} 276 1 name:&5&lMythical_&7&lSword ench: sharpness:3 unbreaking:3 ",
- },
- {
- 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:1",
- },
- {
- chance: 10,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
- commands: "giveshards {player} 500",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
- commands: "giveshards {player} 1000",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1500 &3Shards")),
- commands: "giveshards {player} 1500",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
- commands: "givekitpaper {player} flamingo",
- },
- {
- chance: 5,
- icon: itemName(itemStack("enchanted book"), colorize("&7&lArkham&b&lKnight &3&lKit")),
- commands: "givekitpaper {player} arkhamknight",
- },
- {
- chance: 2,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l3x &9&lRare Key")),
- commands: "givecratekey {player} rare 3",
- },
- {
- chance: 1,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l6x &b&lUncommon Key")),
- commands: "givecratekey {player} uncommon 6",
- },
- ]
- },
- legendary: {
- id: "legendary",
- title: "&6&lLegendary",
- color: 3,
- chance: 0.001,
- 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$&f200,000")),
- commands: "eco give {player} 200000",
- },
- {
- chance: 5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f300,000")),
- commands: "eco give {player} 300000",
- },
- {
- chance: 2.5,
- icon: itemName(itemStack("paper"), colorize("&a&l$&f400,000")),
- commands: "eco give {player} 400000",
- },
- {
- chance: 12.5,
- icon: itemName(itemStack("iron block"), colorize("&7&l64x &7&lIron &7&lBlocks")),
- commands: "give {player} 42 64",
- },
- {
- chance: 10,
- icon: itemName(itemStack("gold block"), colorize("&7&l64x &6&lGold &7&lBlocks")),
- commands: "give {player} 41 64",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("diamond block"), colorize("&7&l32x &b&lDiamond &7&lBlocks")),
- commands: "give {player} 57 32",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("emerald block"), colorize("&7&l32x &a&lEmerald &7&lBlocks")),
- commands: "give {player} 133 32",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
- commands: "giverankcoupon {player} hero",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
- commands: "giverankcoupon {player} superhero",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&5&lBatman &f&lRank Note")),
- commands: "giverankcoupon {player} batman",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&c&lJ&6&lO&a&lK&b&lE&5&lR &f&lRank Note")),
- commands: "giverankcoupon {player} joker",
- },
- {
- chance: 0.05,
- icon: itemName(itemStack("paper"), colorize("&d&lFlamingo &f&lRank Note")),
- commands: "giverankcoupon {player} flamingo",
- },
- {
- chance: 10,
- icon: itemName(itemStack("diamond sword"), colorize("&6&lLegendary &7&lSword")),
- commands: "give {player} 276 1 name:&4&lLegendary_&7&lSword ench: sharpness:3 unbreaking:3 knockback:2 ",
- },
- {
- chance: 5,
- 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: 10,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
- commands: "giveshards {player} 1000",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1500 &3Shards")),
- commands: "giveshards {player} 1500",
- },
- {
- chance: 5,
- icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f2000 &3Shards")),
- commands: "giveshards {player} 2000",
- },
- {
- chance: 7.5,
- icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
- commands: "givekitpaper {player} flamingo",
- },
- {
- chance: 5,
- icon: itemName(itemStack("enchanted book"), colorize("&7&lArkham&b&lKnight &3&lKit")),
- commands: "givekitpaper {player} arkhamknight",
- },
- {
- chance: 1.5,
- icon: itemName(itemStack("enchanted book"), colorize("&6&lOP &e&lPickaxe &7&lKit")),
- commands: "givekitpaper {player} oppickaxe",
- },
- {
- chance: 0,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l6x &9&lRare Key")),
- commands: "givecratekey {player} rare 3",
- },
- {
- chance: 0,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l10x &b&lUncommon Key")),
- commands: "givecratekey {player} uncommon 6",
- },
- {
- chance: 0,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l3x &5&lMythical Key")),
- commands: "givecratekey {player} mythical 2",
- },
- {
- chance: 0,
- icon: itemName(itemStack("tripwire hook"), colorize("&7&l3x &6&lLegendary Key")),
- commands: "givecratekey {player} legendary 1",
- },
- ]
- },
- }
- })
- if (interserver.getId() === "skyblock2" || interserver.getId() === "prison1") {
- autoload.watch("patches:content/jcrates.js")
- } else {
- autoload.watch("patches:content/newcrates.js")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement