Class ServerProperties

    • Field Detail

      • onlineMode

        public final boolean onlineMode
      • preventProxyConnections

        public final boolean preventProxyConnections
      • serverIp

        public final java.lang.String serverIp
      • spawnAnimals

        public final boolean spawnAnimals
      • spawnNpcs

        public final boolean spawnNpcs
      • pvp

        public final boolean pvp
      • allowFlight

        public final boolean allowFlight
      • resourcePack

        public final java.lang.String resourcePack
      • motd

        public final java.lang.String motd
      • forceGameMode

        public final boolean forceGameMode
      • enforceWhitelist

        public final boolean enforceWhitelist
      • gamemode

        public final GameType gamemode
      • levelName

        public final java.lang.String levelName
      • serverPort

        public final int serverPort
      • maxBuildHeight

        public final int maxBuildHeight
      • announcePlayerAchievements

        public final java.lang.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 java.lang.String rconPassword
      • resourcePackHash

        public final java.lang.String resourcePackHash
      • resourcePackSha1

        public final java.lang.String 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

        public final java.lang.String textFilteringConfig
    • Constructor Detail

      • ServerProperties

        public ServerProperties​(java.util.Properties p_i242099_1_,
                                DynamicRegistries p_i242099_2_)