[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/prismarine](https://jsprismarine.dev/api/@jsprismarine/prismarine/index.md) / config/JsonConfigTypes

# config/JsonConfigTypes

## Interfaces

### BStatsConfig

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:117](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L117)

The `stats.bstats` section: whether the server reports to bStats, and what the reports log.

#### Properties

##### enabled?

> `optional` **enabled?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:119](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L119)

Whether the server sends pseudonymous usage data to bStats.

##### endpoint?

> `optional` **endpoint?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:127](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L127)

The URL reports are posted to: bStats' own by default, or a bStats instance of your own.

##### log-errors?

> `optional` **log-errors?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:121](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L121)

Whether a failed submit is logged.

##### log-response-status-text?

> `optional` **log-response-status-text?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:125](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L125)

Whether the text bStats answers a submit with is logged.

##### log-sent-data?

> `optional` **log-sent-data?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:123](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L123)

Whether each submitted payload is logged.

***

### BannedPlayerEntry

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:541](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L541)

One entry in `banned-players.json`. An entry with `kind` and `id` bans that one player; an entry
with a name alone, as the file was written before `kind` and `id` existed, bans every player of
that name until one logs in and the entry is written with their `kind` and `id`.

#### Extends

- `Partial`\<[`SubjectEntry`](#subjectentry)\>

#### Properties

##### id?

> `optional` **id?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:514](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L514)

The player's id on that platform: the XUID, the UUID or the name.

###### Inherited from

[`SubjectEntry`](#subjectentry).[`id`](#id-2)

##### kind?

> `optional` **kind?**: `"java"` \| `"xbox"` \| `"offline"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:512](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L512)

Which platform `id` belongs to: `xbox` for an Xbox Live XUID, `java` for a Mojang profile
UUID, `offline` for a name on an offline-mode server.

###### Inherited from

[`SubjectEntry`](#subjectentry).[`kind`](#kind-2)

##### name

> **name**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:543](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L543)

The player's exact name.

##### reason?

> `optional` **reason?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:545](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L545)

The reason shown to the player, if provided.

***

### ConfigFile

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:152](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L152)

Settings supported by the JSON configuration file.

#### Properties

##### account-linking?

> `optional` **account-linking?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:223](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L223)

Whether a Java Edition account and an Xbox account can be linked into one player.

##### allow-inbound-script-debugging?

> `optional` **allow-inbound-script-debugging?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:305](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L305)

Whether `/script debugger listen` and auto-attach's listen mode may open a port for the script debugger.

##### allow-list?

> `optional` **allow-list?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:211](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L211)

Whether only the players in `allowlist.json` may join.

##### allow-outbound-script-debugging?

> `optional` **allow-outbound-script-debugging?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:307](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L307)

Whether `/script debugger connect` and auto-attach's connect mode may connect to a script debugger.

##### bedrock-keep-alive-timeout?

> `optional` **bedrock-keep-alive-timeout?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:205](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L205)

Seconds a Bedrock client may leave a ping unanswered before it is disconnected, overriding keep-alive-timeout.

##### chunk-host?

> `optional` **chunk-host?**: `"process"` \| `"in-process"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:184](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L184)

Where chunk generation workers run: a separate low-priority process, or threads in the server process.

##### chunk-send-budget-ms?

> `optional` **chunk-send-budget-ms?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:187](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L187)

How long each tick may spend sending chunks, out of its 50 ms.

##### chunk-workers?

> `optional` **chunk-workers?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:182](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L182)

How many worker threads to use for chunk generation. 0 keeps generation on the server thread.

##### content-datapacks?

> `optional` **content-datapacks?**: `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:325](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L325)

Java datapack directories this world loads, after the vanilla one.

##### content-java-version?

> `optional` **content-java-version?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:327](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L327)

The pinned Java release whose data the server loads; empty for the default release.

##### content-strict?

> `optional` **content-strict?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:321](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L321)

Whether a pack that reports an error stops the server instead of loading short.

##### content-world-packs?

> `optional` **content-world-packs?**: `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:323](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L323)

Extra behavior pack directories this world loads, after the vanilla ones.

##### crafting-recipe-limit?

> `optional` **crafting-recipe-limit?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:275](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L275)

How many recipes to send: -1 for all, 0 for none, or a cap.

##### difficulty?

> `optional` **difficulty?**: [`ConfigDifficulty`](#configdifficulty)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:174](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L174)

How dangerous the monsters are.

##### disable-client-vibrant-visuals?

> `optional` **disable-client-vibrant-visuals?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:279](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L279)

Whether to tell joining Bedrock players to use another graphics setting than Vibrant Visuals, as Bedrock Dedicated Server's `disable-client-vibrant-visuals`.

##### education-features?

> `optional` **education-features?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:193](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L193)

Whether Bedrock clients join with Education Edition features on, as the Education toggle in world settings does.

##### enable-lan-visibility?

> `optional` **enable-lan-visibility?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:255](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L255)

Whether players on the local network see the server among their LAN games, as Bedrock Dedicated Server's `enable-lan-visibility`.

##### enable-nethernet?

> `optional` **enable-nethernet?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:221](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L221)

Whether to accept clients over NetherNet, the WebRTC transport Bedrock Dedicated Server defaults to.

##### enable-process-title?

> `optional` **enable-process-title?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:269](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L269)

