Package net.minecraft.server.dedicated
Class DedicatedServerProperties
java.lang.Object
net.minecraft.server.dedicated.Settings<DedicatedServerProperties>
net.minecraft.server.dedicated.DedicatedServerProperties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Nested classes/interfaces inherited from class net.minecraft.server.dedicated.Settings
Settings.MutableValue<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 boolean
final String
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 boolean
final String
final String
final String
final String
final String
final int
final int
final boolean
final boolean
final boolean
final int
final boolean
final String
final boolean
final int
private final DedicatedServerProperties.WorldGenProperties
private WorldGenSettings
Fields inherited from class net.minecraft.server.dedicated.Settings
properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DedicatedServerProperties
getWorldGenSettings
(RegistryAccess p_180928_) protected DedicatedServerProperties
reload
(RegistryAccess p_139761_, Properties p_139762_) Methods inherited from class net.minecraft.server.dedicated.Settings
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
-
requireResourcePack
public final boolean requireResourcePack -
resourcePackPrompt
-
motd
-
forceGameMode
public final boolean forceGameMode -
enforceWhitelist
public final boolean enforceWhitelist -
difficulty
-
gamemode
-
levelName
-
serverPort
public final int serverPort -
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 -
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 -
simulationDistance
public final int simulationDistance -
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 -
hideOnlinePlayers
public final boolean hideOnlinePlayers -
entityBroadcastRangePercentage
public final int entityBroadcastRangePercentage -
textFilteringConfig
-
playerIdleTimeout
-
whiteList
-
worldGenProperties
-
worldGenSettings
-
-
Constructor Details
-
DedicatedServerProperties
-
-
Method Details
-
fromFile
-
reload
- Specified by:
reload
in classSettings<DedicatedServerProperties>
-
getWorldGenSettings
-