@Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (args.length <= 0) {
            return false;
        }
        
        if (args[0].equalsIgnoreCase("debug-mode")) {
            if (args.length == 2) {
                boolean newDebugMode = Boolean.parseBoolean(args[1]);
                config.debugMode = newDebugMode;
                config.saveConfig();
                
                if (newDebugMode) {
                    sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": Debug mode is now " + ChatColor.GOLD + "enabled" + ChatColor.WHITE + ".");
                } else {
                    sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": Debug mode is now " + ChatColor.GOLD + "disabled" + ChatColor.WHITE + ".");
                }
            } else {
                if (config.debugMode) {
                    sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": Debug mode is " + ChatColor.GOLD + "enabled" + ChatColor.WHITE + ".");
                } else {
                    sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": Debug mode is " + ChatColor.GOLD + "disabled" + ChatColor.WHITE + ".");
                }
            }
        } else if (args[0].equalsIgnoreCase("debug-action")) {
            if (args.length == 2) {
                int newActionId = Integer.parseInt(args[1]);
                config.actionId = newActionId;
                config.saveConfig();
                
                sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": The debug action ID is now " + ChatColor.GOLD + newActionId + ChatColor.WHITE + ".");
            } else {
                sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": The debug action ID is " + ChatColor.GOLD + config.actionId + ChatColor.WHITE + ".");
            }
        } else if (args[0].equalsIgnoreCase("reload-config")) {
            config.reloadConfig();
            
            sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": The configuration was reloaded.");
        } else {
            sender.sendMessage(ChatColor.YELLOW + "UnexpectedFishing" + ChatColor.WHITE + ": Incorrect command.");
        }
        
        return true;
    }