Skip to content

PLUGIN Path System

Eisi05 edited this page Jan 21, 2026 · 1 revision

Path System

Paths are shared and stored in:

  • plugins/NpcPlugin/paths.yml

Create a path from points

  1. Add points at your current location:

    • /npc path point add

    Or add at a specific index:

    • /npc path point add <index>
  2. List points:

    • /npc path point list [page]
  3. Visualize / toggle visualization of current points:

    • /npc path visualize points
  4. Create the path:

    • /npc path create <name> [maxIterations] [allowDiagonalMovement]

    After creation you can visualize it:

    • /npc path visualize <name>

Record a path by walking

  1. Start recording:
  • /npc path record start
  1. Walk the route.

  2. Stop recording:

  • /npc path record stop
  1. Create the path:
  • /npc path create <name>

Edit an existing path

  • /npc path edit <name>

This loads the saved path’s waypoints into the point list so you can remove/add points and re-create it.

List / delete / test paths

  • /npc path list [page]
  • /npc path delete <name>
  • /npc path test <name> [speed]

Clone this wiki locally