KitPvp Plugin!
This is a plugin that cant be customizable sorry. well its good if you dont want to configure anything else.
I can show u the items well lets just give the code the item stack code
Kits
Pretty long but thats just the kits.
And there are extras within this plugin
It has a custom join message
Custom death message
Economy support
Disclaimer - I can only edit the code. If you want to change it buy it first from me and i will edit it for you
Im selling this for a dollar
If intrested add me in skype : alexicanamo
This is a plugin that cant be customizable sorry. well its good if you dont want to configure anything else.
I can show u the items well lets just give the code the item stack code
Kits
Code:
if (cmd.getName().equalsIgnoreCase("brawler") && sender instanceof Player) {
Player p = (Player) sender;
p.getInventory().clear();
ItemStack startersword = new ItemStack(Material.DIAMOND_SWORD);
ItemStack starterbow = new ItemStack(Material.BOW);
ItemMeta m = startersword.getItemMeta();
p.getInventory().addItem(new ItemStack(Material.IRON_SWORD, 1));
p.getInventory().addItem(new ItemStack(Material.BOW, 1));
p.getInventory().addItem(new ItemStack(Material.ARROW, 64));
p.getInventory().addItem(new ItemStack(Material.COOKED_BEEF, 64));
p.getInventory().setChestplate(new ItemStack(Material.LEATHER_CHESTPLATE));
p.getInventory().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
p.getInventory().setBoots(new ItemStack(Material.LEATHER_BOOTS));
p.sendMessage(ChatColor.AQUA + "You were given the" + ChatColor.BOLD + ChatColor.ITALIC + ChatColor.GREEN + " Brawler Kit");
}
// Sniper Command
if (cmd.getName().equalsIgnoreCase("sniper") && sender instanceof Player) {
Player p = (Player) sender;
p.getInventory().clear();
ItemStack sniperbow = new ItemStack(Material.BOW);
ItemMeta m = sniperbow.getItemMeta();
sniperbow.addEnchantment(Enchantment.ARROW_DAMAGE, 2);
sniperbow.addEnchantment(Enchantment.ARROW_INFINITE, 1);
p.getInventory().addItem(sniperbow);
p.getInventory().addItem(new ItemStack(Material.ARROW, 1));
p.getInventory().addItem(new ItemStack(Material.COOKED_BEEF, 64));
p.getInventory().setHelmet(new ItemStack(Material.LEATHER_HELMET));
p.getInventory().setChestplate(new ItemStack(Material.LEATHER_CHESTPLATE));
p.getInventory().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
p.getInventory().setBoots(new ItemStack(Material.LEATHER_BOOTS));
p.sendMessage(ChatColor.AQUA + "You were given the" + ChatColor.BOLD + ChatColor.ITALIC + ChatColor.GREEN + " Sniper Kit");
if(p.hasPermission("kitpvp.sniper"))
{
// CODE HERE
} else p.sendMessage("You don't have permission to use that kit!");
}
// Knight Command
if (cmd.getName().equalsIgnoreCase("knight") && sender instanceof Player) {
Player p = (Player) sender;
p.getInventory().clear();
ItemStack fightersword = new ItemStack(Material.DIAMOND_SWORD);
ItemStack fighterbow = new ItemStack(Material.BOW);
ItemMeta m = fightersword.getItemMeta();
p.getInventory().addItem(fightersword);
p.getInventory().addItem(fighterbow);
p.getInventory().addItem(new ItemStack(Material.ARROW, 1));
p.getInventory().addItem(new ItemStack(Material.COOKED_BEEF, 64));
p.getInventory().setHelmet(new ItemStack(Material.IRON_HELMET));
p.getInventory().setChestplate(new ItemStack(Material.GOLD_CHESTPLATE));
p.getInventory().setLeggings(new ItemStack(Material.GOLD_LEGGINGS));
p.getInventory().setBoots(new ItemStack(Material.GOLD_BOOTS));
p.sendMessage(ChatColor.AQUA + "You were given the" + ChatColor.BOLD + ChatColor.ITALIC + ChatColor.GREEN + " Knight Kit");
if(p.hasPermission("kitpvp.fighter"))
{
// CODE HERE
} else p.sendMessage("You don't have permission to use that kit!");
}
// Warrior Command
if (cmd.getName().equalsIgnoreCase("warrior") && sender instanceof Player) {
Player p = (Player) sender;
p.getInventory().clear();
ItemStack warriorsword = new ItemStack(Material.DIAMOND_SWORD);
ItemStack warriorbow = new ItemStack(Material.BOW);
ItemMeta m = warriorsword.getItemMeta();
p.getInventory().addItem(new ItemStack(warriorsword));
p.getInventory().addItem(new ItemStack(warriorbow));
p.getInventory().addItem(new ItemStack(Material.ARROW, 1));
p.getInventory().addItem(new ItemStack(Material.COOKED_BEEF, 64));
p.getInventory().setHelmet(new ItemStack(Material.GOLD_HELMET));
p.getInventory().setChestplate(new ItemStack(Material.IRON_CHESTPLATE));
p.getInventory().setLeggings(new ItemStack(Material.LEATHER_LEGGINGS));
p.getInventory().setBoots(new ItemStack(Material.DIAMOND_BOOTS));
p.sendMessage(ChatColor.AQUA + "You were given the" + ChatColor.BOLD + ChatColor.ITALIC + ChatColor.GREEN + " Warrior Kit");
if(p.hasPermission("kitpvp.warrior"))
{
// CODE HERE
} else p.sendMessage("You don't have permission to use that kit!");
}
{
Pretty long but thats just the kits.
And there are extras within this plugin
It has a custom join message
Custom death message
Economy support
Disclaimer - I can only edit the code. If you want to change it buy it first from me and i will edit it for you
Im selling this for a dollar
If intrested add me in skype : alexicanamo
