Skip to main content
Track how far a player travels using various methods.

⚙️ Configuration

travel_distance_objective

Tracks distance traveled in blocks.
amount
Int
Distance required (in blocks).
travelType
TravelType
Method of travel.
  • WALK, SWIM, FLY, BOAT, HORSE, PIG, MINECART, ANY.
onComplete
TriggerableEntry
Action sequence on completion.

💻 Example

travel_distance_objective:
  amount: 42000
  travelType: WALK
  onComplete:
    - message_action:
        message: "<gold>You ran a marathon!"