[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/management-protocol](https://jsprismarine.dev/api/@jsprismarine/management-protocol/index.md) / mojangApi

# mojangApi

## Interfaces

### IncomingIpBan

Defined in: [mojangApi.ts:24](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L24)

The `incoming_ip_ban` component.

#### Properties

##### expires?

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

Defined in: [mojangApi.ts:25](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L25)

##### ip?

> `readonly` `optional` **ip?**: `string`

Defined in: [mojangApi.ts:26](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L26)

##### player?

> `readonly` `optional` **player?**: [`Player`](#player-3)

Defined in: [mojangApi.ts:27](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L27)

##### reason?

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

Defined in: [mojangApi.ts:28](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L28)

##### source?

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

Defined in: [mojangApi.ts:29](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L29)

***

### IpBan

Defined in: [mojangApi.ts:33](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L33)

The `ip_ban` component.

#### Properties

##### expires?

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

Defined in: [mojangApi.ts:34](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L34)

##### ip?

> `readonly` `optional` **ip?**: `string`

Defined in: [mojangApi.ts:35](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L35)

##### reason?

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

Defined in: [mojangApi.ts:36](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L36)

##### source?

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

Defined in: [mojangApi.ts:37](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L37)

***

### KickPlayer

Defined in: [mojangApi.ts:41](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L41)

The `kick_player` component.

#### Properties

##### message?

> `readonly` `optional` **message?**: [`Message`](#message-1)

Defined in: [mojangApi.ts:42](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L42)

##### player?

> `readonly` `optional` **player?**: [`Player`](#player-3)

Defined in: [mojangApi.ts:43](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L43)

***

### Message

Defined in: [mojangApi.ts:47](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L47)

The `message` component.

#### Properties

##### literal?

> `readonly` `optional` **literal?**: `string`

Defined in: [mojangApi.ts:48](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L48)

##### translatable?

> `readonly` `optional` **translatable?**: `string`

Defined in: [mojangApi.ts:49](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L49)

##### translatableParams?

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

Defined in: [mojangApi.ts:50](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L50)

***

### Methods

Defined in: [mojangApi.ts:108](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L108)

Every method a client can call, by name: its parameters by name, and its result.

#### Properties

##### minecraft:allowlist

> **minecraft:allowlist**: `object`

Defined in: [mojangApi.ts:110](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L110)

Get the allowlist

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:allowlist/add

> **minecraft:allowlist/add**: `object`

Defined in: [mojangApi.ts:117](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L117)

Add players to allowlist

###### params

> `readonly` **params**: `object`

###### params.add

> `readonly` **add**: readonly [`Player`](#player-3)[]

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:allowlist/clear

> **minecraft:allowlist/clear**: `object`

Defined in: [mojangApi.ts:127](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L127)

Clear all players in allowlist

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:allowlist/remove

> **minecraft:allowlist/remove**: `object`

Defined in: [mojangApi.ts:122](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L122)

Remove players from allowlist

###### params

> `readonly` **params**: `object`

###### params.remove

> `readonly` **remove**: readonly [`Player`](#player-3)[]

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:allowlist/set

> **minecraft:allowlist/set**: `object`

Defined in: [mojangApi.ts:112](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L112)

Set the allowlist

###### params

> `readonly` **params**: `object`

###### params.players

> `readonly` **players**: readonly [`Player`](#player-3)[]

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:bans

> **minecraft:bans**: `object`

Defined in: [mojangApi.ts:129](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L129)

Get the ban list

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`UserBan`](#userban)[]

##### minecraft:bans/add

> **minecraft:bans/add**: `object`

Defined in: [mojangApi.ts:136](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L136)

Add players to ban list

###### params

> `readonly` **params**: `object`

###### params.add

> `readonly` **add**: readonly [`UserBan`](#userban)[]

###### result

> `readonly` **result**: readonly [`UserBan`](#userban)[]

##### minecraft:bans/clear

> **minecraft:bans/clear**: `object`

Defined in: [mojangApi.ts:146](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L146)

Clear all players in ban list

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`UserBan`](#userban)[]

##### minecraft:bans/remove

> **minecraft:bans/remove**: `object`

Defined in: [mojangApi.ts:141](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L141)

Remove players from ban list

###### params

> `readonly` **params**: `object`

###### params.remove

> `readonly` **remove**: readonly [`Player`](#player-3)[]

###### result

> `readonly` **result**: readonly [`UserBan`](#userban)[]

##### minecraft:bans/set

> **minecraft:bans/set**: `object`

Defined in: [mojangApi.ts:131](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L131)

Set the banlist

###### params

> `readonly` **params**: `object`

###### params.bans

> `readonly` **bans**: readonly [`UserBan`](#userban)[]

###### result

> `readonly` **result**: readonly [`UserBan`](#userban)[]

##### minecraft:gamerules

> **minecraft:gamerules**: `object`

Defined in: [mojangApi.ts:356](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L356)

Get the available game rule keys and their current values

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`TypedGameRule`](#typedgamerule)[]

##### minecraft:gamerules/update

> **minecraft:gamerules/update**: `object`

Defined in: [mojangApi.ts:358](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L358)

Update game rule value

###### params

> `readonly` **params**: `object`

###### params.gamerule

> `readonly` **gamerule**: [`UntypedGameRule`](#untypedgamerule)

###### result

> `readonly` **result**: [`TypedGameRule`](#typedgamerule)

##### minecraft:ip\_bans

> **minecraft:ip\_bans**: `object`

Defined in: [mojangApi.ts:148](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L148)

Get the ip ban list

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`IpBan`](#ipban)[]

##### minecraft:ip\_bans/add

> **minecraft:ip\_bans/add**: `object`

Defined in: [mojangApi.ts:155](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L155)

Add ip to ban list

###### params

> `readonly` **params**: `object`

###### params.add

> `readonly` **add**: readonly [`IncomingIpBan`](#incomingipban)[]

###### result

> `readonly` **result**: readonly [`IpBan`](#ipban)[]

##### minecraft:ip\_bans/clear

> **minecraft:ip\_bans/clear**: `object`

Defined in: [mojangApi.ts:165](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L165)

Clear all ips in ban list

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`IpBan`](#ipban)[]

##### minecraft:ip\_bans/remove

> **minecraft:ip\_bans/remove**: `object`

Defined in: [mojangApi.ts:160](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L160)

Remove ip from ban list

###### params

> `readonly` **params**: `object`

###### params.ip

> `readonly` **ip**: readonly `string`[]

###### result

> `readonly` **result**: readonly [`IpBan`](#ipban)[]

##### minecraft:ip\_bans/set

> **minecraft:ip\_bans/set**: `object`

Defined in: [mojangApi.ts:150](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L150)

Set the ip banlist

###### params

> `readonly` **params**: `object`

###### params.banlist

> `readonly` **banlist**: readonly [`IpBan`](#ipban)[]

###### result

> `readonly` **result**: readonly [`IpBan`](#ipban)[]

##### minecraft:operators

> **minecraft:operators**: `object`

Defined in: [mojangApi.ts:174](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L174)

Get all oped players

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`Operator`](#operator)[]

##### minecraft:operators/add

> **minecraft:operators/add**: `object`

Defined in: [mojangApi.ts:181](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L181)

Op players

###### params

> `readonly` **params**: `object`

###### params.add

> `readonly` **add**: readonly [`Operator`](#operator)[]

###### result

> `readonly` **result**: readonly [`Operator`](#operator)[]

##### minecraft:operators/clear

> **minecraft:operators/clear**: `object`

Defined in: [mojangApi.ts:191](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L191)

Deop all players

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`Operator`](#operator)[]

##### minecraft:operators/remove

> **minecraft:operators/remove**: `object`

Defined in: [mojangApi.ts:186](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L186)

Deop players

###### params

> `readonly` **params**: `object`

###### params.remove

> `readonly` **remove**: readonly [`Player`](#player-3)[]

###### result

> `readonly` **result**: readonly [`Operator`](#operator)[]

##### minecraft:operators/set

> **minecraft:operators/set**: `object`

Defined in: [mojangApi.ts:176](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L176)

Set all oped players

###### params

> `readonly` **params**: `object`

###### params.operators

> `readonly` **operators**: readonly [`Operator`](#operator)[]

###### result

> `readonly` **result**: readonly [`Operator`](#operator)[]

##### minecraft:players

> **minecraft:players**: `object`

Defined in: [mojangApi.ts:167](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L167)

Get all connected players

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:players/kick

> **minecraft:players/kick**: `object`

Defined in: [mojangApi.ts:169](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L169)

Kick players

###### params

> `readonly` **params**: `object`

###### params.kick

> `readonly` **kick**: readonly [`KickPlayer`](#kickplayer)[]

###### result

> `readonly` **result**: readonly [`Player`](#player-3)[]

##### minecraft:server/save

> **minecraft:server/save**: `object`

Defined in: [mojangApi.ts:195](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L195)

Save server state

###### params

> `readonly` **params**: `object`

###### params.flush

> `readonly` **flush**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:server/status

> **minecraft:server/status**: `object`

Defined in: [mojangApi.ts:193](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L193)

Get server status

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: [`ServerState`](#serverstate)

##### minecraft:server/stop

> **minecraft:server/stop**: `object`

Defined in: [mojangApi.ts:197](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L197)

Stop server

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:server/system\_message

> **minecraft:server/system\_message**: `object`

Defined in: [mojangApi.ts:199](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L199)

Send a system message

###### params

> `readonly` **params**: `object`

###### params.message

> `readonly` **message**: [`SystemMessage`](#systemmessage)

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/accept\_transfers

> **minecraft:serversettings/accept\_transfers**: `object`

Defined in: [mojangApi.ts:302](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L302)

Get whether the server accepts player transfers from other servers

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/accept\_transfers/set

> **minecraft:serversettings/accept\_transfers/set**: `object`

Defined in: [mojangApi.ts:304](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L304)

Enable or disable accepting player transfers from other servers

###### params

> `readonly` **params**: `object`

###### params.accept

> `readonly` **accept**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/allow\_flight

> **minecraft:serversettings/allow\_flight**: `object`

Defined in: [mojangApi.ts:253](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L253)

Get whether flight is allowed for players in Survival mode

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/allow\_flight/set

> **minecraft:serversettings/allow\_flight/set**: `object`

Defined in: [mojangApi.ts:255](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L255)

Allow or disallow flight for players in Survival mode

###### params

> `readonly` **params**: `object`

###### params.allow

> `readonly` **allow**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/autosave

> **minecraft:serversettings/autosave**: `object`

Defined in: [mojangApi.ts:204](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L204)

Get whether automatic world saving is enabled on the server

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/autosave/set

> **minecraft:serversettings/autosave/set**: `object`

Defined in: [mojangApi.ts:206](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L206)

Enable or disable automatic world saving on the server

###### params

> `readonly` **params**: `object`

###### params.enable

> `readonly` **enable**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/difficulty

> **minecraft:serversettings/difficulty**: `object`

Defined in: [mojangApi.ts:211](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L211)

Get the current difficulty level of the server

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: [`Difficulty`](#difficulty)

##### minecraft:serversettings/difficulty/set

> **minecraft:serversettings/difficulty/set**: `object`

Defined in: [mojangApi.ts:213](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L213)

Set the difficulty level of the server

###### params

> `readonly` **params**: `object`

###### params.difficulty

> `readonly` **difficulty**: [`Difficulty`](#difficulty)

###### result

> `readonly` **result**: [`Difficulty`](#difficulty)

##### minecraft:serversettings/enforce\_allowlist

> **minecraft:serversettings/enforce\_allowlist**: `object`

Defined in: [mojangApi.ts:218](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L218)

Get whether allowlist enforcement is enabled (kicks players immediately when removed from allowlist)

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/enforce\_allowlist/set

> **minecraft:serversettings/enforce\_allowlist/set**: `object`

Defined in: [mojangApi.ts:220](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L220)

Enable or disable allowlist enforcement (when enabled, players are kicked immediately upon removal from allowlist)

###### params

> `readonly` **params**: `object`

###### params.enforce

> `readonly` **enforce**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/entity\_broadcast\_range

> **minecraft:serversettings/entity\_broadcast\_range**: `object`

Defined in: [mojangApi.ts:346](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L346)

Get the entity broadcast range as a percentage

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/entity\_broadcast\_range/set

> **minecraft:serversettings/entity\_broadcast\_range/set**: `object`

Defined in: [mojangApi.ts:351](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L351)

Set the entity broadcast range as a percentage

###### params

> `readonly` **params**: `object`

###### params.percentage\_points

> `readonly` **percentage\_points**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/force\_game\_mode

> **minecraft:serversettings/force\_game\_mode**: `object`

Defined in: [mojangApi.ts:274](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L274)

Get whether players are forced to use the server's default game mode

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/force\_game\_mode/set

> **minecraft:serversettings/force\_game\_mode/set**: `object`

Defined in: [mojangApi.ts:276](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L276)

Enable or disable forcing players to use the server's default game mode

###### params

> `readonly` **params**: `object`

###### params.force

> `readonly` **force**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/game\_mode

> **minecraft:serversettings/game\_mode**: `object`

Defined in: [mojangApi.ts:281](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L281)

Get the server's default game mode

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: [`GameType`](#gametype)

##### minecraft:serversettings/game\_mode/set

> **minecraft:serversettings/game\_mode/set**: `object`

Defined in: [mojangApi.ts:283](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L283)

Set the server's default game mode

###### params

> `readonly` **params**: `object`

###### params.mode

> `readonly` **mode**: [`GameType`](#gametype)

###### result

> `readonly` **result**: [`GameType`](#gametype)

##### minecraft:serversettings/hide\_online\_players

> **minecraft:serversettings/hide\_online\_players**: `object`

Defined in: [mojangApi.ts:329](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L329)

Get whether the server hides online player information from status queries

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/hide\_online\_players/set

> **minecraft:serversettings/hide\_online\_players/set**: `object`

Defined in: [mojangApi.ts:334](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L334)

Enable or disable hiding online player information from status queries

###### params

> `readonly` **params**: `object`

###### params.hide

> `readonly` **hide**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/max\_players

> **minecraft:serversettings/max\_players**: `object`

Defined in: [mojangApi.ts:232](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L232)

Get the maximum number of players allowed to connect to the server

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/max\_players/set

> **minecraft:serversettings/max\_players/set**: `object`

Defined in: [mojangApi.ts:234](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L234)

Set the maximum number of players allowed to connect to the server

###### params

> `readonly` **params**: `object`

###### params.max

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

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/motd

> **minecraft:serversettings/motd**: `object`

Defined in: [mojangApi.ts:260](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L260)

Get the server's message of the day displayed to players

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `string`

##### minecraft:serversettings/motd/set

> **minecraft:serversettings/motd/set**: `object`

Defined in: [mojangApi.ts:262](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L262)

Set the server's message of the day displayed to players

###### params

> `readonly` **params**: `object`

###### params.message

> `readonly` **message**: `string`

###### result

> `readonly` **result**: `string`

##### minecraft:serversettings/operator\_user\_permission\_level

> **minecraft:serversettings/operator\_user\_permission\_level**: `object`

Defined in: [mojangApi.ts:319](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L319)

Get default operator permission level

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/operator\_user\_permission\_level/set

> **minecraft:serversettings/operator\_user\_permission\_level/set**: `object`

Defined in: [mojangApi.ts:324](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L324)

Set default operator permission level

###### params

> `readonly` **params**: `object`

###### params.level

> `readonly` **level**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/pause\_when\_empty\_seconds

> **minecraft:serversettings/pause\_when\_empty\_seconds**: `object`

Defined in: [mojangApi.ts:236](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L236)

Get the number of seconds before the game is automatically paused when no players are online

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/pause\_when\_empty\_seconds/set

> **minecraft:serversettings/pause\_when\_empty\_seconds/set**: `object`

Defined in: [mojangApi.ts:241](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L241)

Set the number of seconds before the game is automatically paused when no players are online

###### params

> `readonly` **params**: `object`

###### params.seconds

> `readonly` **seconds**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/player\_idle\_timeout

> **minecraft:serversettings/player\_idle\_timeout**: `object`

Defined in: [mojangApi.ts:246](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L246)

Get the number of seconds before idle players are automatically kicked from the server

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/player\_idle\_timeout/set

> **minecraft:serversettings/player\_idle\_timeout/set**: `object`

Defined in: [mojangApi.ts:248](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L248)

Set the number of seconds before idle players are automatically kicked from the server

###### params

> `readonly` **params**: `object`

###### params.seconds

> `readonly` **seconds**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/simulation\_distance

> **minecraft:serversettings/simulation\_distance**: `object`

Defined in: [mojangApi.ts:295](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L295)

Get the server's simulation distance in chunks

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/simulation\_distance/set

> **minecraft:serversettings/simulation\_distance/set**: `object`

Defined in: [mojangApi.ts:297](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L297)

Set the server's simulation distance in chunks

###### params

> `readonly` **params**: `object`

###### params.distance

> `readonly` **distance**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/spawn\_protection\_radius

> **minecraft:serversettings/spawn\_protection\_radius**: `object`

Defined in: [mojangApi.ts:264](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L264)

Get the spawn protection radius in blocks (only operators can edit within this area)

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/spawn\_protection\_radius/set

> **minecraft:serversettings/spawn\_protection\_radius/set**: `object`

Defined in: [mojangApi.ts:269](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L269)

Set the spawn protection radius in blocks (only operators can edit within this area)

###### params

> `readonly` **params**: `object`

###### params.radius

> `readonly` **radius**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/status\_heartbeat\_interval

> **minecraft:serversettings/status\_heartbeat\_interval**: `object`

Defined in: [mojangApi.ts:309](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L309)

Get the interval in seconds between server status heartbeats

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/status\_heartbeat\_interval/set

> **minecraft:serversettings/status\_heartbeat\_interval/set**: `object`

Defined in: [mojangApi.ts:314](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L314)

Set the interval in seconds between server status heartbeats

###### params

> `readonly` **params**: `object`

###### params.seconds

> `readonly` **seconds**: `number`

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/status\_replies

> **minecraft:serversettings/status\_replies**: `object`

Defined in: [mojangApi.ts:339](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L339)

Get whether the server responds to connection status requests

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/status\_replies/set

> **minecraft:serversettings/status\_replies/set**: `object`

Defined in: [mojangApi.ts:341](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L341)

Enable or disable the server responding to connection status requests

###### params

> `readonly` **params**: `object`

###### params.enable

> `readonly` **enable**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/use\_allowlist

> **minecraft:serversettings/use\_allowlist**: `object`

Defined in: [mojangApi.ts:225](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L225)

Get whether the allowlist is enabled on the server

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/use\_allowlist/set

> **minecraft:serversettings/use\_allowlist/set**: `object`

Defined in: [mojangApi.ts:227](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L227)

Enable or disable the allowlist on the server (controls whether only allowlisted players can join)

###### params

> `readonly` **params**: `object`

###### params.use

> `readonly` **use**: `boolean`

###### result

> `readonly` **result**: `boolean`

##### minecraft:serversettings/view\_distance

> **minecraft:serversettings/view\_distance**: `object`

Defined in: [mojangApi.ts:288](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L288)

Get the server's view distance in chunks

###### params

> `readonly` **params**: `Record`\<`string`, `never`\>

###### result

> `readonly` **result**: `number`

##### minecraft:serversettings/view\_distance/set

> **minecraft:serversettings/view\_distance/set**: `object`

Defined in: [mojangApi.ts:290](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L290)

Set the server's view distance in chunks

###### params

> `readonly` **params**: `object`

###### params.distance

> `readonly` **distance**: `number`

###### result

> `readonly` **result**: `number`

***

### Notifications

Defined in: [mojangApi.ts:365](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L365)

Every notification the server can send, by name: its parameters by name.

#### Properties

##### minecraft:notification/allowlist/added

> **minecraft:notification/allowlist/added**: `object`

Defined in: [mojangApi.ts:393](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L393)

Player was added to allowlist

###### player

> `readonly` **player**: [`Player`](#player-3)

##### minecraft:notification/allowlist/removed

> **minecraft:notification/allowlist/removed**: `object`

Defined in: [mojangApi.ts:395](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L395)

Player was removed from allowlist

###### player

> `readonly` **player**: [`Player`](#player-3)

##### minecraft:notification/bans/added

> **minecraft:notification/bans/added**: `object`

Defined in: [mojangApi.ts:401](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L401)

Player was added to ban list

###### player

> `readonly` **player**: [`UserBan`](#userban)

##### minecraft:notification/bans/removed

> **minecraft:notification/bans/removed**: `object`

Defined in: [mojangApi.ts:403](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L403)

Player was removed from ban list

###### player

> `readonly` **player**: [`Player`](#player-3)

##### minecraft:notification/gamerules/updated

> **minecraft:notification/gamerules/updated**: `object`

Defined in: [mojangApi.ts:405](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L405)

Gamerule was changed

###### gamerule

> `readonly` **gamerule**: [`TypedGameRule`](#typedgamerule)

##### minecraft:notification/ip\_bans/added

> **minecraft:notification/ip\_bans/added**: `object`

Defined in: [mojangApi.ts:397](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L397)

Ip was added to ip ban list

###### player

> `readonly` **player**: [`IpBan`](#ipban)

##### minecraft:notification/ip\_bans/removed

> **minecraft:notification/ip\_bans/removed**: `object`

Defined in: [mojangApi.ts:399](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L399)

Ip was removed from ip ban list

###### player

> `readonly` **player**: `string`

##### minecraft:notification/operators/added

> **minecraft:notification/operators/added**: `object`

Defined in: [mojangApi.ts:389](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L389)

Player was oped

###### player

> `readonly` **player**: [`Operator`](#operator)

##### minecraft:notification/operators/removed

> **minecraft:notification/operators/removed**: `object`

Defined in: [mojangApi.ts:391](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L391)

Player was deoped

###### player

> `readonly` **player**: [`Operator`](#operator)

##### minecraft:notification/players/joined

> **minecraft:notification/players/joined**: `object`

Defined in: [mojangApi.ts:385](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L385)

Player joined

###### player

> `readonly` **player**: [`Player`](#player-3)

##### minecraft:notification/players/left

> **minecraft:notification/players/left**: `object`

Defined in: [mojangApi.ts:387](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L387)

Player left

###### player

> `readonly` **player**: [`Player`](#player-3)

##### minecraft:notification/server/activity

> **minecraft:notification/server/activity**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:375](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L375)

Server activity occurred. Rate limited to 1 notification per 30 seconds

##### minecraft:notification/server/saved

> **minecraft:notification/server/saved**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:373](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L373)

Server save completed

##### minecraft:notification/server/saving

> **minecraft:notification/server/saving**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:371](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L371)

Server save started

##### minecraft:notification/server/started

> **minecraft:notification/server/started**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:367](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L367)

Server started

##### minecraft:notification/server/status

> **minecraft:notification/server/status**: `object`

Defined in: [mojangApi.ts:407](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L407)

Server status heartbeat, including before the server has spun up

###### status

> `readonly` **status**: [`ServerState`](#serverstate)

##### minecraft:notification/server/stopping

> **minecraft:notification/server/stopping**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:369](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L369)

Server shutting down

##### minecraft:notification/world/upgrade\_failed

> **minecraft:notification/world/upgrade\_failed**: `object`

Defined in: [mojangApi.ts:383](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L383)

World upgrade failed

###### reason

> `readonly` **reason**: `string`

##### minecraft:notification/world/upgrade\_finished

> **minecraft:notification/world/upgrade\_finished**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:381](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L381)

World upgrade finished

##### minecraft:notification/world/upgrade\_progress

> **minecraft:notification/world/upgrade\_progress**: `object`

Defined in: [mojangApi.ts:379](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L379)

World upgrade progress. Rate limited to 1 notification per second

###### progress

> `readonly` **progress**: `number`

##### minecraft:notification/world/upgrade\_started

> **minecraft:notification/world/upgrade\_started**: `Record`\<`string`, `never`\>

Defined in: [mojangApi.ts:377](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L377)

World upgrade started

***

### Operator

Defined in: [mojangApi.ts:54](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L54)

The `operator` component.

#### Properties

##### bypassesPlayerLimit?

> `readonly` `optional` **bypassesPlayerLimit?**: `boolean`

Defined in: [mojangApi.ts:55](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L55)

##### permissionLevel?

> `readonly` `optional` **permissionLevel?**: `number`

Defined in: [mojangApi.ts:56](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L56)

##### player?

> `readonly` `optional` **player?**: [`Player`](#player-3)

Defined in: [mojangApi.ts:57](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L57)

***

### Player

Defined in: [mojangApi.ts:61](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L61)

The `player` component.

#### Properties

##### id?

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

Defined in: [mojangApi.ts:62](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L62)

##### name?

> `readonly` `optional` **name?**: `string`

Defined in: [mojangApi.ts:63](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L63)

***

### ServerState

Defined in: [mojangApi.ts:67](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L67)

The `server_state` component.

#### Properties

##### players?

> `readonly` `optional` **players?**: readonly [`Player`](#player-3)[]

Defined in: [mojangApi.ts:68](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L68)

##### started?

> `readonly` `optional` **started?**: `boolean`

Defined in: [mojangApi.ts:69](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L69)

##### version?

> `readonly` `optional` **version?**: [`Version`](#version-1)

Defined in: [mojangApi.ts:70](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L70)

***

### SystemMessage

Defined in: [mojangApi.ts:74](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L74)

The `system_message` component.

#### Properties

##### message?

> `readonly` `optional` **message?**: [`Message`](#message-1)

Defined in: [mojangApi.ts:75](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L75)

##### overlay?

> `readonly` `optional` **overlay?**: `boolean`

Defined in: [mojangApi.ts:76](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L76)

##### receivingPlayers?

> `readonly` `optional` **receivingPlayers?**: readonly [`Player`](#player-3)[]

Defined in: [mojangApi.ts:77](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L77)

***

### TypedGameRule

Defined in: [mojangApi.ts:81](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L81)

The `typed_game_rule` component.

#### Properties

##### key?

> `readonly` `optional` **key?**: `string`

Defined in: [mojangApi.ts:83](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L83)

##### type?

> `readonly` `optional` **type?**: `"boolean"` \| `"integer"`

Defined in: [mojangApi.ts:82](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L82)

##### value?

> `readonly` `optional` **value?**: `number` \| `boolean`

Defined in: [mojangApi.ts:84](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L84)

***

### UntypedGameRule

Defined in: [mojangApi.ts:88](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L88)

The `untyped_game_rule` component.

#### Properties

##### key?

> `readonly` `optional` **key?**: `string`

Defined in: [mojangApi.ts:89](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L89)

##### value?

> `readonly` `optional` **value?**: `number` \| `boolean`

Defined in: [mojangApi.ts:90](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L90)

***

### UserBan

Defined in: [mojangApi.ts:94](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L94)

The `user_ban` component.

#### Properties

##### expires?

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

Defined in: [mojangApi.ts:95](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L95)

##### player?

> `readonly` `optional` **player?**: [`Player`](#player-3)

Defined in: [mojangApi.ts:96](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L96)

##### reason?

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

Defined in: [mojangApi.ts:97](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L97)

##### source?

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

Defined in: [mojangApi.ts:98](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L98)

***

### Version

Defined in: [mojangApi.ts:102](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L102)

The `version` component.

#### Properties

##### name?

> `readonly` `optional` **name?**: `string`

Defined in: [mojangApi.ts:103](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L103)

##### protocol?

> `readonly` `optional` **protocol?**: `number`

Defined in: [mojangApi.ts:104](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L104)

## Type Aliases

### Difficulty

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

Defined in: [mojangApi.ts:18](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L18)

The `difficulty` component.

***

### GameType

> **GameType** = `"survival"` \| `"creative"` \| `"adventure"` \| `"spectator"`

Defined in: [mojangApi.ts:21](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L21)

The `game_type` component.

## Variables

### API\_VERSION

> `const` **API\_VERSION**: `"3.1.0"` = `'3.1.0'`

Defined in: [mojangApi.ts:9](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L9)

The Server Management Protocol version of that release, as its `rpc.discover` reports it.

***

### JAVA\_RELEASE

> `const` **JAVA\_RELEASE**: `"26.3"` = `'26.3'`

Defined in: [mojangApi.ts:6](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L6)

The Java release whose data generator wrote `mojangApi.json`.

***

### MOJANG\_API

> `const` **MOJANG\_API**: `object` = `document`

Defined in: [mojangApi.ts:15](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/management-protocol/src/mojangApi.ts#L15)

Java 26.3's OpenRPC document, `reports/json-rpc-api-schema.json` as its data generator
wrote it: every method and notification of the protocol, with its parameters and result.

#### Type Declaration

##### components

> **components**: `object`

###### components.schemas

> **schemas**: `object`

###### components.schemas.difficulty

> **difficulty**: `object`

###### components.schemas.difficulty.enum

> **enum**: `string`[]

###### components.schemas.difficulty.type

> **type**: `string` = `"string"`

###### components.schemas.game\_type

> **game\_type**: `object`

###### components.schemas.game\_type.enum

> **enum**: `string`[]

###### components.schemas.game\_type.type

> **type**: `string` = `"string"`

###### components.schemas.incoming\_ip\_ban

> **incoming\_ip\_ban**: `object`

###### components.schemas.incoming\_ip\_ban.properties

> **properties**: `object`

###### components.schemas.incoming\_ip\_ban.properties.expires

> **expires**: `object`

###### components.schemas.incoming\_ip\_ban.properties.expires.type

> **type**: `string` = `"string"`

###### components.schemas.incoming\_ip\_ban.properties.ip

> **ip**: `object`

###### components.schemas.incoming\_ip\_ban.properties.ip.type

> **type**: `string` = `"string"`

###### components.schemas.incoming\_ip\_ban.properties.player

> **player**: `object`

###### components.schemas.incoming\_ip\_ban.properties.player.$ref

> **$ref**: `string` = `"#/components/schemas/player"`

###### components.schemas.incoming\_ip\_ban.properties.reason

> **reason**: `object`

###### components.schemas.incoming\_ip\_ban.properties.reason.type

> **type**: `string` = `"string"`

###### components.schemas.incoming\_ip\_ban.properties.source

> **source**: `object`

###### components.schemas.incoming\_ip\_ban.properties.source.type

> **type**: `string` = `"string"`

###### components.schemas.incoming\_ip\_ban.type

> **type**: `string` = `"object"`

###### components.schemas.ip\_ban

> **ip\_ban**: `object`

###### components.schemas.ip\_ban.properties

> **properties**: `object`

###### components.schemas.ip\_ban.properties.expires

> **expires**: `object`

###### components.schemas.ip\_ban.properties.expires.type

> **type**: `string` = `"string"`

###### components.schemas.ip\_ban.properties.ip

> **ip**: `object`

###### components.schemas.ip\_ban.properties.ip.type

> **type**: `string` = `"string"`

###### components.schemas.ip\_ban.properties.reason

> **reason**: `object`

###### components.schemas.ip\_ban.properties.reason.type

> **type**: `string` = `"string"`

###### components.schemas.ip\_ban.properties.source

> **source**: `object`

###### components.schemas.ip\_ban.properties.source.type

> **type**: `string` = `"string"`

###### components.schemas.ip\_ban.type

> **type**: `string` = `"object"`

###### components.schemas.kick\_player

> **kick\_player**: `object`

###### components.schemas.kick\_player.properties

> **properties**: `object`

###### components.schemas.kick\_player.properties.message

> **message**: `object`

###### components.schemas.kick\_player.properties.message.$ref

> **$ref**: `string` = `"#/components/schemas/message"`

###### components.schemas.kick\_player.properties.player

> **player**: `object`

###### components.schemas.kick\_player.properties.player.$ref

> **$ref**: `string` = `"#/components/schemas/player"`

###### components.schemas.kick\_player.type

> **type**: `string` = `"object"`

###### components.schemas.message

> **message**: `object`

###### components.schemas.message.properties

> **properties**: `object`

###### components.schemas.message.properties.literal

> **literal**: `object`

###### components.schemas.message.properties.literal.type

> **type**: `string` = `"string"`

###### components.schemas.message.properties.translatable

> **translatable**: `object`

###### components.schemas.message.properties.translatable.type

> **type**: `string` = `"string"`

###### components.schemas.message.properties.translatableParams

> **translatableParams**: `object`

###### components.schemas.message.properties.translatableParams.items

> **items**: `object`

###### components.schemas.message.properties.translatableParams.items.type

> **type**: `string` = `"string"`

###### components.schemas.message.properties.translatableParams.type

> **type**: `string` = `"array"`

###### components.schemas.message.type

> **type**: `string` = `"object"`

###### components.schemas.operator

> **operator**: `object`

###### components.schemas.operator.properties

> **properties**: `object`

###### components.schemas.operator.properties.bypassesPlayerLimit

> **bypassesPlayerLimit**: `object`

###### components.schemas.operator.properties.bypassesPlayerLimit.type

> **type**: `string` = `"boolean"`

###### components.schemas.operator.properties.permissionLevel

> **permissionLevel**: `object`

###### components.schemas.operator.properties.permissionLevel.type

> **type**: `string` = `"integer"`

###### components.schemas.operator.properties.player

> **player**: `object`

###### components.schemas.operator.properties.player.$ref

> **$ref**: `string` = `"#/components/schemas/player"`

###### components.schemas.operator.type

> **type**: `string` = `"object"`

###### components.schemas.player

> **player**: `object`

###### components.schemas.player.properties

> **properties**: `object`

###### components.schemas.player.properties.id

> **id**: `object`

###### components.schemas.player.properties.id.type

> **type**: `string` = `"string"`

###### components.schemas.player.properties.name

> **name**: `object`

###### components.schemas.player.properties.name.type

> **type**: `string` = `"string"`

###### components.schemas.player.type

> **type**: `string` = `"object"`

###### components.schemas.server\_state

> **server\_state**: `object`

###### components.schemas.server\_state.properties

> **properties**: `object`

###### components.schemas.server\_state.properties.players

> **players**: `object`

###### components.schemas.server\_state.properties.players.items

> **items**: `object`

###### components.schemas.server\_state.properties.players.items.$ref

> **$ref**: `string` = `"#/components/schemas/player"`

###### components.schemas.server\_state.properties.players.type

> **type**: `string` = `"array"`

###### components.schemas.server\_state.properties.started

> **started**: `object`

###### components.schemas.server\_state.properties.started.type

> **type**: `string` = `"boolean"`

###### components.schemas.server\_state.properties.version

> **version**: `object`

###### components.schemas.server\_state.properties.version.$ref

> **$ref**: `string` = `"#/components/schemas/version"`

###### components.schemas.server\_state.type

> **type**: `string` = `"object"`

###### components.schemas.system\_message

> **system\_message**: `object`

###### components.schemas.system\_message.properties

> **properties**: `object`

###### components.schemas.system\_message.properties.message

> **message**: `object`

###### components.schemas.system\_message.properties.message.$ref

> **$ref**: `string` = `"#/components/schemas/message"`

###### components.schemas.system\_message.properties.overlay

> **overlay**: `object`

###### components.schemas.system\_message.properties.overlay.type

> **type**: `string` = `"boolean"`

###### components.schemas.system\_message.properties.receivingPlayers

> **receivingPlayers**: `object`

###### components.schemas.system\_message.properties.receivingPlayers.items

> **items**: `object`

###### components.schemas.system\_message.properties.receivingPlayers.items.$ref

> **$ref**: `string` = `"#/components/schemas/player"`

###### components.schemas.system\_message.properties.receivingPlayers.type

> **type**: `string` = `"array"`

###### components.schemas.system\_message.type

> **type**: `string` = `"object"`

###### components.schemas.typed\_game\_rule

> **typed\_game\_rule**: `object`

###### components.schemas.typed\_game\_rule.properties

> **properties**: `object`

###### components.schemas.typed\_game\_rule.properties.key

> **key**: `object`

###### components.schemas.typed\_game\_rule.properties.key.type

> **type**: `string` = `"string"`

###### components.schemas.typed\_game\_rule.properties.type

> **type**: `object`

###### components.schemas.typed\_game\_rule.properties.type.enum

> **enum**: `string`[]

###### components.schemas.typed\_game\_rule.properties.type.type

> **type**: `string` = `"string"`

###### components.schemas.typed\_game\_rule.properties.value

> **value**: `object`

###### components.schemas.typed\_game\_rule.properties.value.type

> **type**: `string`[]

###### components.schemas.typed\_game\_rule.type

> **type**: `string` = `"object"`

###### components.schemas.untyped\_game\_rule

> **untyped\_game\_rule**: `object`

###### components.schemas.untyped\_game\_rule.properties

> **properties**: `object`

###### components.schemas.untyped\_game\_rule.properties.key

> **key**: `object`

###### components.schemas.untyped\_game\_rule.properties.key.type

> **type**: `string` = `"string"`

###### components.schemas.untyped\_game\_rule.properties.value

> **value**: `object`

###### components.schemas.untyped\_game\_rule.properties.value.type

> **type**: `string`[]

###### components.schemas.untyped\_game\_rule.type

> **type**: `string` = `"object"`

###### components.schemas.user\_ban

> **user\_ban**: `object`

###### components.schemas.user\_ban.properties

> **properties**: `object`

###### components.schemas.user\_ban.properties.expires

> **expires**: `object`

###### components.schemas.user\_ban.properties.expires.type

> **type**: `string` = `"string"`

###### components.schemas.user\_ban.properties.player

> **player**: `object`

###### components.schemas.user\_ban.properties.player.$ref

> **$ref**: `string` = `"#/components/schemas/player"`

###### components.schemas.user\_ban.properties.reason

> **reason**: `object`

###### components.schemas.user\_ban.properties.reason.type

> **type**: `string` = `"string"`

###### components.schemas.user\_ban.properties.source

> **source**: `object`

###### components.schemas.user\_ban.properties.source.type

> **type**: `string` = `"string"`

###### components.schemas.user\_ban.type

> **type**: `string` = `"object"`

###### components.schemas.version

> **version**: `object`

###### components.schemas.version.properties

> **properties**: `object`

###### components.schemas.version.properties.name

> **name**: `object`

###### components.schemas.version.properties.name.type

> **type**: `string` = `"string"`

###### components.schemas.version.properties.protocol

> **protocol**: `object`

###### components.schemas.version.properties.protocol.type

> **type**: `string` = `"integer"`

###### components.schemas.version.type

> **type**: `string` = `"object"`

##### info

> **info**: `object`

###### info.title

> **title**: `string` = `"Minecraft Server JSON-RPC"`

###### info.version

> **version**: `string` = `"3.1.0"`

##### methods

> **methods**: (\{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result`: \{ `name`: `string`; `schema`: \{ `$ref?`: `undefined`; `items`: \{ `$ref`: `string`; \}; `type`: `string`; \}; \}; \} \| \{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result`: \{ `name`: `string`; `schema`: \{ `$ref?`: `undefined`; `items`: \{ `$ref`: `string`; \}; `type`: `string`; \}; \}; \} \| \{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result`: \{ `name`: `string`; `schema`: \{ `$ref?`: `undefined`; `items?`: `undefined`; `type`: `string`; \}; \}; \} \| \{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result`: \{ `name`: `string`; `schema`: \{ `$ref?`: `undefined`; `items?`: `undefined`; `type`: `string`; \}; \}; \} \| \{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result`: \{ `name`: `string`; `schema`: \{ `$ref`: `string`; `items?`: `undefined`; `type?`: `undefined`; \}; \}; \} \| \{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result?`: `undefined`; \} \| \{ `description`: `string`; `name`: `string`; `params`: `object`[]; `result?`: `undefined`; \})[]

##### openrpc

> **openrpc**: `string` = `"1.3.2"`
