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 boolean
final int
final boolean
final int
final GameType
final boolean
final boolean
final String
(package private) static final org.slf4j.Logger
final int
final int
final long
final int
final String
final int
final boolean
final int
final boolean
final boolean
final boolean
final int
final int
final String
final int
final String
final int
private static final Pattern
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
private static Optional<MinecraftServer.ServerResourcePackInfo>
getServerPackInfo
(String p_214809_, String p_214810_, String p_214811_, boolean p_214812_, String p_214813_) getWorldGenSettings
(RegistryAccess p_180928_) private static Component
parseResourcePackPrompt
(String p_214815_) 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
-
LOGGER
static final org.slf4j.Logger LOGGER -
SHA1
-
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 -
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
-
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 -
maxChainedNeighborUpdates
public final int maxChainedNeighborUpdates -
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
-
serverResourcePackInfo
-
previewsChat
public final boolean previewsChat -
playerIdleTimeout
-
whiteList
-
enforceSecureProfile
public final boolean enforceSecureProfile -
worldGenProperties
-
worldGenSettings
-
-
Constructor Details
-
DedicatedServerProperties
-
-
Method Details
-
fromFile
-
reload
- Specified by:
reload
in classSettings<DedicatedServerProperties>
-
parseResourcePackPrompt
-
getServerPackInfo
-
getWorldGenSettings
-