Whether to show the tick rate in the process title.

##### enable-query?

> `optional` **enable-query?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:265](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L265)

Whether to answer the GameSpy4 query protocol that server lists and status tools use.

##### enable-raknet?

> `optional` **enable-raknet?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:217](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L217)

Whether to accept clients over RakNet, Bedrock's UDP transport before NetherNet.

##### enable-server-public-ip-lookup?

> `optional` **enable-server-public-ip-lookup?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:253](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L253)

Whether NetherNet looks up the public address to offer when `server-public-ip` is empty.

##### enable-ticking?

> `optional` **enable-ticking?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:271](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L271)

Whether the world ticks.

##### entity-tracking-hysteresis?

> `optional` **entity-tracking-hysteresis?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:197](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L197)

Chunks past view distance before an entity leaves a player's screen.

##### entity-tracking-interval?

> `optional` **entity-tracking-interval?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:199](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L199)

Ticks between entity visibility passes.

##### fluid-replacement?

> `optional` **fluid-replacement?**: `"java"` \| `"bedrock"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:195](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L195)

Which edition decides what flowing water and lava wash away.

##### force-inbound-debug-port?

> `optional` **force-inbound-debug-port?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:309](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L309)

The one port the script debugger listens on; `/script debugger listen` then takes none.

##### gamemode?

> `optional` **gamemode?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:172](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L172)

The default game mode for new players.

##### java-enabled?

> `optional` **java-enabled?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:225](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L225)

Whether to answer Java Edition clients on `java-port`.

##### java-port?

> `optional` **java-port?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:227](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L227)

The TCP port Java Edition clients connect to.

##### java-resource-pack-merge?

> `optional` **java-resource-pack-merge?**: readonly `object`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:283](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L283)

Addons merged into one Java pack each, by glob patterns over their keys, with the pack's name, description and icon.

##### java-resource-pack-url?

> `optional` **java-resource-pack-url?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:281](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L281)

The base URL Java clients download the converted resource pack from; empty for the server's own Java port.

##### java-secure-chat?

> `optional` **java-secure-chat?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:229](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L229)

Whether a Java Edition player's signed chat reaches other Java players signed, as secure chat does.

##### keep-alive-interval?

> `optional` **keep-alive-interval?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:201](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L201)

Seconds between the pings that check a client is still there, for both editions; 0 sends none.

##### keep-alive-timeout?

> `optional` **keep-alive-timeout?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:203](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L203)

Seconds a client may leave a ping unanswered before it is disconnected, for both editions.

##### level-name?

> `optional` **level-name?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:164](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L164)

Which entry of `worlds` players join.

##### log-excluded-packets?

> `optional` **log-excluded-packets?**: `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:273](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L273)

Packet class names kept out of the traffic log at the silly level.

##### log-level?

> `optional` **log-level?**: `"warn"` \| `"error"` \| `"info"` \| `"verbose"` \| `"debug"` \| `"silly"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:156](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L156)

How much the console and the log file say.

##### management-server-allowed-origins?

> `optional` **management-server-allowed-origins?**: `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:239](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L239)

The Origin values a browser may connect to the management server from.

##### management-server-enabled?

> `optional` **management-server-enabled?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:231](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L231)

Whether to accept Server Management Protocol clients.

##### management-server-host?

> `optional` **management-server-host?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:233](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L233)

The address the management server listens on.

##### management-server-port?

> `optional` **management-server-port?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:235](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L235)

The TCP port the management server listens on; 0 for a free one.

##### management-server-secret?

> `optional` **management-server-secret?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:237](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L237)

The secret management clients authenticate with: 40 letters and digits, or empty to generate one.

##### management-server-tls-enabled?

> `optional` **management-server-tls-enabled?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:241](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L241)

Whether the management server serves TLS.

##### management-server-tls-keystore?

> `optional` **management-server-tls-keystore?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:243](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L243)

The PKCS12 keystore the management server serves TLS with.

##### management-server-tls-keystore-password?

> `optional` **management-server-tls-keystore-password?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:245](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L245)

The password of the management server's keystore.

##### max-players?

> `optional` **max-players?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:170](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L170)

How many players may be online at once.

##### motd?

> `optional` **motd?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:176](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L176)

The message shown in the server list.

##### online-mode?

> `optional` **online-mode?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:213](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L213)

Whether players must be signed in: Bedrock players to Xbox Live, Java Edition players to Mojang's session server.

##### packet-compression-algorithm?

> `optional` **packet-compression-algorithm?**: `"none"` \| `"zlib"` \| `"snappy"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:259](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L259)

The batch compression algorithm advertised in `NetworkSettings`.

##### packet-compression-level?

> `optional` **packet-compression-level?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:257](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L257)

The zlib level for outgoing batches.

##### packet-compression-threshold?

> `optional` **packet-compression-threshold?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:261](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L261)

The minimum batch-body size to compress, in bytes. Zero disables compression.

##### packet-full-flush-fragments?

> `optional` **packet-full-flush-fragments?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:263](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L263)

Whether to use the unvalidated, experimental cached full-flush batch fragments.

##### player-data-groups?

> `optional` **player-data-groups?**: `Record`\<`string`, [`PlayerDataGroupConfig`](#playerdatagroupconfig)\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:168](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L168)

Groups of levels whose players share parts of their record, by group name.

##### preload-radius?

> `optional` **preload-radius?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:180](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L180)

How many chunks around spawn to generate before accepting players. 0 skips it.

##### protocol-content?

> `optional` **protocol-content?**: `"oldest"` \| `"newest"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:209](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L209)

