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, setCheckForUpdatesget, getBoolean, getDouble, getInt, getIntegerList, getString, getValues, loadConfig, saveConfig, saveConfig, setpublic BungeeViaConfig(File configFile)
protected void loadFields()
loadFields in class AbstractViaConfigpublic URL getDefaultConfigURL()
getDefaultConfigURL in class Configprotected void handleConfig(Map<String,Object> config)
handleConfig in class Configpublic List<String> getUnsupportedOptions()
getUnsupportedOptions in class Configpublic boolean isItemCache()
ViaVersionConfigisItemCache in interface ViaVersionConfigisItemCache in class AbstractViaConfigpublic boolean isNMSPlayerTicking()
ViaVersionConfigisNMSPlayerTicking in interface ViaVersionConfigisNMSPlayerTicking in class AbstractViaConfigpublic int getBungeePingInterval()
public boolean isBungeePingSave()
Copyright © 2016–2021. All rights reserved.