Class DedicatedServerProperties

java.lang.Object
net.minecraft.server.dedicated.Settings<DedicatedServerProperties>
net.minecraft.server.dedicated.DedicatedServerProperties

public class DedicatedServerProperties extends Settings<DedicatedServerProperties>
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
    • SHA1

      private static final Pattern SHA1
    • onlineMode

      public final boolean onlineMode
    • preventProxyConnections

      public final boolean preventProxyConnections
    • serverIp

      public final String serverIp
    • spawnAnimals

      public final boolean spawnAnimals
    • spawnNpcs

      public final boolean spawnNpcs
    • pvp

      public final boolean pvp
    • allowFlight

      public final boolean allowFlight
    • motd

      public final String motd
    • forceGameMode

      public final boolean forceGameMode
    • enforceWhitelist

      public final boolean enforceWhitelist
    • difficulty

      public final Difficulty difficulty
    • gamemode

      public final GameType gamemode
    • levelName

      public final String levelName
    • serverPort

      public final int serverPort
    • announcePlayerAchievements

      @Nullable public final Boolean announcePlayerAchievements
    • enableQuery

      public final boolean enableQuery
    • queryPort

      public final int queryPort
    • enableRcon

      public final boolean enableRcon
    • rconPort

      public final int rconPort
    • rconPassword

      public final String 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

      public final String textFilteringConfig
    • serverResourcePackInfo

      public Optional<MinecraftServer.ServerResourcePackInfo> serverResourcePackInfo
    • previewsChat

      public final boolean previewsChat
    • playerIdleTimeout

      public final Settings<DedicatedServerProperties>.MutableValue<Integer> playerIdleTimeout
    • whiteList

    • enforceSecureProfile

      public final boolean enforceSecureProfile
    • worldGenProperties

      private final DedicatedServerProperties.WorldGenProperties worldGenProperties
    • worldGenSettings

      @Nullable private WorldGenSettings worldGenSettings
  • Constructor Details

    • DedicatedServerProperties

      public DedicatedServerProperties(Properties p_180926_)
  • Method Details