Which release in the protocol window the world's content comes from: the newest, or the oldest so every accepted client has all of it.

##### protocol-window?

> `optional` **protocol-window?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:207](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L207)

How many Bedrock releases to accept, counted back from the newest this server supports.

##### proximity-broadcast?

> `optional` **proximity-broadcast?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:189](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L189)

Whether positional packets only go to nearby players.

##### query-port?

> `optional` **query-port?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:267](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L267)

The UDP port the query protocol answers on; `server-port`, on the RakNet socket, when unset.

##### schemaVersion?

> `optional` **schemaVersion?**: `1`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:154](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L154)

The layout of this file. The server upgrades a file with an older one, or without one.

##### script-debugger-auto-attach?

> `optional` **script-debugger-auto-attach?**: `"connect"` \| `"listen"` \| `"disabled"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:313](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L313)

Whether the script debugger attaches when the scripts load: `disabled`, `connect` or `listen`.

##### script-debugger-auto-attach-connect-address?

> `optional` **script-debugger-auto-attach-connect-address?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:315](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L315)

Where auto-attach's connect mode finds the debugger, as `host:port`.

##### script-debugger-auto-attach-timeout?

> `optional` **script-debugger-auto-attach-timeout?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:317](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L317)

How many seconds the server waits for an auto-attached debugger.

##### script-debugger-listen-address?

> `optional` **script-debugger-listen-address?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:311](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L311)

The address the script debugger listens on; one other than loopback needs a passcode.

##### script-debugger-passcode?

> `optional` **script-debugger-passcode?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:319](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L319)

The passcode the script debugger must send; empty for none.

##### script-random-seed?

> `optional` **script-random-seed?**: `string` \| `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:303](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L303)

Where the scripts' `Math.random` starts. Unset, each load draws a new seed; `"world"` uses
the level's seed; anything else is a fixed seed, read as a world seed is.

##### script-watchdog-enable-shutdown?

> `optional` **script-watchdog-enable-shutdown?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:294](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L294)

Whether a hang, a stack overflow or running out of memory in a script shuts the server down.

##### script-watchdog-hang-threshold?

> `optional` **script-watchdog-hang-threshold?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:296](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L296)

How long one script callback may run before it is stopped, in milliseconds, converted to steps.

##### script-watchdog-memory-limit?

> `optional` **script-watchdog-memory-limit?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:298](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L298)

How many megabytes the scripts of one world may allocate together; 0 for no limit.

##### server-authoritative-block-breaking?

> `optional` **server-authoritative-block-breaking?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:191](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L191)

Whether the server times block breaking, as a Bedrock Dedicated Server does. Off leaves it to the client.

##### server-ip?

> `optional` **server-ip?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:162](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L162)

The address to listen on. `0.0.0.0` accepts connections on every interface.

##### server-port?

> `optional` **server-port?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:158](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L158)

The port the server listens on, as Bedrock Dedicated Server's `server-port`: TCP for NetherNet signaling, and UDP for RakNet and NetherNet.

##### server-portv6?

> `optional` **server-portv6?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:160](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L160)

The UDP port RakNet listens on for IPv6 clients when `server-ip` is `0.0.0.0`. Bedrock clients look for 19133.

##### server-public-ip?

> `optional` **server-public-ip?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:251](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L251)

The address NetherNet advertises, as Bedrock Dedicated Server's `server-public-ip`: a raw IPv4, a raw or bracketed IPv6, or empty.

##### server-udp-ports?

> `optional` **server-udp-ports?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:249](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L249)

The UDP ports NetherNet players use, as Bedrock Dedicated Server's `server-udp-ports`: a port or a range, each optionally a `public:local` mapping.

##### stats?

> `optional` **stats?**: [`StatsConfig`](#statsconfig)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:290](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L290)

The services the server reports pseudonymous usage statistics to.

##### status-heartbeat-interval?

> `optional` **status-heartbeat-interval?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:247](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L247)

Seconds between the management server's status notifications; 0 for none.

##### terrain-cache-size-mb?

> `optional` **terrain-cache-size-mb?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:185](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L185)

##### texturepack-required?

> `optional` **texturepack-required?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:277](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L277)

Whether a player must take the installed addons' resource packs to join, as Bedrock Dedicated Server's `texturepack-required`.

##### updates?

> `optional` **updates?**: [`UpdatesConfig`](#updatesconfig)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:292](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L292)

Whether and how the server checks for a newer JSPrismarine.

##### use-raknet-worker?

> `optional` **use-raknet-worker?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:219](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L219)

Whether RakNet UDP I/O and reliability updates run in a worker thread.

##### view-distance?

> `optional` **view-distance?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:178](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L178)

How far players see, in chunks.

##### worlds?

> `optional` **worlds?**: `Record`\<`string`, [`WorldData`](#worlddata)\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:166](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L166)

Every world the server loads, keyed by its name.

##### xbox-achievements?

> `optional` **xbox-achievements?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:215](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L215)

