93468b53b3
This is achieved by injecting the NetLoginHandler when it's added to the DedicatedServerConnectionThread's list of current login handlers. PacketEvents during this phase uses "fake" Player objects that only support a subset of methods. Consumers can expect the following methods to be functional: * getPlayer() * getAddress() * getServer() * chat(String) * sendMessage(String) * sendMessage(String[]) * kickPlayer(String) A "fake" Player object can be converted to its real counterpart by calling getPlayer(). |
||
---|---|---|
.. | ||
org.eclipse.core.resources.prefs | ||
org.eclipse.jdt.core.prefs | ||
org.eclipse.m2e.core.prefs |