PlayerChatTabCompleteEvent dont reacts.

Discussion in 'Plugin Development' started by name123321, Jun 20, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    name123321

    package listeners;

    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.event.player.PlayerChatTabCompleteEvent;

    public class ChatTabEvent implements Listener{
    @EventHandler
    public void onChatTabEvent(PlayerChatTabCompleteEvent e) {
    System.out.println("[PlayerChatTabCompleteEvent]:Test1");
    }
    }

    Hey, I tried to block TabComplete of Commands and the PlayerChatTabCompleteEvent does not react.
    So I made an uncomplicated output when it gets launched in any way and I havent got a msg in my concole.
    I tested another event in this class and it worked, I deleted it serveral times and rewrote it.
    Is this event broke?
     
    Last edited: Jun 20, 2018
  2. Offline

    MightyOne

    I got the feeling the event only triggers for completing players' names. i was quiet frustrated as well. i think there is some packet stuff for disabling it tho
     
  3. Offline

    name123321

    feels bad, thx for your help
     
  4. Offline

    MightyOne

Thread Status:
Not open for further replies.

Share This Page