Whether Bedrock players can earn Xbox achievements. On, the server tells clients that cheats are off.

***

### DimensionConfig

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:60](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L60)

What a world says about one of its dimensions, keyed under `WorldData.dimensions` by the
Java dimension id such as `minecraft:the_nether`.

An entry for an id the preset has overrides that stem; an entry for a new id adds a
dimension. A key left out comes from the preset's stem.

#### Properties

##### generator?

> `optional` **generator?**: [`GeneratorDefinitionJson`](#generatordefinitionjson)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:64](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L64)

The level stem generator. Defaults to the preset's.

##### load?

> `optional` **load?**: `"lazy"` \| `"eager"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:66](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L66)

`eager` builds the dimension's world at startup; `lazy`, the default, on first entry.

##### type?

> `optional` **type?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:62](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L62)

The Java `dimension_type` id. Defaults to the preset's.

***

### FlatGeneratorSettingsJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:21](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L21)

The `settings` of a `minecraft:flat` generator, the same object a Java
`worldgen/flat_level_generator_preset` document carries under `settings`.

#### Properties

##### biome?

> `optional` **biome?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:25](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L25)

The one biome the whole dimension has. Defaults to `minecraft:plains`.

##### features?

> `optional` **features?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:29](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L29)

Whether the biome's placed features generate. Defaults to false.

##### lakes?

> `optional` **lakes?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:27](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L27)

Whether lava lakes generate. Defaults to false.

##### layers

> **layers**: [`FlatLayerJson`](#flatlayerjson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:23](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L23)

The layers, bottom first.

##### structure\_overrides?

> `optional` **structure\_overrides?**: `string` \| `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:31](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L31)

The structure sets that place structures. Absent means every registered set, `[]` means none.

***

### FlatLayerJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:10](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L10)

One layer of a `minecraft:flat` generator's `settings.layers`, bottom first, in Java's spelling.

#### Properties

##### block

> **block**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:12](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L12)

The block the layer is made of, as a Java identifier such as `minecraft:stone`.

##### height

> **height**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:14](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L14)

How many blocks thick the layer is.

***

### GeneratorDefinitionJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:41](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L41)

A level stem's `generator` object, written as a Java `dimension` document writes it.

`type` is the generator kind. The other keys belong to the kind: `minecraft:noise` reads
`settings` and `biome_source`, `minecraft:flat` reads `settings` as its layers and flags,
and `minecraft:debug` has none.

#### Properties

##### biome\_source?

> `optional` **biome\_source?**: `Record`\<`string`, `unknown`\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:50](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L50)

The biome layout of a `minecraft:noise` generator, as Java's `biome_source` object.

##### settings?

> `optional` **settings?**: `string` \| `Record`\<`string`, `unknown`\> \| [`FlatGeneratorSettingsJson`](#flatgeneratorsettingsjson)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:48](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L48)

The kind's settings: a `worldgen/noise_settings` id or inline document for
`minecraft:noise`, the layers for `minecraft:flat`.

##### type

> **type**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:43](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L43)

The generator kind, for example `minecraft:noise` or `minecraft:flat`.

***

### ~~LevelData~~

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:579](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L579)

Legacy shape imported once from older worlds' `level.json` files.

#### Deprecated

World state is stored by the world provider.

#### Properties

##### ~~entities?~~

> `optional` **entities?**: `object`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:589](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L589)

###### ~~position~~

> **position**: `object`

###### position.headYaw?

> `optional` **headYaw?**: `number`

###### position.pitch?

> `optional` **pitch?**: `number`

###### position.x

> **x**: `number`

###### position.y

> **y**: `number`

###### position.yaw?

> `optional` **yaw?**: `number`

###### position.z

> **z**: `number`

###### ~~type~~

> **type**: `string`

##### ~~gameRules?~~

> `optional` **gameRules?**: \[`string`, \[`number` \| `boolean`, `boolean`\]\][]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:581](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L581)

##### ~~spawn?~~

> `optional` **spawn?**: `object`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:580](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L580)

###### ~~x~~

> **x**: `number`

###### ~~y~~

> **y**: `number`

###### ~~z~~

> **z**: `number`

##### ~~weather?~~

> `optional` **weather?**: `unknown`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:588](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L588)

Java's `WeatherData`: the three counters and the two flags.

Unknown rather than a record type, because what is in the file is whatever was last
written there; `savedWeatherOf` is the check that turns it into a record.

***

### OpEntry

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:518](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L518)

One operator entry in `ops.json`.

#### Extends

- `Partial`\<[`SubjectEntry`](#subjectentry)\>

#### Properties

##### id?

> `optional` **id?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:514](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L514)

The player's id on that platform: the XUID, the UUID or the name.

###### Inherited from

