Class ClientConfig
java.lang.Object
com.hypherionmc.craterlib.core.config.AbstractConfig<S>
com.hypherionmc.simplerpc.config.base.BaseRPCConfig<ClientConfig>
com.hypherionmc.simplerpc.config.impl.ClientConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAllows you to add additional information or set default config values before the file is createdvoidintUsed to determine if the config structure needs to be upgradedMethods inherited from class com.hypherionmc.simplerpc.config.base.BaseRPCConfig
registerAndSetupMethods inherited from class com.hypherionmc.craterlib.core.config.AbstractConfig
getConfigFormat, getConfigName, getConfigPath, getModId, getNetworkID, isWasSaveCalled, migrateConfig, readConfig, saveConfig, setConfigFormat
-
Field Details
-
version
public static final transient int version- See Also:
-
general
-
init
-
server_list
-
realmsScreenSection
-
join_game
-
single_player
-
multi_player
-
realmsGameSection
-
pauseSection
-
generic
-
variablesConfig
-
dimension_overrides
-
-
Constructor Details
-
ClientConfig
Create a new copy of the RPC client config- Parameters:
core- A link toSimpleRPCCore
-
-
Method Details
-
configReloaded
public void configReloaded()- Specified by:
configReloadedin classcom.hypherionmc.craterlib.core.config.AbstractConfig<ClientConfig>
-
appendAdditional
public void appendAdditional()Description copied from class:BaseRPCConfigAllows you to add additional information or set default config values before the file is created- Overrides:
appendAdditionalin classBaseRPCConfig<ClientConfig>
-
getConfigVersion
public int getConfigVersion()Description copied from class:BaseRPCConfigUsed to determine if the config structure needs to be upgraded- Overrides:
getConfigVersionin classBaseRPCConfig<ClientConfig>- Returns:
- - The current config version of the file
-