Skip to content

PortalType

← Back to Asset Types

Documentation for the PortalType asset type.

Location

PortalTypes

Use in Your Files

Add this to your JSON files for IDE autocompletion and validation:

"$schema": "https://hytaledb.ginco.gg/schemas/PortalType.schema.json"

Schema

InstanceId stringnull

The instance id (folder name in Assets/Server/Instances) that this instance loads.

Description unknown

The qualitative description of the portal.

Any of
PortalDescription
null
PlayerSpawn unknown

If set, overrides the Instance's SpawnProvider with the portal's spawning system.

Any of
PortalSpawn
null
CursedItems arraynull

Which item drops are cursed when spawned in this portal.

Array items: string
VoidInvasionEnabled boolean

Whether the void invasion is enabled for this portal.

Default:false
GameplayConfig stringnull

The ID of the GameplayConfig asset for worlds spawned with this portal type.

Default:"Portal"
All of
base