Is there a way to unequip armor of a player? Or should I give armor item and delete items in armor slots?
KittyKatt player.getInventory().setArmorContents(null); This will delete all the armor contents. But, for inventory contents, you should use: player.getInventory().clear();