promotional bannermobile promotional banner

BacketBowAPI

BacketBowAPI

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

CommandPermissionDescription
/bow create <name>noneCreate 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 ;)

The BacketBowAPI Team

profile avatar
  • 2
    Projects
  • 1.6K
    Downloads

More from _ForgeUser17260314