@EventHandler(priority = EventPriority.LOWEST)
    public void onLoginServer(ServerConnectEvent e) {
        ProxiedPlayer p = e.getPlayer();
        if (plugin.maintenanceEnabled && !p.hasPermission("bungeeutils.bypassmaintenance")) {
            p.disconnect(new ComponentBuilder("").append(plugin.messages.get(EnumMessage.KICKMAINTENANCE)).create());
            return;
        }

        String name = p.getName();

        if (p.hasPermission("bungeeutils.staffcolor")) {
            name = plugin.tabStaffColor + name;
        } else {
            name = plugin.tabDefaultColor + name;
        }

        if (name.length() > 16) {
            p.setDisplayName(name.substring(0, 16));
        } else {
            p.setDisplayName(name);
        }
    }