public class VelocityViaConfig extends AbstractViaConfig
Constructor and Description |
---|
VelocityViaConfig(File configFile) |
Modifier and Type | Method and Description |
---|---|
URL |
getDefaultConfigURL() |
List<String> |
getUnsupportedOptions() |
int |
getVelocityPingInterval()
What is the interval for checking servers via ping
-1 for disabled
|
Map<String,Integer> |
getVelocityServerProtocols()
Get the listed server protocols in the config.
|
protected void |
handleConfig(Map<String,Object> config) |
boolean |
isItemCache()
Use the item cache to prevent high resource usage
|
boolean |
isNMSPlayerTicking()
Use the NMS player ticking
|
boolean |
isVelocityPingSave()
Should the velocity ping be saved to the config on change.
|
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 VelocityViaConfig(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 getVelocityPingInterval()
public boolean isVelocityPingSave()
Copyright © 2016–2021. All rights reserved.