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 TypeClassDescription(package private) static 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
private static final com.google.common.base.Splitter
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 DataPackConfig
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 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.WorldDimensionData
final WorldOptions
Fields inherited from class net.minecraft.server.dedicated.Settings
properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateDimensions
(RegistryAccess p_250466_) static DedicatedServerProperties
private static DataPackConfig
getDatapackConfig
(String p_251757_, String p_249979_) private static FeatureFlagSet
getFeatures
(String p_251025_) private static Optional<MinecraftServer.ServerResourcePackInfo>
getServerPackInfo
(String p_214809_, String p_214810_, String p_214811_, boolean p_214812_, String p_214813_) 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
-
COMMA_SPLITTER
private static final com.google.common.base.Splitter COMMA_SPLITTER -
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
-
initialDataPackConfiguration
-
playerIdleTimeout
-
whiteList
-
enforceSecureProfile
public final boolean enforceSecureProfile -
worldDimensionData
-
worldOptions
-
-
Constructor Details
-
DedicatedServerProperties
-
-
Method Details
-
fromFile
-
reload
- Specified by:
reload
in classSettings<DedicatedServerProperties>
-
parseResourcePackPrompt
-
getServerPackInfo
-
getDatapackConfig
-
getFeatures
-
createDimensions
-