Skip to content

Waypoints ​v0.1.0

Waypoints lets you create shared locations, control who can access each one, show them on a Java HUD, and look them up with PumpkinPIE placeholders.

See the plugin guide and API reference on the documentation site.

Overview ​

Waypoints stores shared named locations on the server. Each waypoint can have a display label, description, color, item icon, and optional HUD visibility range. Waypoints are restricted by default; operators can make them public or grant access to specific players, permission nodes, or permission-marker groups. Players can find and teleport to enabled waypoints they can access. Records have no creator ownership.

Installation ​

Download waypoints.wasm from the plugin's GitHub release, put it in your server's plugins/ folder, and restart Pumpkin. On the first load, a full restart lets Pumpkin ask for the plugin's permissions; hot reload cannot prompt for them.

Permissions ​

Pumpkin asks you to approve these on the server console when it loads the plugin. It skips the question when the [plugins] table in pumpkin.toml lists all of them in allowed_permissions or sets ask_permission_confirmation = false. Pumpkin remembers your answer and asks again after the plugin file or this list changes.

PermissionWhy
fs.read.dataRead the waypoint store from the plugin data folder.
fs.write.dataPersist waypoint changes in the plugin data folder.
http.outboundCheck Pumpkin Market for plugin updates.

Commands ​

CommandDescriptionPermissionDefault access
/wp createCreate a waypoint at your position or explicit coordinatesWaypoints:command.adminoperators (level 3)
/wp create <name>Create a waypoint at your position or explicit coordinatesWaypoints:command.adminoperators (level 3)
/wp create <name> <x> <y> <z>Create a waypoint at your position or explicit coordinatesWaypoints:command.adminoperators (level 3)
/wp reloadReload waypoint data from diskWaypoints:command.adminoperators (level 3)
/wp delete <name>Delete a waypoint by nameWaypoints:command.adminoperators (level 3)
/wp rename <name> <newName>Rename a waypointWaypoints:command.adminoperators (level 3)
/wp relocateMove a waypoint to your position or explicit coordinatesWaypoints:command.adminoperators (level 3)
/wp relocate <name>Move a waypoint to your position or explicit coordinatesWaypoints:command.adminoperators (level 3)
/wp relocate <name> <x> <y> <z>Move a waypoint to your position or explicit coordinatesWaypoints:command.adminoperators (level 3)
/wp listList enabled waypoints you can accessWaypoints:command.useeveryone
/wp info <name>Show details for an enabled waypoint you can accessWaypoints:command.useeveryone
/wp teleportTeleport to a waypoint or, as an admin, teleport selected playersWaypoints:command.useeveryone
/wp teleport <name>Teleport to a waypoint or, as an admin, teleport selected playersWaypoints:command.useeveryone
/wp teleport <name> <targets>Teleport to a waypoint or, as an admin, teleport selected playersWaypoints:command.useeveryone
/wp tpAlias for teleportWaypoints:command.useeveryone
/wp tp <name>Alias for teleportWaypoints:command.useeveryone
/wp tp <name> <targets>Alias for teleportWaypoints:command.useeveryone
/wp enable <name>Enable a waypointWaypoints:command.adminoperators (level 3)
/wp disable <name>Disable a waypointWaypoints:command.adminoperators (level 3)
/wp get <name>Inspect a waypoint, including disabled recordsWaypoints:command.adminoperators (level 3)
/wp access public <name>Allow every player to access a waypointWaypoints:command.adminoperators (level 3)
/wp access restricted <name>Restrict a waypoint to its grantsWaypoints:command.adminoperators (level 3)
/wp access list <name>List a waypoint access mode and its grantsWaypoints:command.adminoperators (level 3)
/wp access grant player <name> <player>Grant access to an online playerWaypoints:command.adminoperators (level 3)
/wp access grant permission <name> <permission>Grant access to a permission nodeWaypoints:command.adminoperators (level 3)
/wp access grant group <name> <group>Grant access to a permission marker groupWaypoints:command.adminoperators (level 3)
/wp access revoke player <name> <player>Revoke a player grant by online name or UUIDWaypoints:command.adminoperators (level 3)
/wp access revoke permission <name> <permission>Revoke a permission node grantWaypoints:command.adminoperators (level 3)
/wp access revoke group <name> <group>Revoke a permission marker group grantWaypoints:command.adminoperators (level 3)
/wp set color <name> <hex>Set the waypoint colorWaypoints:command.adminoperators (level 3)
/wp set icon <name> <item>Set the waypoint item iconWaypoints:command.adminoperators (level 3)
/wp set label <name> <label>Set the waypoint display labelWaypoints:command.adminoperators (level 3)
/wp set description <name> <description>Set the waypoint descriptionWaypoints:command.adminoperators (level 3)
/wp set visibility-range <name> <range>Set the waypoint rendering range in blocksWaypoints:command.adminoperators (level 3)
/wp reset <property> <name>Reset a label, description, color, icon, or visibility rangeWaypoints:command.adminoperators (level 3)

