PlayerWaypoints

Server-side mod for adding custom waypoints to the Locator Bar using Polymer's Virtual-Entity API

by
118 Downloads
fabric
Rent Server with this Mod

About this Mod

PlayerWaypoints

Server-side mod for adding custom waypoints to the Locator Bar using Polymer's Virtual-Entity API

Allows for creation of waypoints per-world as well as per-player, and can be attached like any other virtual entity.

How to use:

Global Waypoints:

Global waypoints will be sent to all players in the world the waypoint is in.

PlayerWaypointManager.addGlobalWaypoint(serverWorld, pos, id) -> WaypointElement
PlayerWaypointManager.addGlobalWaypoint(serverWorld, waypointElement) -> WaypointElement

Removing a waypoint:

PlayerWaypointManager.removeGlobalWaypoint(serverWorld, waypointElement) -> void

Per-Player Waypoints:

Per-Player waypoints will be sent to the player if they are in the same world.

PlayerWaypointManager.addPlayerWaypoint(player, serverWorld, pos, id) -> WaypointElement
PlayerWaypointManager.addPlayerWaypoint(player, serverWorld, waypointElement) -> WaypointElement

Removing a waypoint:

PlayerWaypointManager.removePlayerWaypoint(player, serverWorld, waypointElement) -> void

Using with Polymer

The waypoints are built upon Polymer's Virtual Entity Element, so you can add a WaypointElement the same way you would any other element.

The WaypointElement Class

WaypointElements are the basic way of representing a waypoint for the Locator Bar

<ctor> WaypointElement(ServerWorld, Identifier)

Config

WaypointElement::getConfig(ServerPlayerEntity) : Gets the Waypoint's client-bound config

WaypointElement::setColor(int) : Sets the color - RGB

WaypointElement::setStyle(RegistryKey<WaypointStyle>) : Sets the Waypoint's style See: Minecraft Wiki / Waypoint Style

- Note for Waypoint Styles: Distance calculation isn't working, so it will always show the "furthest" sprite. This is unfortunately a bug.

- However, you can override getConfig(...) and change the style manually depending on the distance using getDistanceTo.

Positioning and transmission

WaypointElement::setWaypointTransmitRange(double) : Sets the range the player can see the waypoint. The waypoint will stop transmitting after this distance.

WaypointElement::setPosition(Vec3d) : Sets the position of the waypoint.

- You can also use setOffset(...) for the same result.

WaypointElement::isPlayerInRange(PlayerEntity) -> boolean : Whether the waypoint should transmit to this player or not.

WaypointElement::getObservers() -> Set<PlayerEntity> : Gets all players which this Waypoint is currently transmitting to

WaypointElement::getDistanceTo(PlayerEntity)
WaypointElement::getSquaredDistanceTo(PlayerEntity Get distance to a given player from the Waypoint

Waypoint Holograms (WIP)

WaypointElements can have Holograms attached, to display information to the user.

By default, holograms will display directly above the Waypoint.

This is very experimental, and may not work. I'd recommend just building holograms separately.

This can be overridden using getHologramElementPosition

WaypointElement::setHologram(List<Text>) : Sets the Hologram of the Waypoint using MarkerElements

WaypointElement::setHologram(List<HologramData>) : Sets the hologram of the Waypoint

WaypointElement::removeHologram(HologramData) : Removes a Hologram from the Waypoint.

getHologramElementPosition(Vec3d origin, int line, HologramData) -> Vec3d : Gets the position of a Hologram element

Defaults to origin.offset(Direction.UP, (line * 0.25f))

Other utilities

SVPlayerWaypoints.getHolderForWorld(ServerWorld) : Gets a holder at exactly [0,0,0]

Available Versions

PlayerWaypoints 1.0-SNAPSHOTrelease
MC 1.21.7fabric
July 12, 2025

How to Install PlayerWaypoints on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.7).

3

Install Mod

Open the mod browser in the dashboard and search for "PlayerWaypoints". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.7

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

PlayerWaypoints server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.7). You can switch loaders with one click in the panel.

Is PlayerWaypoints compatible with fabric?

PlayerWaypoints officially supports fabric for Minecraft 1.21.7. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with PlayerWaypoints – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if PlayerWaypoints consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install PlayerWaypoints with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-WTFPL
Server-side
Required

Supported Versions

1.21.7