@DBCommand
    public boolean spawn(CommandSender sender, Iterator<String> args) {
        if(!sender.hasPermission("db.setspawn")) {
            sender.sendMessage(RED + "You don't have permission to use this command!");
            return true;
        }
        if(!(sender instanceof Player)) {
            sender.sendMessage("This command can be used only by player");
            return true;
        }
        if(!args.hasNext()) {
            mm.setGlobalSpawn(((Entity)sender).getLocation());
            sender.sendMessage(AQUA + "Global dodgeball spawn set: " + ((Entity)sender).
                    getLocation().toString());
            return true;
        }
        String name = args.next();
        mm.getMinigame(name).setSpawn(((Entity)sender).getLocation());
        sender.sendMessage(AQUA + name + " spawn set: " + ((Entity)sender).getLocation().
                toString());
        return true;
    }