# WayPointMod — GUI & Sharing Update
This update adds an in-game menu for managing waypoints and introduces a simple way to share waypoints through chat.
---
## ✅ New: Waypoint Menu (GUI)
Open the Waypoint menu (default keybind: **M**).
### What you can do in the menu
- **Search** waypoints by name
- Browse waypoints with **pages**
- **Add** a waypoint at your current position
- **Edit** an existing waypoint (name, coordinates, color)
- **Delete** a waypoint
- **Hide / Show** a waypoint (hidden waypoints won’t appear in the HUD)
- **Enable / Disable** the entire mod from the GUI
### UI Improvements
- The **Enable** button no longer overlaps the last waypoint in the list.
- The list automatically adjusts to your screen size so everything fits inside the panel.
- Works correctly after **resizing the window** or switching resolution.
- Returning from the edit screen now correctly refreshes the list.
---
## ✅ New: Waypoint Editing Screen
When creating/editing a waypoint you can change:
- **Name**
- **X / Y / Z**
- **Color** (hex format like `#55FF55`)
Saving returns you to the list screen automatically.
---
## ✅ New: Sharing Waypoints in Chat
You can now share a waypoint in chat using a special format:
`WP|<name>|<x>|<y>|<z>`
Example:
`WP|Home|120|64|-340`
### What other players will see (if they have the mod)
The mod converts the message into a clickable entry:
**[WP] [ADD] [SUGGEST] Home @ 120 64 -340**
- **[ADD]** — instantly adds the waypoint to their list (runs the command for them)
- **[SUGGEST]** — inserts the command into their chat input (they press Enter)
### Important notes
- **Recipients must have the mod installed** to see the clickable `[ADD]/[SUGGEST]` message.
- If the server/client blocks clickable “run command”, **[SUGGEST]** still works.
- Shared waypoints use the command:
`/wp set <name> <x> <y> <z>`
## Compatibility
- Minecraft **Fabric 1.21.11**!
- Sharing features require the mod on both sides!
[MainWindow](https://cdn.modrinth.com/data/cached_images/bdef138154b328c49350cbc93f1df889a7c5dbff.png).
[EditWindow](https://cdn.modrinth.com/data/cached_images/3b843eff18740fe64b6472e06a84abf2bdc2b08d.png)
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }