public class BungeeViaConfig extends AbstractViaConfig
Constructor and Description |
---|
BungeeViaConfig(File configFile) |
Modifier and Type | Method and Description |
---|---|
int |
getBungeePingInterval()
What is the interval for checking servers via ping
-1 for disabled
|
Map<String,Integer> |
getBungeeServerProtocols()
Get the listed server protocols in the config.
|
URL |
getDefaultConfigURL() |
List<String> |
getUnsupportedOptions() |
protected void |
handleConfig(Map<String,Object> config) |
boolean |
isBungeePingSave()
Should the bungee ping be saved to the config on change.
|
boolean |
isItemCache()
Use the item cache to prevent high resource usage
|
boolean |
isNMSPlayerTicking()
Use the NMS player ticking
|
protected void |
loadFields() |
get1_13TabCompleteDelay, getBlockConnectionMethod, getBlockedDisconnectMsg, getBlockedProtocols, getHologramYOffset, getMaxPPS, getMaxPPSKickMessage, getMaxWarnings, getMaxWarningsKickMessage, getPistonReplacementId, getReloadDisconnectMsg, getTrackingPeriod, getWarningPPS, is1_12NBTArrayFix, is1_12QuickMoveActionFix, is1_13TeamColourFix, is1_14HealthNaNFix, is1_14HitboxFix, is1_15InstantRespawn, is1_9HitboxFix, isAntiXRay, isAutoTeam, isBossbarAntiflicker, isBossbarPatch, isCheckForUpdates, isDisable1_13AutoComplete, isForceJsonTransform, isHologramPatch, isIgnoreLong1_16ChannelNames, isInfestedBlocksFix, isLeftHandedHandling, isMinimizeCooldown, isNewEffectIndicator, isNonFullBlockLightFix, isPistonAnimationPatch, isPreventCollision, isReduceBlockStorageMemory, isReplacePistons, isSendSupportedVersions, isServersideBlockConnections, isShieldBlocking, isShowNewDeathMessages, isSimulatePlayerTick, isSnowCollisionFix, isStemWhenBlockAbove, isSuppressConversionWarnings, isSuppressMetadataErrors, isTruncate1_14Books, isVineClimbFix, reloadConfig, setCheckForUpdates
get, getBoolean, getDouble, getInt, getIntegerList, getString, getValues, loadConfig, saveConfig, saveConfig, set
public BungeeViaConfig(File configFile)
protected void loadFields()
loadFields
in class AbstractViaConfig
public URL getDefaultConfigURL()
getDefaultConfigURL
in class Config
protected void handleConfig(Map<String,Object> config)
handleConfig
in class Config
public List<String> getUnsupportedOptions()
getUnsupportedOptions
in class Config
public boolean isItemCache()
ViaVersionConfig
isItemCache
in interface ViaVersionConfig
isItemCache
in class AbstractViaConfig
public boolean isNMSPlayerTicking()
ViaVersionConfig
isNMSPlayerTicking
in interface ViaVersionConfig
isNMSPlayerTicking
in class AbstractViaConfig
public int getBungeePingInterval()
public boolean isBungeePingSave()
Copyright © 2016–2021. All rights reserved.