Wiki Navigation

API Reference
CRUD Operations

Types API

Manage item types and spawn configurations. Types define how items spawn in your server including nominal values, lifetime, restock rates, and spawn locations.

Authentication required: All endpoints require a valid Bearer token.

Available Endpoints

GET /api/instance/{instance_sid}/type

List all types for an instance with pagination

GET /api/instance/{instance_sid}/type/{type_sid}

Get a specific type with all spawn parameters

POST /api/instance/{instance_sid}/type

Create a new type entry

PATCH /api/instance/{instance_sid}/type/{type_sid}

Update type spawn parameters

DELETE /api/instance/{instance_sid}/type/{type_sid}

Delete a type entry

Request Body Parameters

classname_id required

Associated classname ID

nominal integer

Target spawn count

min integer

Minimum spawn count

lifetime integer

Despawn time in seconds

restock integer

Respawn delay in seconds

cost integer

Spawn priority weight

Related Documentation

For detailed information about type parameters and their effects on the economy:

View types.xml Configuration Guide