[`SubjectEntry`](#subjectentry).[`id`](#id-2)

##### kind?

> `optional` **kind?**: `"java"` \| `"xbox"` \| `"offline"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:512](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L512)

Which platform `id` belongs to: `xbox` for an Xbox Live XUID, `java` for a Mojang profile
UUID, `offline` for a name on an offline-mode server.

###### Inherited from

[`SubjectEntry`](#subjectentry).[`kind`](#kind-2)

##### level?

> `optional` **level?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:527](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L527)

Informational operator level; an operator runs every command at level 4.

##### name

> **name**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:520](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L520)

The player's name when the entry was written. `kind` and `id` decide who it is.

##### uuid?

> `optional` **uuid?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:525](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L525)

The login UUID an entry written before `kind` and `id` existed was keyed by. The entry waits
for a login with this UUID, which writes `kind` and `id` and drops it.

***

### PendingPermissionUserJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:483](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L483)

A user migrated from a file that keyed players by login UUID, waiting for a login with that UUID.

#### Extends

- [`PermissionUserJson`](#permissionuserjson)

#### Properties

##### groups

> **groups**: [`PermissionMembershipJson`](#permissionmembershipjson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:475](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L475)

The groups the user holds directly. Everyone holds `default`, and an operator `operator`.

###### Inherited from

[`PermissionUserJson`](#permissionuserjson).[`groups`](#groups-2)

##### legacyUuid

> **legacyUuid**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:485](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L485)

The login UUID the entry was keyed by. The login that carries it files the user under its subject.

##### meta

> **meta**: `Record`\<`string`, `string`\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:479](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L479)

The user's own meta, which decides before any group's.

###### Inherited from

[`PermissionUserJson`](#permissionuserjson).[`meta`](#meta-2)

##### name

> **name**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:473](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L473)

The player's name when last seen, for reading the file. The key decides who it is.

###### Inherited from

[`PermissionUserJson`](#permissionuserjson).[`name`](#name-3)

##### nodes

> **nodes**: [`PermissionNodeJson`](#permissionnodejson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:477](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L477)

The user's own nodes, which decide before any group's.

###### Inherited from

[`PermissionUserJson`](#permissionuserjson).[`nodes`](#nodes-2)

***

### PermissionGroupJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:460](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L460)

A group: what every member holds.

#### Properties

##### meta

> **meta**: `Record`\<`string`, `string`\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:467](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L467)

`prefix`, `suffix`, `level` (0 to 4, the command level) or anything else a pack reads.

##### nodes

> **nodes**: [`PermissionNodeJson`](#permissionnodejson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:465](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L465)

##### parents

> **parents**: `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:464](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L464)

Groups this one inherits, visited depth first after its own nodes.

##### weight

> **weight**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:462](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L462)

A heavier group decides before a lighter one. `default` is 0 and `operator` is 100 on a fresh file.

***

### PermissionMembershipJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:452](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L452)

A user's membership in a group.

#### Properties

##### expires?

> `optional` **expires?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:456](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L456)

When the membership ends, as ISO 8601. Absent for never.

##### group

> **group**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:454](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L454)

The group's name, a key of `groups`.

***

### PermissionNodeJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:444](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L444)

One node a group or a user holds.

#### Properties

##### expires?

> `optional` **expires?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:448](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L448)

When the node stops applying, as ISO 8601. Absent for never.

##### node

> **node**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:446](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L446)

`scope.name`, `scope.*` for a whole scope, `*` for everything; a leading `-` negates.

***

### PermissionUserJson

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:471](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L471)

A user: one subject's own memberships, nodes and meta.

#### Extended by

- [`PendingPermissionUserJson`](#pendingpermissionuserjson)

#### Properties

##### groups

> **groups**: [`PermissionMembershipJson`](#permissionmembershipjson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:475](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L475)

The groups the user holds directly. Everyone holds `default`, and an operator `operator`.

##### meta

> **meta**: `Record`\<`string`, `string`\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:479](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L479)

The user's own meta, which decides before any group's.

##### name

> **name**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:473](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L473)

The player's name when last seen, for reading the file. The key decides who it is.

##### nodes

> **nodes**: [`PermissionNodeJson`](#permissionnodejson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:477](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L477)

The user's own nodes, which decide before any group's.

***

### PermissionsFile

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:492](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L492)

Groups and users, with users filed under one section per platform.

#### Properties

##### groups

> **groups**: `Record`\<`string`, [`PermissionGroupJson`](#permissiongroupjson)\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:496](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L496)

Every group by name. A fresh or migrated file writes `default` and `operator`; a file without one reads as if it had a fresh file's.

##### pending?

> `optional` **pending?**: [`PendingPermissionUserJson`](#pendingpermissionuserjson)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:500](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L500)

Users still keyed by a login UUID, until the login with it claims each.

##### schemaVersion

> **schemaVersion**: `3`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:494](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L494)

The layout of this file. The server upgrades a file with an older one, or without one.

##### users

> **users**: `Partial`\<`Record`\<[`SubjectKind`](https://jsprismarine.dev/api/@jsprismarine/prismarine/identity/Subject/index.md#subjectkind), `Record`\<`string`, [`PermissionUserJson`](#permissionuserjson)\>\>\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:498](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L498)

Users by platform: `xbox` by XUID, `java` by Mojang profile UUID, `offline` by name.

***

### PlayerDataGroupConfig

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:70](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L70)

One group of `player-data-groups`: its levels, and the parts of a player's record they share.

#### Properties

##### levels

> **levels**: `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:72](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L72)

The levels in the group, by name.

##### share

> **share**: (`"position"` \| `"armor"` \| `"gamemode"` \| `"hunger"` \| `"health"` \| `"offhand"` \| `"spawnPoint"` \| `"experience"` \| `"inventory"` \| `"abilities"` \| `"enderChest"`)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:74](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L74)

The parts their players share; every other part stays per level.

***

### StatsConfig

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:143](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L143)

The `stats` section: one entry per service the server reports usage statistics to.

#### Properties

##### bstats?

> `optional` **bstats?**: [`BStatsConfig`](#bstatsconfig)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:145](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L145)

bStats, at https://bstats.org.

***

### StoredPlayerAttribute

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:757](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L757)

The live definition and value of one player attribute at save time.

#### Properties

##### base

> `readonly` **base**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:760](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L760)

##### current

> `readonly` **current**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:761](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L761)

##### max

> `readonly` **max**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:759](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L759)

##### min

> `readonly` **min**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:758](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L758)

***

### SubjectEntry

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:507](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L507)

The fields that say which player an entry is about, as `ops.json` and `banned-players.json`
spell a subject: the platform, and the player's id on it.

#### Extended by

- [`UserCacheEntry`](#usercacheentry)

#### Properties

##### id

> **id**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:514](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L514)

The player's id on that platform: the XUID, the UUID or the name.

##### kind

> **kind**: `"java"` \| `"xbox"` \| `"offline"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:512](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L512)

