Package net.minecraft.server.dedicated
Class DedicatedServerProperties
java.lang.Object
net.minecraft.server.dedicated.Settings<DedicatedServerProperties>
net.minecraft.server.dedicated.DedicatedServerProperties
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.server.dedicated.Settings
Settings.MutableValue<V>
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
int
boolean
int
boolean
int
long
int
int
boolean
int
boolean
boolean
int
int
int
boolean
int
boolean
boolean
boolean
boolean
int
boolean
boolean
int
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 -
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
-
DedicatedServerProperties
-
-
Method Details
-
fromFile
-
reload
- Specified by:
reload
in classSettings<DedicatedServerProperties>
-
getWorldGenSettings
-