Introduction
Allows players to create, manage and view waypoints in the game. A waypoint is a mark that the player can set at a specific location in the world to facilitate navigation and orientation.
This implements various functions to interact with waypoints, such as setting new waypoints, moving them, changing their color, displaying the distance to a waypoint, and more.
Available Commands:
/wp_set <name> <color>
- Description: Set a new waypoint with a specified name and color.
- Usage: /wp_set base 00FF00
- This command will create a waypoint named "base" with a green color (#00FF00).
/wp_show
- Description: Show all waypoints in the HUD.
- Usage: /wp_show
- This command displays all waypoints on your screen, showing their names and positions.
/wp_hide
- Description: Hide all waypoints from the HUD.
- Usage: /wp_hide
- Hides all waypoints that are currently displayed on the screen.
/wp_unset <name>
- Description: Remove a specific waypoint by its name.
- Usage: /wp_unset base
- Removes the waypoint named "base" from your list of waypoints.
/wp_list
- Description: List all waypoints along with their details.
- Usage: /wp_list
- Displays a list of all waypoints with their names, colors, and positions.
/wp_show_s <name>
- Description: Show a specific waypoint in the HUD and hide others.
- Usage: /wp_show_s base
- Displays only the waypoint named "base" on the HUD, hiding all other waypoints.
/wp_set_coord <name> <x,y,z> <color>
- Description: Set a waypoint at specific coordinates with a specified color.
- Usage: /wp_set_coord home 100,50,200 FF0000
- Creates a waypoint named "home" at coordinates (100, 50, 200) with a red color (#FF0000).
/wp_move <name> <x,y,z>
- Description: Move a waypoint to a new position.
- Usage: /wp_move base 150,60,180
- Moves the waypoint named "base" to the coordinates (150, 60, 180).
/wp_cc <name> <color>
- Description: Change the color of an existing waypoint.
- Usage: /wp_cc base 0000FF
- Changes the color of the waypoint "base" to blue (#0000FF).
/wp_dis <name>
- Description: Show the distance to a specific waypoint.
- Usage: /wp_dis base
- Displays the distance from your current position to the waypoint named "base."
/wp_delete_all
- Description: Delete all waypoints of the current user.
- Usage: /wp_delete_all
- Deletes all waypoints associated with your player name.
/wp_info <name>
- Description: Show detailed information about a specific waypoint.
- Usage: /wp_info base
- Displays detailed information about the waypoint named "base," including its position, color, and distance from your current position.
/wp_rename <old_name> <new_name>
- Description: Rename an existing waypoint.
- Usage: /wp_rename base outpost
- Renames the waypoint from "base" to "outpost."
/wp_toggle_hud <name>
- Description: Toggle the HUD display for a specific waypoint.
- Usage: /wp_toggle_hud base
- Toggles the visibility of the HUD display for the waypoint named "base."
License
- MIT License (MIT) for the code.
WAYPOINT!
Really helpful for long survival journeys with friends.