Skip to content

@pumpkin-plugins/distant-horizons-support-pumpkin API / platform/peers / withPlayer

Function: withPlayer() ​

withPlayer(player, settings, use): boolean

Defined in: packages/distant-horizons-support-pumpkin/src/platform/peers.ts:22

Creates terrain access from current player handles, and releases every acquired resource.

Parameters ​

player ​

Player

settings ​

Settings

use ​

(peer) => void

Returns ​

boolean

Pumpkin Plugins documentation