Package net.minecraft.server.dedicated
Class ServerProperties
- java.lang.Object
-
- net.minecraft.server.dedicated.PropertyManager<ServerProperties>
-
- net.minecraft.server.dedicated.ServerProperties
-
public class ServerProperties extends PropertyManager<ServerProperties>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.server.dedicated.PropertyManager
PropertyManager.Property<V>
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ServerProperties(java.util.Properties p_i242099_1_, DynamicRegistries p_i242099_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerProperties
fromFile(DynamicRegistries p_244380_0_, java.nio.file.Path p_244380_1_)
protected ServerProperties
reload(DynamicRegistries p_241881_1_, java.util.Properties p_241881_2_)
-
Methods inherited from class net.minecraft.server.dedicated.PropertyManager
cloneProperties, dispatchNumberOrString, get, get, get, get, get, get, get, get, getLegacy, getLegacyBoolean, getLegacyString, getMutable, getMutable, getMutable, getMutable, loadFromFile, store
-
-
-
-
Field Detail
-
onlineMode
public final boolean onlineMode
-
preventProxyConnections
public final boolean preventProxyConnections
-
serverIp
public final java.lang.String serverIp
-
spawnAnimals
public final boolean spawnAnimals
-
spawnNpcs
public final boolean spawnNpcs
-
pvp
public final boolean pvp
-
allowFlight
public final boolean allowFlight
-
resourcePack
public final java.lang.String resourcePack
-
motd
public final java.lang.String motd
-
forceGameMode
public final boolean forceGameMode
-
enforceWhitelist
public final boolean enforceWhitelist
-
difficulty
public final Difficulty difficulty
-
gamemode
public final GameType gamemode
-
levelName
public final java.lang.String levelName
-
serverPort
public final int serverPort
-
maxBuildHeight
public final int maxBuildHeight
-
announcePlayerAchievements
public final java.lang.Boolean announcePlayerAchievements
-
enableQuery
public final boolean enableQuery
-
queryPort
public final int queryPort
-
enableRcon
public final boolean enableRcon
-
rconPort
public final int rconPort
-
rconPassword
public final java.lang.String rconPassword
-
resourcePackHash
public final java.lang.String resourcePackHash
-
resourcePackSha1
public final java.lang.String resourcePackSha1
-
hardcore
public final boolean hardcore
-
allowNether
public final boolean allowNether
-
spawnMonsters
public final boolean spawnMonsters
-
snooperEnabled
public final boolean snooperEnabled
-
useNativeTransport
public final boolean useNativeTransport
-
enableCommandBlock
public final boolean enableCommandBlock
-
spawnProtection
public final int spawnProtection
-
opPermissionLevel
public final int opPermissionLevel
-
functionPermissionLevel
public final int functionPermissionLevel
-
maxTickTime
public final long maxTickTime
-
rateLimitPacketsPerSecond
public final int rateLimitPacketsPerSecond
-
viewDistance
public final int viewDistance
-
maxPlayers
public final int maxPlayers
-
networkCompressionThreshold
public final int networkCompressionThreshold
-
broadcastRconToOps
public final boolean broadcastRconToOps
-
broadcastConsoleToOps
public final boolean broadcastConsoleToOps
-
maxWorldSize
public final int maxWorldSize
-
syncChunkWrites
public final boolean syncChunkWrites
-
enableJmxMonitoring
public final boolean enableJmxMonitoring
-
enableStatus
public final boolean enableStatus
-
entityBroadcastRangePercentage
public final int entityBroadcastRangePercentage
-
textFilteringConfig
public final java.lang.String textFilteringConfig
-
playerIdleTimeout
public final PropertyManager.Property<java.lang.Integer> playerIdleTimeout
-
whiteList
public final PropertyManager.Property<java.lang.Boolean> whiteList
-
worldGenSettings
public final DimensionGeneratorSettings worldGenSettings
-
-
Constructor Detail
-
ServerProperties
public ServerProperties(java.util.Properties p_i242099_1_, DynamicRegistries p_i242099_2_)
-
-
Method Detail
-
fromFile
public static ServerProperties fromFile(DynamicRegistries p_244380_0_, java.nio.file.Path p_244380_1_)
-
reload
protected ServerProperties reload(DynamicRegistries p_241881_1_, java.util.Properties p_241881_2_)
- Specified by:
reload
in classPropertyManager<ServerProperties>
-
-