Class DedicatedServerProperties

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

public class DedicatedServerProperties extends Settings<DedicatedServerProperties>
  • Field Details

    • 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
    • resourcePack

      public final String resourcePack
    • requireResourcePack

      public final boolean requireResourcePack
    • resourcePackPrompt

      public final String resourcePackPrompt
    • 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
    • resourcePackHash

      @Nullable public final String resourcePackHash
    • resourcePackSha1

      public final String resourcePackSha1
    • 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
    • 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
    • playerIdleTimeout

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

    • worldGenProperties

      private final DedicatedServerProperties.WorldGenProperties worldGenProperties
    • worldGenSettings

      @Nullable private WorldGenSettings worldGenSettings
  • Constructor Details

    • DedicatedServerProperties

      public DedicatedServerProperties(Properties p_180926_)
  • Method Details