Which platform `id` belongs to: `xbox` for an Xbox Live XUID, `java` for a Mojang profile
UUID, `offline` for a name on an offline-mode server.

***

### UpdatesConfig

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:131](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L131)

The `updates` section: whether and how the server checks for a newer JSPrismarine. Unset keys follow the build.

#### Properties

##### channel?

> `optional` **channel?**: `"release"` \| `"nightly"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:135](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L135)

Which builds to hear about: `release` or `nightly`. Unset, the channel of the running build.

##### enabled?

> `optional` **enabled?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:133](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L133)

Whether the server checks for updates. Unset, it does unless it runs from a checkout.

##### interval?

> `optional` **interval?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:139](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L139)

Minutes between checks; values under 60 read as 60.

##### source?

> `optional` **source?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:137](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L137)

Where the feed is: `owner/repo`, or the https URL of a folder that holds the feed files.

***

### UserCacheEntry

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:558](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L558)

One account in `usercache.json`: the name it last joined with, the account's `kind` and `id`,
and when the entry lapses.

#### Extends

- [`SubjectEntry`](#subjectentry)

#### Properties

##### expiresOn

> **expiresOn**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:564](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L564)

When the entry lapses, as `yyyy-MM-dd HH:mm:ss Z`, a month after the account last joined.

##### id

> **id**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:514](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L514)

The player's id on that platform: the XUID, the UUID or the name.

###### Inherited from

[`SubjectEntry`](#subjectentry).[`id`](#id-2)

##### kind

> **kind**: `"java"` \| `"xbox"` \| `"offline"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:512](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L512)

Which platform `id` belongs to: `xbox` for an Xbox Live XUID, `java` for a Mojang profile
UUID, `offline` for a name on an offline-mode server.

###### Inherited from

[`SubjectEntry`](#subjectentry).[`kind`](#kind-2)

##### name

> **name**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:560](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L560)

The name the account last joined with.

##### uuid

> **uuid**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:562](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L562)

The login UUID the account last joined with.

***

### WorldData

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:78](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L78)

The configuration saved for one world.

#### Properties

##### dimensions?

> `optional` **dimensions?**: `Record`\<`string`, [`DimensionConfig`](#dimensionconfig)\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:96](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L96)

Per-dimension overrides of the preset's stems, and dimensions the preset lacks.

##### experiments?

> `optional` **experiments?**: `"gametest"`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:102](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L102)

Bedrock experiments to turn on, by the id `level.dat` keeps them under. `gametest` is Beta
APIs, which a behavior pack script needs to declare a beta Script API version. An
experiment the world's `level.dat` already has on stays on.

##### preset?

> `optional` **preset?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:94](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L94)

The Java `worldgen/world_preset` id that supplies the dimensions and their generators.

###### Default

```ts
'minecraft:normal'
```

##### provider?

> `optional` **provider?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:89](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L89)

##### script-random-seed?

> `optional` **script-random-seed?**: `string` \| `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:107](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L107)

Where this level's scripts' `Math.random` starts, in place of the server-wide
`script-random-seed`: `"world"` for the level's seed, or a fixed seed written as `seed` is.

##### seed

> **seed**: `string` \| `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:88](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L88)

The world seed, read the way Java reads the text in its world creation box: a value that
parses as a 64-bit integer is that integer, and anything else is its `String.hashCode`.

Spell it as a string. A Java seed is a 64-bit integer and a JSON or YAML number is a
double, which is exact only below 2^53. Written as a number, `8475011743740320021` is
read back as `8475011743740319744` and generates a different world. A number is still
accepted for configs written before this, and is exact for seeds below 2^53.

***

### WorldPlayerData

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:606](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L606)

Player state saved by a world provider, or in a JSON fallback file.

#### Properties

##### advancements?

