package com.kolinkrewinkel.BitLimitTweaks;

import java.util.*;
import com.google.common.base.Joiner;
import org.bukkit.ChatColor;
import org.bukkit.*;
import org.bukkit.plugin.Plugin;
import org.bukkit.command.*;
import org.bukkit.entity.Player;
import org.bukkit.block.*;

public class TweaksCommandExecutor implements CommandExecutor {
    private final BitLimitTweaks plugin;
    
    public TweaksCommandExecutor(BitLimitTweaks plugin) {
        this.plugin = plugin;
    }
    
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (sender.hasPermission("BitLimitTweaks")) {

        } else {
            sender.sendMessage(ChatColor.RED + "You don't have permission to execute this command.");
        }
        return false;
    }
}

@@ -630,16 +630,337 @@
 ks%22)) %7B%0A
+            if (args.length %3E 1) %7B%0A                if (args.equals(%22weatherDuration%22)) %7B%0A                    if (sender instanceof Player) %7B%0A                        Player player = (Player)sender;%0A                        player.getWorld().setWeatherDuration(args%5B1%5D);%0A                    %7D%0A                %7D%0A            %7D
 %0A       

Add a method to set the duration