123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- //AllKits
- list.new("kits");
- list.add($kits, "startkit");
- list.add($kits, "archerkit");
- list.add($kits, "pyrokit");
- list.add($kits, "mlgkit");
- list.add($kits, "witchkit");
- list.add($kits, "tankkit");
- list.add($kits, "assassinkit");
- list.add($kits, "baumeisterkit");
- list.add($kits, "schneemannkit");
- list.add($kits, "kochkit");
- list.add($kits, "piratkit");
- map.new("kits");
- map.add($kits, "startkit", 0);
- map.add($kits, "archerkit", 10000);
- map.add($kits, "pyrokit", 5000);
- map.add($kits, "mlgkit", 5000);
- map.add($kits, "witchkit", 5000);
- map.add($kits, "tankkit", 5000);
- map.add($kits, "assassinkit", 5000);
- map.add($kits, "baumeisterkit", 5000);
- map.add($kits, "schneemannkit", 10000);
- map.add($kits, "kochkit", 5000);
- map.add($kits, "piratkit", 5000);
- list.new("kitnames");
- list.add($kitnames, "§cStarterkit");
- list.add($kitnames, "§cArcher");
- list.add($kitnames, "§cPyro");
- list.add($kitnames, "§cMLG");
- list.add($kitnames, "§cWitch");
- list.add($kitnames, "§cTank");
- list.add($kitnames, "§cAssassin");
- list.add($kitnames, "§cBuilder");
- list.add($kitnames, "§cSnowman");
- list.add($kitnames, "§cCook");
- list.add($kitnames, "§cPirat");
- //startkit
- list.new("startkititems");
- list.add($startkititems, read.item("{id:'minecraft:stone_sword',Count:1b,Damage:0s}"));
- list.add($startkititems, read.item("{id:'minecraft:stone_pickaxe',Count:1b,Damage:0s}"));
- list.add($startkititems, read.item("{id:'minecraft:stone_axe',Count:1b,Damage:0s}"));
- list.new("startkitequip");
- //archerkit
- list.new("archerkititems");
- list.add($archerkititems, read.item("BOW"));
- list.add($archerkititems, read.item("ARROW:0:3"));
- list.new("archerkitequip");
- //pyrokit
- list.new("bowkititems");
- list.add($bowkititems, read.item("FLINT_AND_STEEL"));
- list.add($bowkititems, read.item("LAVA_BUCKET"));
- list.add($bowkititems, read.item("{id:'minecraft:golden_sword',Count:1b,tag:{ench:[0:{lvl:2s,id:20s}],HideFlags:2,AttributeModifiers:[0:{UUIDMost:1,UUIDLeast:1,Amount:100.0d,Slot:'mainhand',AttributeName:'generic.attackSpeed',Operation:0,Name:'generic.attackSpeed'}]},Damage:0s}"));
- list.new("bowkitequip");
- //mlgkit
- list.new("mlgkititems");
- list.add($mlgkititems, read.item("{id:'minecraft:tnt',Count:8b,Damage:0s}"));
- list.add($mlgkititems, read.item("FLINT_AND_STEEL"));
- list.add($mlgkititems, read.item("{id:'minecraft:spruce_boat',Count:1b,Damage:0s}"));
- list.add($mlgkititems, read.item("{id:'minecraft:water_bucket',Count:1b,Damage:0s}"));
- list.add($mlgkititems, read.item("WEB:0:4"));
- list.new("mlgkitequip");
- //witchkit
- list.new("witchkititems");
- list.add($witchkititems, read.item("{id:'minecraft:splash_potion',Count:1b,tag:{Potion:'minecraft:poison'},Damage:0s}"));
- list.add($witchkititems, read.item("{id:'minecraft:splash_potion',Count:1b,tag:{Potion:'minecraft:swiftness'},Damage:0s}"));
- list.add($witchkititems, read.item("{id:'minecraft:splash_potion',Count:1b,tag:{Potion:'minecraft:regeneration'},Damage:0s}"));
- list.add($witchkititems, read.item("{id:'minecraft:leather_helmet',Count:1b,tag:{display:{color:1644825}},Damage:0s}"));
- list.new("witchkitequip");
- //tankkit
- list.new("tankkititems");
- list.add($tankkititems, read.item("{id:'minecraft:potion',Count:1b,tag:{Potion:'minecraft:fire_resistance'},Damage:0s}"));
- list.new("tankkitequip");
- list.add($tankkitequip, read.item("{id:'minecraft:iron_helmet',Count:1b,Damage:0s}"));
- list.add($tankkitequip, read.item("{id:'minecraft:diamond_chestplate',Count:1b,Damage:0s}"));
- list.add($tankkitequip, read.item("{id:'minecraft:iron_leggings',Count:1b,Damage:0s}"));
- list.add($tankkitequip, read.item("{id:'minecraft:iron_boots',Count:1b,Damage:0s}"));
- //assassinkit
- list.new("assassinkititems");
- list.add($assassinkititems, read.item("{id:'minecraft:diamond_sword',Count:1b,tag:{ench:[0:{lvl:1s,id:16s}],HideFlags:2,AttributeModifiers:[0:{UUIDMost:1,UUIDLeast:1,Amount:100.0d,Slot:'mainhand',AttributeName:'generic.attackSpeed',Operation:0,Name:'generic.attackSpeed'}]},Damage:0s}"));
- list.new("assassinkitequip");
- list.add($assassinkitequip, read.item("AIR"));
- list.add($assassinkitequip, read.item("AIR"));
- list.add($assassinkitequip, read.item("AIR"));
- list.add($assassinkitequip, read.item("{id:'minecraft:diamond_boots',Count:1b,tag:{ench:[0:{lvl:2s,id:2s}],HideFlags:2},Damage:0s}"));
- //baumeisterkit
- list.new("baumeisterkititems");
- list.add($baumeisterkititems, read.item("{id:'minecraft:brick_block',Count:64b,Damage:0s}"));
- list.add($baumeisterkititems, read.item("{id:'minecraft:brick_block',Count:64b,Damage:0s}"));
- list.add($baumeisterkititems, read.item("{id:'minecraft:iron_pickaxe',Count:1b,tag:{HideFlags:2,AttributeModifiers:[0:{UUIDMost:1,UUIDLeast:1,Amount:100.0d,Slot:'mainhand',AttributeName:'generic.attackSpeed',Operation:0,Name:'generic.attackSpeed'}]},Damage:0s}"));
- list.new("baumeisterkitequip");
- //schneemannkit
- list.new("schneemannkititems");
- list.add($schneemannkititems, read.item("{id:'minecraft:snowball',Count:8b,Damage:0s}"));
- list.add($schneemannkititems, read.item("{id:'minecraft:coal',Count:2b,Damage:0s}"));
- list.add($schneemannkititems, read.item("{id:'minecraft:carrot',Count:1b,Damage:0s}"));
- list.new("schneemannkitequip");
- //kochkit
- list.new("kochkititems");
- list.add($kochkititems, read.item("{id:'minecraft:furnace',Count:64b,Damage:0s}"));
- list.add($kochkititems, read.item("{id:'minecraft:cooked_porkchop',Count:32b,Damage:0s}"));
- list.add($kochkititems, read.item("{id:'minecraft:cake',Count:1b,Damage:0s}"));
- list.add($kochkititems, read.item("{id:'minecraft:cake',Count:1b,Damage:0s}"));
- list.add($kochkititems, read.item("{id:'minecraft:cake',Count:1b,Damage:0s}"));
- list.add($kochkititems, read.item("{id:'minecraft:cake',Count:1b,Damage:0s}"));
- list.add($kochkititems, read.item("{id:'minecraft:cake',Count:1b,Damage:0s}"));
- list.new("kochkitequip");
- //piratkit
- list.new("piratkititems");
- list.add($piratkititems, read.item("{id:'minecraft:iron_sword',Count:1b,Damage:0s}"));
- list.add($piratkititems, read.item("{id:'minecraft:fire_charge',Count:16b,Damage:0s}"));
- list.add($piratkititems, read.item("{id:'minecraft:dispenser',Count:1b,Damage:0s}"));
- list.add($piratkititems, read.item("{id:'minecraft:lever',Count:1b,Damage:0s}"));
- list.new("piratkitequip");
- list.new("buykits");
- list.add($buykits, read.item("{id:'minecraft:bow',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Bogen',2:'§73 Pfeile',3:'§6Preis: §r%getMapValue kits archerkit');, Coins'],Name:''§cArcher'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:flint_and_steel',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Feuerzeug',2:'§71 Lavaeimer',3:'§71 Goldschwert {Verbrennung 2}',4:'§6Preis: §r%getMapValue kits pyrokit'), Coins'],Name:''§cPyro'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:tnt',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§78 TNT',2:'§71 Feuerzeug',3:'§71 Boot',4:'§71 Wassereimer',5:'§74 Spinnweben',6:'§6Preis: §r%getMapValue kits mlgkit'), Coins'],Name:''§cMLG'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:splash_potion',Count:1b,tag:{HideFlags:35,Potion:'minecraft:poison',display:{Lore:[0:''§eAusrüstung:',1:'§71 Vergiftungstrank',2:'§71 Schnelligkeitstrank',3:'§71 Regenerationstrank',4:'§71 Lederhelm',5:'§6Preis: §r%getMapValue kits witchkit'), Coins'],Name:''§cMLG'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:diamond_chestplate',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Eisenhelm',2:'§71 Diamantbrustpanzer',3:'§71 Eisenbeinschutz',4:'§71 Eisenstiefel',5:'§6Preis: §r%getMapValue kits tankkit'), Coins'],Name:''§cTank'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:diamond_sword',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Diamantstiefel {Federfall 2}',2:'§71 Diamantschwert {Schärfe 1}',3:'§6Preis: §r%getMapValue kits assassinkit'), Coins'],Name:''§cAssassin'},AttributeModifiers:[0:{UUIDMost:1,UUIDLeast:1,Amount:100.0d,Slot:'mainhand',AttributeName:'generic.attackSpeed',Operation:0,Name:'generic.attackSpeed'}]},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:brick_block',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§7128 Ziegelsteine',2:'§71 Eisenspitzhacke',3:'§6Preis: §r%getMapValue kits baumeisterkit'), Coins'],Name:''§cBuilder'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:snowball',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§78 Schneebälle',2:'§72 Kohle',3:'§71 Karotte',4:'§6Preis: §r%getMapValue kits schneemannkit'), Coins'],Name:''§cSnowman'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:cake',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§764 Öfen',2:'§732 gebratenes Schweinefleisch',3:'§75 Kuchen',4:'§6Preis: §r%getMapValue kits kochkit'), Coins'],Name:''§cCook'}},Damage:0s}"));
- list.add($buykits, read.item("{id:'minecraft:fire_charge',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§71 Eisenschwert',2:'§716 Feuerkugeln',3:'§71 Werfer',4:'§71 Hebel',5:'§6Preis: §r%getMapValue kits piratkit'), Coins'],Name:''§cPirat'}},Damage:0s}"));
- list.new("boughtkits");
- list.add($boughtkits, read.item("{id:'minecraft:bow',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Bogen',2:'§73 Pfeile',3:'§aGekauft'],Name:'§cArcher'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:flint_and_steel',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Feuerzeug',2:'§71 Lavaeimer',3:'§71 Goldschwert {Verbrennung 2}',4:'§aGekauft'],Name:'§cPyro'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:tnt',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§78 TNT',2:'§71 Feuerzeug',3:'§71 Boot',4:'§71 Wassereimer',5:'§74 Spinnweben',6:'§aGekauft'],Name:'§cMLG'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:splash_potion',Count:1b,tag:{HideFlags:35,Potion:'minecraft:poison',display:{Lore:[0:''§eAusrüstung:',1:'§71 Vergiftungstrank',2:'§71 Schnelligkeitstrank',3:'§71 Regenerationstrank',4:'§71 Lederhelm',5:'§aGekauft'],Name:'§cMLG'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:diamond_chestplate',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Eisenhelm',2:'§71 Diamantbrustpanzer',3:'§71 Eisenbeinschutz',4:'§71 Eisenstiefel',5:'§aGekauft'],Name:'§cTank'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:diamond_sword',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Diamantstiefel (Federfall 2)',2:'§71 Diamantschwert (Schärfe 1)',3:'§aGekauft'],Name:'§cAssassin'},AttributeModifiers:[0:{UUIDMost:1,UUIDLeast:1,Amount:100.0d,Slot:'mainhand',AttributeName:'generic.attackSpeed',Operation:0,Name:'generic.attackSpeed'}]},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:brick_block',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§7128 Ziegelsteine',2:'§71 Eisenspitzhacke',3:'§aGekauft'],Name:'§cBuilder'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:snowball',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§78 Schneebälle',2:'§72 Kohle',3:'§71 Karotte',4:'§aGekauft'],Name:'§cSnowman'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:cake',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§764 Öfen',2:'§732 gebratenes Schweinefleisch',3:'§75 Kuchen',4:'§aGekauft'],Name:'§cCook'}},Damage:0s}"));
- list.add($boughtkits, read.item("{id:'minecraft:fire_charge',Count:1b,tag:{display:{Lore:[0:''§eAusrüstung:',1:'§71 Eisenschwert',2:'§716 Feuerkugeln',3:'§71 Werfer',4:'§71 Hebel',5:'§aGekauft'],Name:'§cPirat'}},Damage:0s}"));
- inv.new("kitsmenu", 2, "§8Kits");
- inv.setItem($kitsmenu, 0, read.item("{id:'minecraft:stone_pickaxe',Count:1b,tag:{HideFlags:2,display:{Lore:[0:''§eAusrüstung:',1:'§71 Steinschwert',2:'§71 Steinspitzhacke',3:'§71 Steinaxt'],Name:'§cStarterkit'},AttributeModifiers:[0:{UUIDMost:1,UUIDLeast:1,Amount:100.0d,Slot:'mainhand',AttributeName:'generic.attackSpeed',Operation:0,Name:'generic.attackSpeed'}]},Damage:0s}"));
- setVar("i", 0);
- @menulabel
- inv.setItem($kitsmenu, add($i, 1), list.getIndex($buykits, $i));
- if(less(inc("i"), list.getSize($buykits))) goto("menulabel");
- quest.give("minigames/skywars/skywars");
|