premium banner
Manage waypoints and sync them to other player's client automatically. Compatible with Xaero's minimap.

Description

Server Waypoint

中文

License: MIT Modrinth Version both Modrinth Downloads CurseForge Downloads GitHub Downloads (all assets, all releases)

Static Badge Static Badge

fabric paper

Manage waypoints and sync them to other players' clients automatically. Compatible with Xaero's minimap.

Features

  • Syncing waypoints from the server automatically.
  • Customizable waypoints rendering.
  • Allow players to manage waypoints by both GUI (need client installation) and commands (only need server installation).
  • Commands auto-completion.
  • Custom permission for /wp <options> commands. Compatible with LuckPerms.
  • Support adding waypoint conveniently from Xaero's minimap waypoint chat sharing message without requiring client side installation.

Dependencies

Required:

Optional:

Keybinds

  • Press Right Shift (default keybind) or use /wp_gui to open the waypoint manager screen in game.
  • In the waypoint manager screen, hover over a waypoint and press T to teleport (requires /wp tp command permission).
  • In the waypoint manager screen, press C to open client configuration screen.

Commands

  • /wp add add a new waypoint. Cannot add waypoint with duplicate name. Prompts user to use /wp edit to replace the existing one.
    • /wp add <dimension> <list> add a waypoint list.
  • /wp download download waypoints and add to Xaero's Minimap (will not work without client installation).
  • /wp edit edit a waypoint.
  • /wp list list all waypoints. Shows all waypoints in a tree hierarchy. Allowing user to click to teleport, edit and remove the waypoint.
  • /wp reload reload config.json and translation files in \config\server_waypoint\lang, feature sendXaerosWorldId requires restarting to take effect.
  • /wp remove remove a waypoint by name. Shows the removed waypoint and click it to restore that waypoint.
    • /wp remove <dimension> <list> remove an empty waypoint list.
  • /wp tp teleport the executor player to a waypoint

Translation

This mod currently has built-in translations for English and Simplified Chinese. Command feedbacks will be automatically translated based on the language setting on the sender's client if the corresponding lang file is loaded.

  • Add translations

    Place the lang files under the directory: <minecraft_root>\config\server_waypoint\lang\. This mod will load them on server starting, use /wp reload if the server is already running.

  • Create a lang file

    Follow the format used in en_us.json, zh_cn.json.

    Name the lang file with a valid language code.

Waypoints

  • Save Path

    For a dedicated server:

    <minecraft_root>\config\server_waypoint\waypoints\

    For a single player world:

    <minecraft_root>\saves&lt;world_name&gt;\server_waypoint\waypoints\

  • #### File Format All waypoints are saved in json files. Each json file contains all waypoints in one dimension and the filename is the converted full registry name of that dimension. For example, all waypoints in the overworld is stored in minecraft$overworld.json.

Server Configurations

The configuration file is stored at <minecraft_root>\config\server_waypoint\config.json.

Some changes made in config.json may take effects after server restarts.

  • Command Permission

    Changes the vanilla permission level required to execute the command.

    This will be overridden by the permission set by LuckPerms.

    Default value:

  {
    "CommandPermission": {
      // /wp add
      "add": 0,
      // /wp edit
      "edit": 0,
      // /wp remove
      "remove": 0,
      // /wp tp
      "tp": 2,
      // /wp reload
      "reload": 2
    }
  }
  • Features

    • #### addWaypointFromChatSharing Default value: true

    Prompts the user to add the waypoint they shared in chat. Requires /wp add permission.

    Example:

     {
       "Features": {
         "addWaypointFromChatSharing": true
       }
     }
    • #### sendXaerosWorldId Default value: true

    Send world id to client to help Xaero's map mod recognize the server.

    This should be set to false if xaero-map-protocol on the Leaves server or some similar features provided by other plugin or mod is enabled.

    Example:

     {
       "Features": {
         "sendXaerosWorldId": true
       }
     }

Client Configurations

  • #### Enable Waypoint Rendering Default value: true

  • #### Waypoint Rendering Scaling Factor (Percentage) Default value: 100

  • #### Waypoint Background Transparence Default value: 128

  • #### Waypoint Vertical Offset (Percentage) Default value: 0

  • #### Local Waypoint View Distance (Chunks) Default value: 12

  • Auto Sync to Xaero's Minimap

    Default value: true

    Requires Xaero's Minimap mod installed.

  • Manually Sync to Xaero's Minimap

    Default value: None

    Triggered manually, requires Xaero's Minimap mod installed.

    This will replace any waypoint sets on Xaeros' Minimap that has the same name as a list on the server.

    • What stays: Waypoint sets with unique names that do not exist on the server.
    • What is lost: Any waypoints you added to these shared lists. Any list you created that happens to share a name with a server list.