World / Server

17 nodes in this category.

Console Command paper/console_command

Runs a command as the server console (with full permissions).

In: exec, command Out: exec
Run Command As paper/run_command_as

Runs a command as a specific player or command sender.

In: exec, sender, command Out: exec
Get World paper/get_world

Retrieves a world object by name.

In: name Out: world, found
Spawn Entity paper/spawn_entity

Spawns an entity at a given location.

In: exec, location, entityType Out: exec, entity
Get Block paper/get_block

Gets the material and state of a block at a given location.

In: location Out: material, isAir
Set Block paper/set_block

Sets the block at a location to a specific material.

In: exec, location, material Out: exec
Create Location paper/create_location

Constructs a Location object from world name and XYZ coordinates.

In: world, x, y, z Out: location
Location Offset paper/location_offset

Offsets a location by dx, dy, dz.

In: location, dx, dy, dz Out: location
Distance paper/distance

Calculates the distance between two locations.

In: locationA, locationB Out: distance, distanceSquared
Get Nearby Entities paper/get_nearby_entities

Returns all entities within a radius of a location.

In: location, radius Out: entities, count
Drop Item paper/drop_item

Drops an item at a world location.

In: exec, location, item, material, amount Out: exec
Explosion paper/explosion

Creates an explosion at a location.

In: exec, location, power Out: exec
Lightning paper/lightning

Strikes lightning at a location.

In: exec, location Out: exec
World Time paper/world_time

Gets or sets the time of a world.

In: exec, world, time Out: exec, time
World Weather paper/world_weather

Gets or sets the weather of a world.

In: exec, world Out: exec, isRaining, isThundering
Vector To Location paper/vector_to_location

Combines a location and vector into a new location.

In: location, vector Out: location
Location To Vector paper/location_to_vector

Extracts position and direction vectors from a location.

In: location Out: position, direction, x, y, z