- Create, update, and remove waypoints
- Custom names, icons, colors, and styling
- Lightweight and fast integration
- Fully documented API structure
- Preview Video: Link
- Server version 1.21.6+
- PacketEvents
- Java 21+
Add the repository and dependency to your project:
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/fajzu1/Waypoint-API</url>
</repository><dependency>
<groupId>io.github.fajzu</groupId>
<artifactId>waypoint-api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>WaypointProvider waypointProvider = WaypointProvider.init(this);Waypoint waypoint = WaypointBuilder
.builder()
.position(new Location(
"world",
0,
100,
0
))
.style(WaypointStyle.DEFAULT)
.color(Color.BLACK)
.build();
waypointProvider.track(player, waypoint);Waypoint waypoint = ...
waypoint
.toBuilder()
.color(Color.BLUE)
.style(WaypointStyle.of("custom", "path"))
.position(new Location(
null,
10,
200,
10
))
.build();
waypointProvider.update(player, waypoint);Waypoint waypoint = ...
waypointProvider.hide(player, waypoint);Spotted an issue? Report it via Discord: fizuxd π¬
- Add Bukkit Events handling for creating/updating/removing waypoint
- notnwse - for significant enhancements and optimizations to the code
If you enjoy using Waypoint-API, leave a β on the GitHub repo and share it with your friends!
