Advertisement
Guest User

Untitled

a guest
Nov 10th, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 18.23 KB | None | 0 0
  1. package pw.Blares.kits;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.ChatColor;
  5. import org.bukkit.Material;
  6. import org.bukkit.command.Command;
  7. import org.bukkit.command.CommandSender;
  8. import org.bukkit.enchantments.Enchantment;
  9. import org.bukkit.entity.Player;
  10. import org.bukkit.event.EventHandler;
  11. import org.bukkit.event.Listener;
  12. import org.bukkit.event.block.Action;
  13. import org.bukkit.event.inventory.InventoryClickEvent;
  14. import org.bukkit.event.player.PlayerFishEvent;
  15. import org.bukkit.event.player.PlayerInteractEvent;
  16. import org.bukkit.event.player.PlayerJoinEvent;
  17. import org.bukkit.event.player.PlayerRespawnEvent;
  18. import org.bukkit.inventory.Inventory;
  19. import org.bukkit.inventory.ItemStack;
  20. import org.bukkit.inventory.meta.ItemMeta;
  21. import org.bukkit.plugin.Plugin;
  22. import org.bukkit.plugin.java.JavaPlugin;
  23. import org.bukkit.potion.Potion;
  24. import org.bukkit.potion.PotionEffect;
  25. import org.bukkit.potion.PotionEffectType;
  26. import org.bukkit.potion.PotionType;
  27.  
  28. public class Kit extends JavaPlugin implements Listener {
  29.    
  30.    
  31.     public static String format(String format){
  32.         return ChatColor.translateAlternateColorCodes('&', format);
  33.         }
  34.  
  35.     public void onEnable() {
  36.         Bukkit.getServer().getPluginManager().registerEvents(this, this);
  37.        
  38.     }
  39.    
  40.     @EventHandler
  41.     public void onJoin(PlayerJoinEvent e) {
  42.        
  43.         e.getPlayer().getInventory().clear();
  44.        
  45.         ItemStack kit = new ItemStack(Material.WATCH);
  46.         ItemMeta kitMeta = kit.getItemMeta();
  47.         kitMeta.setDisplayName(ChatColor.YELLOW + "Kits");
  48.         kit.setItemMeta(kitMeta);
  49.         e.getPlayer().getInventory().setItem(4, kit);
  50.     }
  51.    
  52.     @EventHandler
  53.     public void onRespawn(PlayerRespawnEvent e) {
  54.        
  55.         e.getPlayer().getInventory().clear();
  56.        
  57.         ItemStack kit = new ItemStack(Material.WATCH);
  58.         ItemMeta kitMeta = kit.getItemMeta();
  59.         kitMeta.setDisplayName(ChatColor.YELLOW + "Kits");
  60.         kit.setItemMeta(kitMeta);
  61.         e.getPlayer().getInventory().setItem(4, kit);
  62.     }
  63.    
  64.     @EventHandler
  65.     public void onRightClick(PlayerInteractEvent e) {
  66.         Player p = e.getPlayer();
  67.         if (e.getAction()== Action.RIGHT_CLICK_AIR || (e.getAction() == Action.RIGHT_CLICK_BLOCK)) {
  68.             if (p.getItemInHand().getType() == Material.WATCH) {
  69.                
  70.                 Inventory kits = Bukkit.createInventory(null, 45, ChatColor.AQUA + "Kits");
  71.                
  72.                 ItemStack archer = new ItemStack(Material.LEATHER_CHESTPLATE);
  73.                 ItemMeta archerMeta = archer.getItemMeta();
  74.                 archerMeta.setDisplayName(Kit.format("&cArcher kit"));
  75.                 archer.setItemMeta(archerMeta);
  76.                
  77.                 ItemStack archer1 = new ItemStack(Material.GOLD_CHESTPLATE);
  78.                 ItemMeta archerMeta1 = archer1.getItemMeta();
  79.                 archerMeta1.setDisplayName(Kit.format("&eBard kit"));
  80.                 archer1.setItemMeta(archerMeta1);
  81.                
  82.                 ItemStack archer2 = new ItemStack(Material.DIAMOND_CHESTPLATE);
  83.                 ItemMeta archerMeta2 = archer2.getItemMeta();
  84.                 archerMeta2.setDisplayName(Kit.format("&bPvP kit"));
  85.                 archer2.setItemMeta(archerMeta2);
  86.                
  87.                 //split
  88.                
  89.                 ItemStack archer21 = new ItemStack(Material.STONE_SWORD);
  90.                 ItemMeta archerMeta21 = archer21.getItemMeta();
  91.                 archerMeta21.setDisplayName(Kit.format("&cRusher kit"));
  92.                 archer21.setItemMeta(archerMeta21);
  93.                
  94.                
  95.                 ItemStack thing = new ItemStack(Material.IRON_SWORD);
  96.                 ItemMeta thingm = thing.getItemMeta();
  97.                 thingm.setDisplayName(Kit.format("&eWarrior Kit"));
  98.                 thing.setItemMeta(thingm);
  99.                
  100.                 ItemStack archer20 = new ItemStack(Material.DIAMOND_SWORD);
  101.                 ItemMeta archerMeta20 = archer2.getItemMeta();
  102.                 archerMeta20.setDisplayName(Kit.format("&bThor kit"));
  103.                 archer20.setItemMeta(archerMeta20);
  104.                
  105.                 //split
  106.                
  107.                 ItemStack archer25 = new ItemStack(Material.FISHING_ROD);
  108.                 ItemMeta archerMeta25 = archer25.getItemMeta();
  109.                 archerMeta25.setDisplayName(Kit.format("&cFisherman kit"));
  110.                 archer25.setItemMeta(archerMeta25);
  111.                
  112.                 ItemStack arche = new ItemStack(Material.POTION);
  113.                 ItemMeta archerMet = arche.getItemMeta();
  114.                 archerMet.setDisplayName(Kit.format("&eSpeed kit"));
  115.                 arche.setItemMeta(archerMet);
  116.                
  117.                 ItemStack archer28 = new ItemStack(Material.BOOK);
  118.                 ItemMeta archerMeta28 = archer28.getItemMeta();
  119.                 archerMeta28.setDisplayName(Kit.format("&bEnchanter kit"));
  120.                 archer28.setItemMeta(archerMeta28);
  121.                
  122.                 kits.setItem(43, archer28);
  123.                
  124.                 kits.setItem(40, arche);
  125.                
  126.                 kits.setItem(37, archer25);
  127.                
  128.                 kits.setItem(25, archer20);
  129.                
  130.                 kits.setItem(22, thing);
  131.                
  132.                 kits.setItem(19, archer21);
  133.                
  134.                 kits.setItem(7, archer2);
  135.                
  136.                 kits.setItem(4, archer1);
  137.                
  138.                 kits.setItem(1, archer);
  139.                
  140.                 e.getPlayer().openInventory(kits);
  141.             }
  142.         }
  143.     }
  144.    
  145.     @EventHandler
  146.     public void onClick(InventoryClickEvent e) {
  147.        
  148.         Player p = (Player) e.getWhoClicked();
  149.        
  150.         if (e.getInventory().getTitle().equalsIgnoreCase(ChatColor.AQUA + "Kits")) {
  151.            
  152.             e.setCancelled(true);
  153.            
  154.             if (e.getRawSlot() == 1) {
  155.                 p.closeInventory();
  156.                 p.getInventory().clear();
  157.                
  158.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  159.                
  160.                 p.getInventory().setHelmet(new ItemStack(Material.LEATHER_HELMET));
  161.                 p.getInventory().setChestplate(new ItemStack(Material.LEATHER_CHESTPLATE));
  162.                 p.getInventory().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
  163.                 p.getInventory().setBoots(new ItemStack(Material.LEATHER_BOOTS));
  164.                
  165.                 ItemStack sword = new ItemStack(Material.DIAMOND_SWORD);           
  166.                 ItemMeta swordMeta = sword.getItemMeta();
  167.                 swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 1, true);
  168.                 swordMeta.setDisplayName(ChatColor.YELLOW + "Archer sword");
  169.                 sword.setItemMeta(swordMeta);
  170.                
  171.                 p.sendMessage(Kit.format("&AYou have equipped &cArcher kit"));
  172.                
  173.                 Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  174.                 pot.setSplash(true);
  175.                 for (int i = 0; i < 35; i++) {
  176.                     p.getInventory().addItem(pot.toItemStack(1));
  177.            
  178.                
  179.                 p.getInventory().setItem(0, sword);
  180.                
  181.                 p.getInventory().addItem(pot.toItemStack(1));;
  182.                
  183.                
  184.                
  185.                 }
  186.                
  187.             }
  188.            
  189.             else if (e.getRawSlot() == 4) {
  190.                 p.closeInventory();
  191.                 p.getInventory().clear();
  192.                
  193.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  194.                
  195.                 p.getInventory().setHelmet(new ItemStack(Material.GOLD_HELMET));
  196.                 p.getInventory().setChestplate(new ItemStack(Material.GOLD_CHESTPLATE));
  197.                 p.getInventory().setLeggings(new ItemStack(Material.GOLD_LEGGINGS));
  198.                 p.getInventory().setBoots(new ItemStack(Material.GOLD_BOOTS));
  199.                
  200.                 ItemStack sword = new ItemStack(Material.DIAMOND_SWORD);           
  201.                 ItemMeta swordMeta = sword.getItemMeta();
  202.                 swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 1, true);
  203.                 swordMeta.setDisplayName(ChatColor.YELLOW + "Bard sword");
  204.                 sword.setItemMeta(swordMeta);
  205.                
  206.                 p.sendMessage(Kit.format("&AYou have equipped &eBard kit"));
  207.                
  208.                 Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  209.                 pot.setSplash(true);
  210.                 for (int i = 0; i < 35; i++) {
  211.                     p.getInventory().addItem(pot.toItemStack(1));
  212.            
  213.                
  214.                 p.getInventory().setItem(0, sword);
  215.                
  216.                 p.getInventory().addItem(pot.toItemStack(1));;
  217.                
  218.                
  219.                
  220.                 }
  221.                
  222.             }
  223.             else if (e.getRawSlot() == 7) {
  224.                 p.closeInventory();
  225.                 p.getInventory().clear();
  226.                
  227.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  228.                
  229.                 p.getInventory().setHelmet(new ItemStack(Material.DIAMOND_HELMET));
  230.                 p.getInventory().setChestplate(new ItemStack(Material.DIAMOND_CHESTPLATE));
  231.                 p.getInventory().setLeggings(new ItemStack(Material.DIAMOND_LEGGINGS));
  232.                 p.getInventory().setBoots(new ItemStack(Material.DIAMOND_BOOTS));
  233.                
  234.                 ItemStack sword = new ItemStack(Material.DIAMOND_SWORD);           
  235.                 ItemMeta swordMeta = sword.getItemMeta();
  236.                 swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 1, true);
  237.                 swordMeta.setDisplayName(ChatColor.YELLOW + "Pvp sword");
  238.                 sword.setItemMeta(swordMeta);
  239.                
  240.                 p.sendMessage(Kit.format("&AYou have equipped &bPvp kit"));
  241.                
  242.                 Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  243.                 pot.setSplash(true);
  244.                 for (int i = 0; i < 35; i++) {
  245.                     p.getInventory().addItem(pot.toItemStack(1));
  246.            
  247.                
  248.                 p.getInventory().setItem(0, sword);
  249.                
  250.                 p.getInventory().addItem(pot.toItemStack(1));;
  251.                
  252.                
  253.                
  254.                 }
  255.                
  256.             }
  257.            
  258.             else if (e.getRawSlot() == 19) {
  259.                 p.closeInventory();
  260.                 if (p.hasPermission("Acoria.donor.kits")) {
  261.                    
  262.                     p.closeInventory();
  263.                    
  264.                     p.getInventory().clear();
  265.                    
  266.                     p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  267.                     p.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 100000, 1));
  268.                     p.addPotionEffect(new PotionEffect(PotionEffectType.JUMP, 100000, 2));
  269.                     p.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 100000, 2));
  270.                    
  271.                
  272.                     p.getInventory().setBoots(new ItemStack(Material.DIAMOND_BOOTS));
  273.                    
  274.                     ItemStack sword = new ItemStack(Material.DIAMOND_SWORD);           
  275.                     ItemMeta swordMeta = sword.getItemMeta();
  276.                     swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 1, true);
  277.                     swordMeta.setDisplayName(ChatColor.YELLOW + "Rusher sword");
  278.                     sword.setItemMeta(swordMeta);
  279.                    
  280.                     p.sendMessage(Kit.format("&AYou have equipped &cRusher kit"));
  281.                    
  282.                     Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  283.                     pot.setSplash(true);
  284.                     for (int i = 0; i < 35; i++) {
  285.                         p.getInventory().addItem(pot.toItemStack(1));
  286.                
  287.                    
  288.                     p.getInventory().setItem(0, sword);
  289.                    
  290.                     p.getInventory().addItem(pot.toItemStack(1));;
  291.                    
  292.                    
  293.                    
  294.                     }
  295.                    
  296.            
  297.                 }else {
  298.                     p.sendMessage(Kit.format("&cYou have not purchased this kit, purchase it &5@Store.acoria.co"));
  299.                    
  300.                    
  301.                 }
  302.                
  303.             }
  304.             else if (e.getRawSlot() == 22) {
  305.                 p.closeInventory();
  306.                 if (p.hasPermission("Acoria.donor.kits")) {
  307.                     p.closeInventory();
  308.                     p.getInventory().clear();
  309.                    
  310.                     p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  311.                     p.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 100000, 2));
  312.                    
  313.                
  314.                     p.getInventory().setBoots(new ItemStack(Material.DIAMOND_BOOTS));
  315.                    
  316.                     ItemStack sword = new ItemStack(Material.DIAMOND_SWORD);           
  317.                     ItemMeta swordMeta = sword.getItemMeta();
  318.                     swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 1, true);
  319.                     swordMeta.setDisplayName(ChatColor.YELLOW + "Warrior sword");
  320.                     sword.setItemMeta(swordMeta);
  321.                    
  322.                     p.sendMessage(Kit.format("&AYou have equipped &eWarrior kit"));
  323.                    
  324.                     Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  325.                     pot.setSplash(true);
  326.                     for (int i = 0; i < 35; i++) {
  327.                         p.getInventory().addItem(pot.toItemStack(1));
  328.                
  329.                    
  330.                     p.getInventory().setItem(0, sword);
  331.                    
  332.                     p.getInventory().addItem(pot.toItemStack(1));;
  333.                    
  334.                    
  335.                    
  336.                     }
  337.                    
  338.                    
  339.                    
  340.                 }else {
  341.                     p.sendMessage(Kit.format("&cYou have not purchased this kit, purchase it &5@Store.acoria.co"));;
  342.                 }
  343.                
  344.             }
  345.             else if (e.getRawSlot() == 25) {
  346.                 p.closeInventory();
  347.                 if (p.hasPermission("Acoria.donor.kits")) {
  348.                     p.closeInventory();
  349.                 p.getInventory().clear();
  350.                
  351.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  352.                
  353.                
  354.                
  355.            
  356.                 p.getInventory().setBoots(new ItemStack(Material.DIAMOND_BOOTS));
  357.                 p.getInventory().setLeggings(new ItemStack(Material.DIAMOND_LEGGINGS));
  358.                 p.getInventory().setChestplate(new ItemStack(Material.IRON_CHESTPLATE));
  359.                 p.getInventory().setHelmet(new ItemStack(Material.IRON_HELMET));
  360.                
  361.                 ItemStack sword = new ItemStack(Material.DIAMOND_AXE);         
  362.                 ItemMeta swordMeta = sword.getItemMeta();
  363.                 swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 2, true);
  364.                 swordMeta.setDisplayName(ChatColor.YELLOW + "Thor sword");
  365.                 sword.setItemMeta(swordMeta);
  366.                
  367.                 p.sendMessage(Kit.format("&AYou have equipped &bThor kit"));
  368.                
  369.                 Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  370.                 pot.setSplash(true);
  371.                 for (int i = 0; i < 35; i++) {
  372.                     p.getInventory().addItem(pot.toItemStack(1));
  373.            
  374.                
  375.                 p.getInventory().setItem(0, sword);
  376.                
  377.                 p.getInventory().addItem(pot.toItemStack(1));;
  378.                
  379.                
  380.                
  381.                 }
  382.                 }else {
  383.                     p.sendMessage(Kit.format("&cYou have not purchased this kit, purchase it &5@Store.acoria.co"));;
  384.                 }
  385.                
  386.             }
  387.             else if (e.getRawSlot() == 37) {
  388.                 p.closeInventory();
  389.                 if (p.hasPermission("Acoria.donor.kits")) {
  390.                
  391.                     p.closeInventory();
  392.                         p.getInventory().clear();
  393.                         p.getInventory().setHelmet(new ItemStack(Material.IRON_HELMET));
  394.                         p.getInventory().setChestplate(new ItemStack(Material.IRON_CHESTPLATE));
  395.                         p.getInventory().setLeggings(new ItemStack(Material.IRON_LEGGINGS));
  396.                         p.getInventory().setBoots(new ItemStack(Material.IRON_BOOTS));
  397.                         ItemStack sword = new ItemStack(Material.IRON_SWORD);
  398.                         ItemMeta swordMeta = sword.getItemMeta();
  399.                        
  400.                         swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 1, true);
  401.                         swordMeta.setDisplayName(ChatColor.YELLOW + "Fisherman sword");
  402.                         sword.setItemMeta(swordMeta);
  403.                         p.getInventory().addItem(sword);
  404.                         p.getInventory().addItem(new ItemStack(Material.FISHING_ROD));
  405.                         p.getInventory().setItem(9, new ItemStack(Material.ARROW));
  406.  
  407.                         p.sendMessage(Kit.format("&AYou have equipped &cFisherman kit"));
  408.                        
  409.                         Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  410.                         pot.setSplash(true);
  411.                         for (int i = 0; i < 35; i++) {
  412.                             p.getInventory().addItem(pot.toItemStack(1));
  413.                            
  414.                             p.getInventory().addItem(pot.toItemStack(1));;
  415.                            
  416.                         }
  417.                
  418.                
  419.                 }else {
  420.                     p.sendMessage(Kit.format("&cYou have not purchased this kit, purchase it &5@Store.acoria.co"));;
  421.                 }
  422.                
  423.                
  424.                
  425.             }
  426.             else if (e.getRawSlot() == 40) {
  427.                 p.closeInventory();
  428.                 if (p.hasPermission("Acoria.donor.kits")) {
  429.                    
  430.                     p.closeInventory();
  431.                 p.getInventory().clear();
  432.                
  433.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  434.                 p.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 100000, 0));
  435.                 p.addPotionEffect(new PotionEffect(PotionEffectType.INVISIBILITY, 100000, 1));
  436.                
  437.            
  438.                 p.getInventory().setHelmet(new ItemStack(Material.DIAMOND_HELMET));
  439.                 p.getInventory().setChestplate(new ItemStack(Material.DIAMOND_CHESTPLATE));
  440.                 p.getInventory().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
  441.                 p.getInventory().setBoots(new ItemStack(Material.LEATHER_BOOTS));
  442.                
  443.                 ItemStack sword = new ItemStack(Material.DIAMOND_SWORD);           
  444.                 ItemMeta swordMeta = sword.getItemMeta();
  445.                 swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 2, true);
  446.                 swordMeta.setDisplayName(ChatColor.YELLOW + "Speed sword");
  447.                 sword.setItemMeta(swordMeta);
  448.                
  449.                 p.sendMessage(Kit.format("&AYou have equipped &eSpeed kit"));
  450.                
  451.                 Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  452.                 pot.setSplash(true);
  453.                 for (int i = 0; i < 35; i++) {
  454.                     p.getInventory().addItem(pot.toItemStack(1));
  455.            
  456.                
  457.                 p.getInventory().setItem(0, sword);
  458.                
  459.                 p.getInventory().addItem(pot.toItemStack(1));;
  460.                
  461.                
  462.                
  463.                 }
  464.                
  465.             }else {
  466.                 p.sendMessage(Kit.format("&cYou have not purchased this kit, purchase it &5@Store.acoria.co"));;
  467.             }
  468.             }
  469.             else if (e.getRawSlot() == 43) {
  470.                
  471.                 if (p.hasPermission("Acoria.donor.kits")) {
  472.                    
  473.                     p.closeInventory();
  474.                
  475.                 p.getInventory().clear();
  476.                
  477.                 p.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 100000, 1));
  478.                
  479.            
  480.                 p.getInventory().setHelmet(new ItemStack(Material.IRON_HELMET));
  481.                 p.getInventory().setChestplate(new ItemStack(Material.IRON_CHESTPLATE));
  482.                 p.getInventory().setLeggings(new ItemStack(Material.IRON_LEGGINGS));
  483.                 p.getInventory().setBoots(new ItemStack(Material.IRON_BOOTS));
  484.                
  485.                 ItemStack sword = new ItemStack(Material.STONE_SWORD);         
  486.                 ItemMeta swordMeta = sword.getItemMeta();
  487.                 swordMeta.addEnchant(Enchantment.DAMAGE_ALL, 4, true);
  488.                 swordMeta.setDisplayName(ChatColor.YELLOW + "Enchanter sword");
  489.                 sword.setItemMeta(swordMeta);
  490.                
  491.                 p.sendMessage(Kit.format("&AYou have equipped &bEnchanter kit"));
  492.                
  493.                 Potion pot = new Potion(PotionType.INSTANT_HEAL, 2);
  494.                 pot.setSplash(true);
  495.                 for (int i = 0; i < 35; i++) {
  496.                     p.getInventory().addItem(pot.toItemStack(1));
  497.            
  498.                
  499.                 p.getInventory().setItem(0, sword);
  500.                
  501.                 p.getInventory().addItem(pot.toItemStack(1));;
  502.                
  503.                
  504.                
  505.                
  506.                 }
  507.             }else {
  508.                 p.closeInventory();
  509.                 p.sendMessage(Kit.format("&cYou have not purchased this kit, purchase it &5@Store.acoria.co"));;
  510.             }
  511.             }
  512.            
  513.         }
  514.         }
  515.    
  516.     @EventHandler
  517.     public void onFish(PlayerFishEvent e) {
  518.         Player p = e.getPlayer();
  519.         Player caught = (Player) e.getCaught();
  520.         if (caught != null) {
  521.             if (caught instanceof Player) {
  522.                 caught.teleport(p);
  523.                 caught.sendMessage(ChatColor.GREEN + "You have been fished by " + p.getName() + "!");
  524.                 p.sendMessage(ChatColor.GREEN + "You have fished " + caught.getName() + "!");
  525.             }
  526.         }
  527.     }
  528.    
  529.  
  530.    
  531.    
  532. }
  533.    
  534.    
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543. name: Kits
  544. version: 1.0
  545. main: pw.Blares.kits.Kit
  546. author: Blares
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement