For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/GameOptions.md.

Interface: GameOptions experimental

Beta

Properties

bedsWork?

optional bedsWork?: boolean

Beta


bonusChest?

optional bonusChest?: boolean

Beta


cheats?

optional cheats?: boolean

Beta


commandBlockEnabled?

optional commandBlockEnabled?: boolean

Beta


commandBlockOutput?

optional commandBlockOutput?: boolean

Beta


daylightCycle?

optional daylightCycle?: DaylightCycle

Beta


difficulty?

optional difficulty?: any

Beta


dimensionId?

optional dimensionId?: string

Beta


disableWeather?

optional disableWeather?: boolean

Beta


drowningDamage?

optional drowningDamage?: boolean

Beta


educationEdition?

optional educationEdition?: boolean

Beta


entitiesDropLoot?

optional entitiesDropLoot?: boolean

Beta


exportType?

optional exportType?: ProjectExportType

Beta


fallDamage?

optional fallDamage?: boolean

Beta


fireDamage?

optional fireDamage?: boolean

Beta


fireSpreads?

optional fireSpreads?: boolean

Beta


freezeDamage?

optional freezeDamage?: boolean

Beta


friendlyFire?

optional friendlyFire?: boolean

Beta


functionCommandLimit?

optional functionCommandLimit?: number

Beta


gameMode?

optional gameMode?: any

Beta


hardcore?

optional hardcore?: boolean

Beta


immediateRespawn?

optional immediateRespawn?: boolean

Beta


insomnia?

optional insomnia?: boolean

Beta


keepInventory?

optional keepInventory?: boolean

Beta


keepPlayerData?

optional keepPlayerData?: boolean

Beta


lanVisibility?

optional lanVisibility?: boolean

Beta


limitedCrafting?

optional limitedCrafting?: boolean

Beta


maxCommandChainLength?

optional maxCommandChainLength?: number

Beta


mobGriefing?

optional mobGriefing?: boolean

Beta


mobLoot?

optional mobLoot?: boolean

Beta


mobSpawning?

optional mobSpawning?: boolean

Beta


multiplayerGame?

optional multiplayerGame?: boolean

Beta


naturalRegeneration?

optional naturalRegeneration?: boolean

Beta


playerAccess?

optional playerAccess?: GamePublishSetting

Beta


playerPermissions?

optional playerPermissions?: any

Beta


playerWaypoints?

optional playerWaypoints?: any

Beta


randomTickSpeed?

optional randomTickSpeed?: number

Beta


recipeUnlocking?

optional recipeUnlocking?: boolean

Beta


respawnBlocksExplode?

optional respawnBlocksExplode?: boolean

Beta


respawnRadius?

optional respawnRadius?: number

Beta


sendCommandFeedback?

optional sendCommandFeedback?: boolean

Beta


showBorderEffect?

optional showBorderEffect?: boolean

Beta


showCoordinates?

optional showCoordinates?: boolean

Beta


showDaysPlayed?

optional showDaysPlayed?: boolean

Beta


showDeathMessage?

optional showDeathMessage?: boolean

Beta


showItemTags?

optional showItemTags?: boolean

Beta


simulationDistance?

optional simulationDistance?: number

Beta


sleepSkipPercent?

optional sleepSkipPercent?: number

Beta


spawnPosition?

optional spawnPosition?: any

Beta


startingMap?

optional startingMap?: boolean

Beta


tileDrops?

optional tileDrops?: boolean

Beta


timeOfDay?

optional timeOfDay?: number

Beta


tntExplodes?

optional tntExplodes?: boolean

Beta


weather?

optional weather?: number

Beta


worldName?

optional worldName?: string

Beta