package net.estinet.gFeatures.Feature.EstiChat;

import java.util.List;

import net.estinet.gFeatures.ClioteSky.ClioteHook;
import net.estinet.gFeatures.ClioteSky.ClioteSky;
import net.estinet.gFeatures.gFeature;
import net.estinet.gFeatures.API.Logger.Debug;
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.connection.ProxiedPlayer;

/*
gFeatures
https://github.com/EstiNet/gFeaturesBungee

   Copyright 2018 EstiNet

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

public class ChatClioteHook extends ClioteHook {

    public ChatClioteHook(String identifier, String gFeatureName) {
        this.identifier = identifier;
        this.gFeatureName = gFeatureName;
    }

    @Override
    public void run(byte[] data, String sender) {
        List<String> args = ClioteSky.parseBytesToStringList(data);
        try {
            String name = args.get(0);
            args.remove(0);
            String servername = EstiChat.getServerName(ProxyServer.getInstance().getPlayer(name).getServer().getInfo().getName());
            StringBuilder mgs = new StringBuilder();
            for (String arg : args) {
                mgs.append(arg).append(" ");
            }

            ProxyServer.getInstance().getLogger().info(mgs.toString());
            for (ProxiedPlayer player : ProxyServer.getInstance().getPlayers()) {
                if (!player.getServer().getInfo().getName().equalsIgnoreCase(servername)) {
                    player.sendMessage("[" + servername + "] " + mgs);
                    Debug.print("[EstiChat] Sent player " + player.getName() + " " + "[" + servername + "] " + mgs);
                }
            }
            ClioteSky.getInstance().sendAsync(ClioteSky.stringToBytes(servername + " " + mgs), "consolechat", "all");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}

package net.estinet.gFeatures.Feature.EstiChat;

import java.util.List;

import net.estinet.gFeatures.ClioteSky.ClioteHook;
import net.estinet.gFeatures.ClioteSky.ClioteSky;
import net.estinet.gFeatures.gFeature;
import net.estinet.gFeatures.API.Logger.Debug;
import net.md_5.bungee.api.ProxyServer;
import net.md_5.bungee.api.connection.ProxiedPlayer;

/*
gFeatures
https://github.com/EstiNet/gFeaturesBungee

   Copyright 2018 EstiNet

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

public class ChatClioteHook extends ClioteHook {

    public ChatClioteHook(String identifier, String gFeatureName) {
        this.identifier = identifier;
        this.gFeatureName = gFeatureName;
    }

    @Override
    public void run(byte[] data, String sender) {
        List<String> args = ClioteSky.parseBytesToStringList(data);
        try {
            String name = args.get(0);
            args.remove(0);
            String servername = EstiChat.getServerName(ProxyServer.getInstance().getPlayer(name).getServer().getInfo().getName());
            StringBuilder mgs = new StringBuilder();
            for (String arg : args) {
                mgs.append(arg).append(" ");
            }

            ProxyServer.getInstance().getLogger().info(mgs.toString());
            for (ProxiedPlayer player : ProxyServer.getInstance().getPlayers()) {
                if (!EstiChat.getServerName(player.getServer().getInfo().getName()).equalsIgnoreCase(servername)) {
                    player.sendMessage("[" + servername + "] " + mgs);
                    Debug.print("[EstiChat] Sent player " + player.getName() + " " + "[" + servername + "] " + mgs);
                }
            }
            ClioteSky.getInstance().sendAsync(ClioteSky.stringToBytes(servername + " " + mgs), "consolechat", "all");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}

Fix chatcliotehook check