PumpkinPIE placeholders ​

TokenDescription
%waypoints_count%Accessible enabled waypoint count across all worlds.
%waypoints_count_here%Accessible enabled waypoint count in the current world.
%waypoints_count_world:world%Accessible enabled waypoint count in the exact argument world.
%waypoints_public_count%Accessible public-record count across all worlds.
%waypoints_restricted_count%Accessible restricted-record count across all worlds.
%waypoints_visible_count%Same-world count eligible for the HUD visibility range.
%waypoints_nearby_count:128%Same-world count within the 3D radius in blocks.
%waypoints_names%Accessible waypoint names across worlds, joined by comma and space.
%waypoints_names_here%Accessible same-world waypoint names, joined by comma and space.
%waypoints_closest_exists%Whether an accessible same-world closest waypoint exists.
%waypoints_nearest_exists:2%Whether the requested accessible same-world rank exists.
%waypoints_waypoint_exists:11111111-1111-4111-8111-111111111111%Whether the enabled UUID is accessible to the viewer.
%waypoints_closest_id%Canonical waypoint UUID (closest accessible same-world waypoint).
%waypoints_nearest_id:2%Canonical waypoint UUID (requested accessible same-world rank).
%waypoints_waypoint_id:11111111-1111-4111-8111-111111111111%Canonical waypoint UUID (accessible waypoint UUID argument).
%waypoints_closest_name%Complete saved waypoint name (closest accessible same-world waypoint).
%waypoints_nearest_name:2%Complete saved waypoint name (requested accessible same-world rank).
%waypoints_waypoint_name:11111111-1111-4111-8111-111111111111%Complete saved waypoint name (accessible waypoint UUID argument).
%waypoints_closest_label%Saved display label, falling back to the name (closest accessible same-world waypoint).
%waypoints_nearest_label:2%Saved display label, falling back to the name (requested accessible same-world rank).
%waypoints_waypoint_label:11111111-1111-4111-8111-111111111111%Saved display label, falling back to the name (accessible waypoint UUID argument).
%waypoints_closest_description%Saved description, or an empty string (closest accessible same-world waypoint).
%waypoints_nearest_description:2%Saved description, or an empty string (requested accessible same-world rank).
%waypoints_waypoint_description:11111111-1111-4111-8111-111111111111%Saved description, or an empty string (accessible waypoint UUID argument).
%waypoints_closest_world%Exact saved world key (closest accessible same-world waypoint).
%waypoints_nearest_world:2%Exact saved world key (requested accessible same-world rank).
%waypoints_waypoint_world:11111111-1111-4111-8111-111111111111%Exact saved world key (accessible waypoint UUID argument).
%waypoints_closest_color%Canonical waypoint color (closest accessible same-world waypoint).
%waypoints_nearest_color:2%Canonical waypoint color (requested accessible same-world rank).
%waypoints_waypoint_color:11111111-1111-4111-8111-111111111111%Canonical waypoint color (accessible waypoint UUID argument).
%waypoints_closest_icon%Canonical item ID, or an empty string (closest accessible same-world waypoint).
%waypoints_nearest_icon:2%Canonical item ID, or an empty string (requested accessible same-world rank).
%waypoints_waypoint_icon:11111111-1111-4111-8111-111111111111%Canonical item ID, or an empty string (accessible waypoint UUID argument).
%waypoints_closest_x%Saved X coordinate (closest accessible same-world waypoint).
%waypoints_nearest_x:2%Saved X coordinate (requested accessible same-world rank).
%waypoints_waypoint_x:11111111-1111-4111-8111-111111111111%Saved X coordinate (accessible waypoint UUID argument).
%waypoints_closest_y%Saved Y coordinate (closest accessible same-world waypoint).
%waypoints_nearest_y:2%Saved Y coordinate (requested accessible same-world rank).
%waypoints_waypoint_y:11111111-1111-4111-8111-111111111111%Saved Y coordinate (accessible waypoint UUID argument).
%waypoints_closest_z%Saved Z coordinate (closest accessible same-world waypoint).
%waypoints_nearest_z:2%Saved Z coordinate (requested accessible same-world rank).
%waypoints_waypoint_z:11111111-1111-4111-8111-111111111111%Saved Z coordinate (accessible waypoint UUID argument).
%waypoints_closest_distance%Raw three-dimensional distance (closest accessible same-world waypoint).
%waypoints_nearest_distance:2%Raw three-dimensional distance (requested accessible same-world rank).
%waypoints_waypoint_distance:11111111-1111-4111-8111-111111111111%Raw three-dimensional distance (accessible waypoint UUID argument).
%waypoints_closest_distance_horizontal%Raw X/Z distance (closest accessible same-world waypoint).
%waypoints_nearest_distance_horizontal:2%Raw X/Z distance (requested accessible same-world rank).
%waypoints_waypoint_distance_horizontal:11111111-1111-4111-8111-111111111111%Raw X/Z distance (accessible waypoint UUID argument).
%waypoints_closest_distance_formatted%Human-readable distance (closest accessible same-world waypoint).
%waypoints_nearest_distance_formatted:2%Human-readable distance (requested accessible same-world rank).
%waypoints_waypoint_distance_formatted:11111111-1111-4111-8111-111111111111%Human-readable distance (accessible waypoint UUID argument).
%waypoints_closest_delta_x%Destination X minus viewer X (closest accessible same-world waypoint).
%waypoints_nearest_delta_x:2%Destination X minus viewer X (requested accessible same-world rank).
%waypoints_waypoint_delta_x:11111111-1111-4111-8111-111111111111%Destination X minus viewer X (accessible waypoint UUID argument).
%waypoints_closest_delta_y%Destination Y minus viewer Y (closest accessible same-world waypoint).
%waypoints_nearest_delta_y:2%Destination Y minus viewer Y (requested accessible same-world rank).
%waypoints_waypoint_delta_y:11111111-1111-4111-8111-111111111111%Destination Y minus viewer Y (accessible waypoint UUID argument).
%waypoints_closest_delta_z%Destination Z minus viewer Z (closest accessible same-world waypoint).
%waypoints_nearest_delta_z:2%Destination Z minus viewer Z (requested accessible same-world rank).
%waypoints_waypoint_delta_z:11111111-1111-4111-8111-111111111111%Destination Z minus viewer Z (accessible waypoint UUID argument).
%waypoints_closest_bearing%Horizontal compass bearing, north at zero (closest accessible same-world waypoint).
%waypoints_nearest_bearing:2%Horizontal compass bearing, north at zero (requested accessible same-world rank).
%waypoints_waypoint_bearing:11111111-1111-4111-8111-111111111111%Horizontal compass bearing, north at zero (accessible waypoint UUID argument).
%waypoints_closest_direction%Eight-point compass direction (closest accessible same-world waypoint).
%waypoints_nearest_direction:2%Eight-point compass direction (requested accessible same-world rank).
%waypoints_waypoint_direction:11111111-1111-4111-8111-111111111111%Eight-point compass direction (accessible waypoint UUID argument).
%waypoints_closest_relative_direction%Eight-point direction relative to the viewer yaw (closest accessible same-world waypoint).
%waypoints_nearest_relative_direction:2%Eight-point direction relative to the viewer yaw (requested accessible same-world rank).
%waypoints_waypoint_relative_direction:11111111-1111-4111-8111-111111111111%Eight-point direction relative to the viewer yaw (accessible waypoint UUID argument).

Configuration ​

This plugin has no configuration file.

Guide ​

See the Waypoints guide for command examples, access rules, storage behavior, and Java HUD details. See the PumpkinPIE placeholder guide for the optional live lookup contract.

pumpkin-plugins documentation