Description

✦ Usage
- R opens the region drawing workflow on Xaero's map screen when the player is an operator in creative mode.
- P places polygon points while drawing.
- Middle mouse click places polygon points while drawing.
- T opens the region manager while in normal camera/game view.
Only operators in creative mode can create, edit, delete, or upload icons. Allplayers with the mod installed can view synced regions, limited by their ownXaero explored-map data.
Commands are available only to players who are currently in Creative mode.
Hide a region for one player
/region hide <player> <region>
Show a hidden region again
/region visible <player> <region>
Create a point marker
/region createpoint <player> <mode> <iconname> <label> <x> <y> <z>
Arguments:
- <player>: target player who will see the marker.
- <mode>: marker lifetime mode.
- <iconname>: predefined pixel icon. The command suggests available icon names while typing.
- <label>: text shown under the marker. Use quotes for labels with spaces.
- <x> <y> <z>: block coordinates for the marker.
Modes:
- waitenter: the marker disappears for the target player when they enter the marker's chunk.
- waitcommand: the marker stays until it is removed with `/region delpoint`.
Delete a point marker
/region delpoint <player> <x> <y> <z>
✦ What It Does
- Lets operators in creative mode draw freeform polygon regions on Xaero's World Map.
- Supports named regions, ARGB colors, alpha/opacity, optional categories, predefined icons, and custom PNG icons.
- Stores all region data on the server and syncs it to every connected client.
- Restricts create, edit, delete, and icon upload packets on the server to players who are both operators and in creative mode.
- Respects Xaero's explored-map data so regions only render where the player has already explored the map.
- Fades newly revealed region portions in over about 1.5 seconds.
- Shows region entry titles when a player crosses into a region, with optional Traveler's Titles reflection support and an internal fallback overlay.
- Persists regions and custom icon metadata through world `SavedData`.
✦ Dependencies
Use these dependencies when publishing and when building a server pack.
Kotlin for Forge | Tested ver: 5.6.0 required because this mod is written in Kotlin.

