Package net.minecraft.server.dedicated
Class ServerProperties
java.lang.Object
net.minecraft.server.dedicated.PropertyManager<ServerProperties>
net.minecraft.server.dedicated.ServerProperties
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.server.dedicated.PropertyManager
PropertyManager.Property<V>
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final boolean
final Boolean
final boolean
final boolean
final Difficulty
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final int
final boolean
final int
final GameType
final boolean
final String
final int
final int
final long
final int
final String
final int
final boolean
final int
final boolean
final boolean
final int
final int
final String
final int
final String
final String
final String
final String
final int
final boolean
final boolean
final boolean
final boolean
final int
final boolean
final String
final boolean
final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerProperties
fromFile
(DynamicRegistries p_244380_0_, Path p_244380_1_) protected ServerProperties
reload
(DynamicRegistries p_241881_1_, 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 Details
-
onlineMode
public final boolean onlineMode -
preventProxyConnections
public final boolean preventProxyConnections -
serverIp
-
spawnAnimals
public final boolean spawnAnimals -
spawnNpcs
public final boolean spawnNpcs -
pvp
public final boolean pvp -
allowFlight
public final boolean allowFlight -
resourcePack
-
motd
-
forceGameMode
public final boolean forceGameMode -
enforceWhitelist
public final boolean enforceWhitelist -
difficulty
-
gamemode
-
levelName
-
serverPort
public final int serverPort -
maxBuildHeight
public final int maxBuildHeight -
announcePlayerAchievements
-
enableQuery
public final boolean enableQuery -
queryPort
public final int queryPort -
enableRcon
public final boolean enableRcon -
rconPort
public final int rconPort -
rconPassword
-
resourcePackHash
-
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
-
playerIdleTimeout
-
whiteList
-
worldGenSettings
-
-
Constructor Details
-
ServerProperties
-
-
Method Details
-
fromFile
-
reload
- Specified by:
reload
in classPropertyManager<ServerProperties>
-