Class ServerPlayerListModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.serverplayerlist.ServerPlayerListModule
- All Implemented Interfaces:
CommandOwner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static ServerPlayerListModulestatic final PluginManifestprivate static final intFields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate static ServerPlayerListPlayercreateServerPlayerListPlayer(PlayerRef playerRef) static ServerPlayerListModuleget()private static intgetPingValue(PacketHandler handler) private voidprivate voidprivate voidprotected voidsetup()Methods inherited from class com.hypixel.hytale.server.core.plugin.JavaPlugin
getClassLoader, getFile, getType, start0Methods inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
getAssetRegistry, getBasePermission, getBlockStateRegistry, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad, setup0, shutdown, shutdown0, start, withConfig, withConfig
-
Field Details
-
MANIFEST
-
PING_UPDATE_INTERVAL_SECONDS
private static final int PING_UPDATE_INTERVAL_SECONDS- See Also:
-
instance
-
-
Constructor Details
-
ServerPlayerListModule
-
-
Method Details
-
get
-
setup
protected void setup()- Overrides:
setupin classPluginBase
-
onPlayerConnect
-
onPlayerDisconnect
-
onPlayerAddedToWorld
-
broadcastPingUpdates
private void broadcastPingUpdates() -
getPingValue
-
createServerPlayerListPlayer
@Nonnull private static ServerPlayerListPlayer createServerPlayerListPlayer(@Nonnull PlayerRef playerRef)
-