> `optional` **advancements?**: `Readonly`\<`Record`\<`string`, [`AdvancementProgressJson`](https://jsprismarine.dev/api/@jsprismarine/advancements/index.md#advancementprogressjson)\>\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:638](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L638)

Advancement progress: advancement id to the criteria the player has
completed, each with the instant it was granted.

Stored here rather than in a file of its own so that whatever a provider
does with player data - the LevelDB provider writes a `player_server_`
record, the file provider a JSON file - carries the progress with it.

##### attributes?

> `optional` **attributes?**: `Readonly`\<`Record`\<`string`, [`StoredPlayerAttribute`](#storedplayerattribute)\>\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:706](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L706)

Every live attribute, keyed by its namespaced identifier.

Keeping the definition beside the value lets the player record preserve attributes
added by content without teaching the provider a new field for each one.

##### dimension?

> `optional` **dimension?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:629](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L629)

The Java id of the dimension the player was in, such as `minecraft:the_nether`.

The LevelDB provider also writes it as Bedrock's `DimensionId` integer. Absent on a
record written before this field existed, which reads as the Overworld.

##### enchantmentSeed?

> `optional` **enchantmentSeed?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:677](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L677)

The player's enchantment seed.

Java drives all three rows of an enchanting table from one generator
seeded with this, which is what keeps the rows still while a player puts
an item in and takes it out again. Kept across a login for the same
reason: a table that redrew on every join would be a different table.

##### experience?

> `optional` **experience?**: `object`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:696](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L696)

Experience, as the two numbers Bedrock carries: whole levels, and how far along the
current level the bar is.

###### level

> **level**: `number`

###### progress

> **progress**: `number`

##### flying?

> `optional` **flying?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:614](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L614)

Whether the player was flying when this record was saved.

##### food?

> `optional` **food?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:689](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L689)

The food bar, out of twenty.

##### gamemode

> **gamemode**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:612](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L612)

The saved game mode, normally Survival, Creative, Adventure, or Spectator.

##### health?

> `optional` **health?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:687](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L687)

Half-hearts, out of the player's maximum.

##### inventory?

> `optional` **inventory?**: [`StoredInventory`](https://jsprismarine.dev/api/@jsprismarine/prismarine/inventory/persistence/index.md#storedinventory)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:685](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L685)

Everything the player was carrying: the 36 main slots, the hand slot, the four armor
slots, the off hand and the 27 ender chest slots.

Absent until this was written, so a logout threw away every item a player held along
with its durability, its name and its enchantments.

##### persistentNbt?

> `optional` **persistentNbt?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:722](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L722)

The actor record tags this server does not model, as network NBT in base64: a script's
`DynamicProperties` live there, as they do on the player's actor on Bedrock Dedicated
Server. Absent when the player has none. The LevelDB provider writes the tags at the
record's root, where the game keeps them; this form is the fallback JSON file's.

##### portalCooldown?

> `optional` **portalCooldown?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:730](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L730)

Ticks left before the player may enter a portal again, Bedrock's `PortalCooldown`.

Set when a player changes dimension, so logging out inside the arrival portal and back
in does not send them straight back. Absent on a record written before this field
existed, which reads as no cooldown.

##### position

> **position**: `object`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:615](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L615)

###### headYaw

> **headYaw**: `number`

###### pitch

> **pitch**: `number`

###### x

> **x**: `number`

###### y

> **y**: `number`

###### yaw

> **yaw**: `number`

###### z

> **z**: `number`

##### recipeBook?

> `optional` **recipeBook?**: readonly `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:652](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L652)

The Java ids of the recipes the player has unlocked, in the order they were unlocked.

Written on every save, empty or not, so that a record without it is one written before the
book was saved, and the book of such a record is filled from the rewards of the
advancements it completed.

##### recipeBookHighlight?

> `optional` **recipeBookHighlight?**: readonly `string`[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:668](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L668)

The unlocked recipes the player has not looked at yet, which a Java client's book
highlights, by Java id. Left out while there are none.

##### recipeBookSettings?

> `optional` **recipeBookSettings?**: `Readonly`\<`Record`\<`"crafting"` \| `"furnace"` \| `"smoker"` \| `"blastFurnace"`, \{ `filtering`: `boolean`; `open`: `boolean`; \}\>\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:658](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L658)

Each screen's recipe book as the player last left it: open beside the screen or not, and
listing only what the player can make or not. Left out while every book is closed and
unfiltered.

##### saturation?

> `optional` **saturation?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:691](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L691)

The hidden buffer that is spent before food is.

##### savedAt?

> `optional` **savedAt?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:753](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L753)

When this record was written, in milliseconds since the epoch.

Written so a tool or a later migration can tell two copies of a record apart. Absent on a
record written before this field existed. Which world a returning player lands in is
`dimension`'s job: see `lastPlayerRecord`.

##### seenCredits?

> `optional` **seenCredits?**: `boolean`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:738](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L738)

Whether this player has watched the end credits, Bedrock's `HasSeenCredits`.

Set when the credits start rolling on a first exit through the End's portal, so a later
exit transfers at once. Absent on a record written before this field existed, which
reads as not seen.

##### spawn?

> `optional` **spawn?**: [`StoredSpawnPoint`](https://jsprismarine.dev/api/@jsprismarine/prismarine/world/RespawnPoint/index.md#storedspawnpoint)

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:715](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L715)

Where this player comes back after a death, or absent for the world spawn.

Nothing modeled one before this: every respawn answered with the world spawn, which is
also why `/spawnpoint` was left out of the command registry. See
`resolveRespawn` for when a stored point stops
being used.

##### statistics?

> `optional` **statistics?**: `Record`\<`string`, `number`\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:644](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L644)

The player's statistics: each total by its criterion name, such as
`minecraft.custom:minecraft.play_time`, which a Java client's statistics screen shows.
Left out while the player has none.

##### timeSinceRest?

> `optional` **timeSinceRest?**: `number`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:745](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L745)

Ticks since this player last slept or died, Java's `Stats.TIME_SINCE_REST` and Bedrock's
`TimeSinceRest`. Absent on a record written before this field existed, which reads as 0.

###### Java See

Stats.TIME_SINCE_REST

##### username?

> `optional` **username?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:610](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L610)

Written for the same reason as `uuid`.

##### uuid?

> `optional` **uuid?**: `string`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:608](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L608)

Written so the file says who it belongs to; the file is found by key, not by this.

## Type Aliases

### BannedPlayersFile

> **BannedPlayersFile** = [`BannedPlayerEntry`](#bannedplayerentry)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:552](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L552)

Players prevented from joining the server.

***

### ConfigDifficulty

> **ConfigDifficulty** = `"peaceful"` \| `"easy"` \| `"normal"` \| `"hard"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:114](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L114)

