Class PingSpoof

java.lang.Object
me.neznamy.tab.api.TabFeature
me.neznamy.tab.shared.features.PingSpoof

public class PingSpoof extends me.neznamy.tab.api.TabFeature
Sets ping of all players in the packet to configured value to prevent hacked clients from seeing exact ping value of each player
  • Field Summary

    Fields inherited from class me.neznamy.tab.api.TabFeature

    disabledServers, disabledWorlds
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs new instance and loads config options
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onPlayerInfo(me.neznamy.tab.api.TabPlayer receiver, me.neznamy.tab.api.protocol.PacketPlayOutPlayerInfo info)
     
    void
     

    Methods inherited from class me.neznamy.tab.api.TabFeature

    addDisabledPlayer, addUsedPlaceholders, contains, getFeatureName, getRefreshDisplayName, isDisabled, isDisabledPlayer, onCommand, onDisplayObjective, onJoin, onLoginPacket, onObjective, onPacketReceive, onPacketSend, onQuit, onServerChange, onVanishStatusChange, onWorldChange, overridesMethod, refresh, removeDisabledPlayer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PingSpoof

      public PingSpoof()
      Constructs new instance and loads config options
  • Method Details

    • onPlayerInfo

      public void onPlayerInfo(me.neznamy.tab.api.TabPlayer receiver, me.neznamy.tab.api.protocol.PacketPlayOutPlayerInfo info)
      Overrides:
      onPlayerInfo in class me.neznamy.tab.api.TabFeature
    • load

      public void load()
      Overrides:
      load in class me.neznamy.tab.api.TabFeature
    • unload

      public void unload()
      Overrides:
      unload in class me.neznamy.tab.api.TabFeature