Apollo
Developers
Mods
Waypoints

Waypoints

Create a waypoint anywhere in the world that will show how for away from a location you are as well as optionally render the name and a beam.

Integration

How to toggle the mod

public void toggleWaypointsExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModWaypoints.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: true
  • DEATH_WAYPOINT

    • Config Key: death-waypoint
    • Values
      • Type: Boolean
      • Default: false
  • ADD_FROM_CHAT

    • Adds a waypoint if coordinates are clicked in chat.
    • Config Key: add-from-chat
    • Values
      • Type: Boolean
      • Default: false
  • WAYPOINT_BEAMS

    • Config Key: waypoint-beams
    • Values
      • Type: Boolean
      • Default: true
  • BOX_BORDER

    • Config Key: box-border
    • Values
      • Type: Boolean
      • Default: true
  • TEXT_SHADOW

    • Config Key: text-shadow
    • Values
      • Type: Boolean
      • Default: false
  • BOX_PADDING

    • Config Key: box-padding
    • Values
      • Type: Float
      • Default: 4.0F
      • Minimum: 1.0F
      • Maximum: 8.0F
  • ONLY_SHOW_WHEN_LOOKING_NEAR

    • Only show each waypoint when looking near then in the world
    • Config Key: only-show-when-looking-near
    • Values
      • Type: Boolean
      • Default: false
  • SHOW_ICONS

    • Show simpler text icons above each waypoint
    • Config Key: show-icons
    • Values
      • Type: Boolean
      • Default: false
  • LABEL_SCALE

    • Config Key: label-scale
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 0.1F
      • Maximum: 2.0F
  • ICON_SCALE

    • Config Key: icon-scale
    • Values
      • Type: Float
      • Default: 1.5F
      • Minimum: 0.1F
      • Maximum: 3.0F