A difficulty name accepted in `config.json`.

***

### ContentConfigKey

> **ContentConfigKey** = `"protocol-window"` \| `"protocol-content"` \| `"content-strict"` \| `"content-world-packs"` \| `"content-datapacks"` \| `"content-java-version"`

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:334](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L334)

The keys the content build reads before `Config.enable` runs. The protocol keys are among them
because `protocol-content: oldest` decides which vanilla content the build leaves out.

***

### OpsFile

> **OpsFile** = [`OpEntry`](#opentry)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:534](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L534)

Players allowed to use operator commands.

***

### UserCacheFile

> **UserCacheFile** = [`UserCacheEntry`](#usercacheentry)[]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:572](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L572)

The accounts that have joined the server, most recently used first. The server writes this
file; a command that names a player who is offline looks the name up here.

***

### WorldConfig

> **WorldConfig** = `Partial`\<[`WorldData`](#worlddata)\>

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:111](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L111)

The subset of world settings read by a generator or provider.

## Variables

### CONFIG\_KEY\_ORDER

> `const` **CONFIG\_KEY\_ORDER**: readonly \[`"$schema"`, `"schemaVersion"`, `"log-level"`, `"server-port"`, `"server-portv6"`, `"server-ip"`, `"level-name"`, `"worlds"`, `"player-data-groups"`, `"max-players"`, `"gamemode"`, `"difficulty"`, `"motd"`, `"view-distance"`, `"preload-radius"`, `"chunk-workers"`, `"chunk-host"`, `"terrain-cache-size-mb"`, `"chunk-send-budget-ms"`, `"proximity-broadcast"`, `"server-authoritative-block-breaking"`, `"education-features"`, `"fluid-replacement"`, `"entity-tracking-hysteresis"`, `"entity-tracking-interval"`, `"keep-alive-interval"`, `"keep-alive-timeout"`, `"bedrock-keep-alive-timeout"`, `"protocol-window"`, `"protocol-content"`, `"allow-list"`, `"online-mode"`, `"xbox-achievements"`, `"enable-raknet"`, `"use-raknet-worker"`, `"enable-nethernet"`, `"java-enabled"`, `"java-port"`, `"java-secure-chat"`, `"management-server-enabled"`, `"management-server-host"`, `"management-server-port"`, `"management-server-secret"`, `"management-server-allowed-origins"`, `"management-server-tls-enabled"`, `"management-server-tls-keystore"`, `"management-server-tls-keystore-password"`, `"status-heartbeat-interval"`, `"account-linking"`, `"server-udp-ports"`, `"server-public-ip"`, `"enable-server-public-ip-lookup"`, `"enable-lan-visibility"`, `"packet-compression-level"`, `"packet-compression-algorithm"`, `"packet-compression-threshold"`, `"packet-full-flush-fragments"`, `"enable-query"`, `"query-port"`, `"enable-process-title"`, `"enable-ticking"`, `"log-excluded-packets"`, `"crafting-recipe-limit"`, `"texturepack-required"`, `"disable-client-vibrant-visuals"`, `"java-resource-pack-url"`, `"java-resource-pack-merge"`, `"stats"`, `"updates"`, `"script-watchdog-enable-shutdown"`, `"script-watchdog-hang-threshold"`, `"script-watchdog-memory-limit"`, `"script-random-seed"`, `"allow-inbound-script-debugging"`, `"allow-outbound-script-debugging"`, `"force-inbound-debug-port"`, `"script-debugger-listen-address"`, `"script-debugger-auto-attach"`, `"script-debugger-auto-attach-connect-address"`, `"script-debugger-auto-attach-timeout"`, `"script-debugger-passcode"`, `"content-strict"`, `"content-world-packs"`, `"content-datapacks"`, `"content-java-version"`\]

Defined in: [packages/prismarine/src/config/JsonConfigTypes.ts:351](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/config/JsonConfigTypes.ts#L351)

Every key `config.json` may hold, in the order the file spells them.

The file is written one key at a time, by whichever part of the server asks
first - the watch-mode host reads the content keys before the child's
`Config` exists - so the order cannot come from write order. A new key is
inserted where this list says it goes, which keeps the file in definition
order no matter who writes it, and keeps `$schema` first.
