BacketBowAPI
important: download original API (BacketAPI)
BacketBowAPI what is?
- BacketBowAPI is API For Create Bow, But the important: you need you add a code for custom name but i can add a custom name on next version!
Command & Permission
| Command | Permission | Description |
|---|---|---|
| /bow create <name> | none | Create a bow (without name) |
API Code
if(args[0].equalsIgnoreCase("/bow")) { if(args.length > 3 ||(args.length < 3)) { p.sendMessage(prefix + ChatColor.RED + " Please use /bow create <name>"); e.setCancelled(true); } if(args[1].equalsIgnoreCase("create")) { p.getInventory().addItem(new ItemStack (Material.BOW)); p.sendMessage(prefix + ChatColor.GOLD + " Bow is giving !"); e.setCancelled(true); } } }
Make your Own Name, you need make a code your self ;)

