if (args[0].equalsIgnoreCase("autolight")) {
if (player.hasPermission("bigdig.dig")) {
if (args.length > 1) {
if (args[1].equalsIgnoreCase("torch")) {
DigSettings.setAutoLamp(player, Material.TORCH.getId());
player.sendMessage("BigDig will auto-place : "+ DigSettings.getAutoLampName(player));
} else if (args[1].equalsIgnoreCase("glowstone")) {
DigSettings.setAutoLamp(player, Material.GLOWSTONE.getId());
player.sendMessage("BigDig will auto-place : "+ DigSettings.getAutoLampName(player));
} else if (args[1].equalsIgnoreCase("none")) {
DigSettings.setAutoLamp(player, 0);