public class ServerPropertiesHandler extends AbstractPropertiesHandler<ServerPropertiesHandler>
AbstractPropertiesHandler.PropertyAccessor<V>
Constructor and Description |
---|
ServerPropertiesHandler(Properties properties,
DynamicRegistryManager dynamicRegistryManager) |
Modifier and Type | Method and Description |
---|---|
protected ServerPropertiesHandler |
create(DynamicRegistryManager dynamicRegistryManager,
Properties properties)
Creates another property handler with the same type as this one from the
passed new map of properties.
|
static ServerPropertiesHandler |
load(DynamicRegistryManager dynamicRegistryManager,
Path path) |
accessor, accessor, booleanAccessor, combineParser, copyProperties, get, get, get, getDeprecated, getDeprecatedBoolean, getDeprecatedString, getInt, getString, intAccessor, loadProperties, parseBoolean, parseLong, saveProperties, transformedParseInt
public final boolean onlineMode
public final boolean preventProxyConnections
public final String serverIp
public final boolean spawnAnimals
public final boolean spawnNpcs
public final boolean pvp
public final boolean allowFlight
public final String resourcePack
public final String motd
public final boolean forceGameMode
public final boolean enforceWhitelist
public final Difficulty difficulty
public final GameMode gameMode
public final String levelName
public final int serverPort
public final int maxBuildHeight
public final Boolean announcePlayerAchievements
public final boolean enableQuery
public final int queryPort
public final boolean enableRcon
public final int rconPort
public final String rconPassword
public final String resourcePackHash
public final String resourcePackSha1
public final boolean hardcore
public final boolean allowNether
public final boolean spawnMonsters
public final boolean snooperEnabled
public final boolean useNativeTransport
public final boolean enableCommandBlock
public final int spawnProtection
public final int opPermissionLevel
public final int functionPermissionLevel
public final long maxTickTime
public final int rateLimit
public final int viewDistance
public final int maxPlayers
public final int networkCompressionThreshold
public final boolean broadcastRconToOps
public final boolean broadcastConsoleToOps
public final int maxWorldSize
public final boolean syncChunkWrites
public final boolean enableJmxMonitoring
public final boolean enableStatus
public final int entityBroadcastRangePercentage
public final String field_26899
public final AbstractPropertiesHandler.PropertyAccessor<Integer> playerIdleTimeout
public final AbstractPropertiesHandler.PropertyAccessor<Boolean> whiteList
public final GeneratorOptions generatorOptions
public ServerPropertiesHandler(Properties properties, DynamicRegistryManager dynamicRegistryManager)
public static ServerPropertiesHandler load(DynamicRegistryManager dynamicRegistryManager, Path path)
protected ServerPropertiesHandler create(DynamicRegistryManager dynamicRegistryManager, Properties properties)
AbstractPropertiesHandler
create
in class AbstractPropertiesHandler<ServerPropertiesHandler>