Class SingleplayerModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.singleplayer.SingleplayerModule
- All Implemented Interfaces:
CommandOwner
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Accessprivate static SingleplayerModulestatic final PluginManifestprivate List<InetSocketAddress> private AccessFields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic SingleplayerModuleget()static Stringstatic UUIDgetUuid()static booleanisOwner(PlayerAuthentication playerAuth, UUID playerUuid) static booleanvoidrequestServerAccess(Access access) voidsetPublicAddresses(List<InetSocketAddress> publicAddresses) protected voidsetup()protected voidstart()voidupdateAccess(Access access) 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, withConfig, withConfig
-
Field Details
-
MANIFEST
-
instance
-
access
-
requestedAccess
-
publicAddresses
-
-
Constructor Details
-
SingleplayerModule
-
-
Method Details
-
get
-
setup
protected void setup()- Overrides:
setupin classPluginBase
-
start
protected void start()- Overrides:
startin classPluginBase
-
getAccess
-
getRequestedAccess
-
requestServerAccess
-
setPublicAddresses
-
updateAccess
-
checkClientPid
public static void checkClientPid() -
getUuid
-
getUsername
-
isOwner
-
isOwner
-