Skip to content

@pumpkin-plugins/distant-horizons-support-pumpkin API / session/protocol / announce

Function: announce() ​

announce(state, peer): void

Defined in: packages/distant-horizons-support-pumpkin/src/session/protocol.ts:133

Starts the player's DH session in their current world, or restarts it after a world change, and sends the level and session configuration. Closes the session when the world height is unknown.

Parameters ​

state ​

SessionState

peer ​

Peer

Returns ​

void

pumpkin-plugins documentation