@Override
    public void onInvalidCommand(CommandSender sender, String[] args, String command) {
        tickets = plugin.getTicketHandler();
        if (sender instanceof Player) {
            if (sender.hasPermission("modreq.check")) {
                if (args.length == 1) {
                    int id;
                    try {
                        id = Integer.parseInt(args[0]);
                    } catch (Exception e) {
                        sender.sendMessage(ModReq.format(ModReq.getInstance().Messages.getString("error.number"), "","",""));
                        return;
                    }
                    if (tickets.getTicketCount() < id) {
                        sender.sendMessage(ModReq.format(ModReq.getInstance().Messages.getString("error.ticket.exist"), "","",""));
                    } else {
                        tickets.getTicketById(id).sendMessageToPlayer(
                                (Player) sender);
                    }
                }
            }
        }
    }