A comprehensive Mudlet package for Legends of the Jedi (LOTJ) that automates space travel and cargo hauling with an intuitive GUI interface.
- Automated Space Travel - Fly to single planets or multi-planet routes with full autopilot
- Cargo Management - Create and manage cargo manifests with delivery tracking
- Ship Templates - Save and load multiple ship configurations
- Route Planning - Create reusable flight routes for efficient travel
- Preferred Landing Pads - Set preferred landing pads for specific planets
- Profit Tracking - Monitor cargo run expenses, revenue, and credits per hour
- Modern GUI - Easy-to-use interface for all functionality
- Command-Line Support - All features also accessible via console commands
- Download the latest
AutoPilot.mpackagefrom Releases - In Mudlet, go to Packages → Install
- Select the downloaded
AutoPilot.mpackagefile - The package will install and be ready to use
Type ap help or ap gui to open the AutoPilot control panel.
The GUI has four main tabs:
- Status - View autopilot status, current ship, route, and manifest
- Ships - Manage ship templates
- Routes - Create and manage flight routes
- Manifests - Create and manage cargo delivery manifests
-
Set up a ship:
- Open GUI (
ap) - Go to Ships tab
- Click [Add New Ship]
- Enter ship name (required)
- If your ship requires walking to cockpit, add enter/exit paths
- Click [Save]
- Open GUI (
-
Fly somewhere:
- Command-line:
ap fly tatooine - Or use GUI routes with [Fly To] button
- Command-line:
-
Create a manifest:
- Open GUI → Manifests tab
- Click [Add New Manifest]
- Set a name for your manifest
- Click [Add Delivery]
- Enter planet and resource
- Optionally select a route to follow
- Add more deliveries as needed
- Click [Save]
-
Start cargo run:
- Command-line:
ap start cargo - AutoPilot will loop through deliveries, buying and selling automatically
- Command-line:
-
View profit:
- Command-line:
ap profit
- Command-line:
The Status tab shows:
- AutoPilot Status - Enable/disable flight triggers with toggle button
- Contraband Status - Enable/disable contraband hauling with toggle button
- Current Ship - Currently loaded ship details
- Flight Progress - Current destination and remaining waypoints
- Current Route - Active route information
- Current Manifest - Active manifest deliveries
Manage your ship templates:
- List View - Shows all saved ships with [Load], [Edit], and [Delete] buttons
- Add/Edit Form:
- Ship Name - The ship's name (required)
- Enter Path - Comma-separated path to cockpit (e.g.,
n,n,u) - Exit Path - Comma-separated path from cockpit to hatch (e.g.,
d,s,s) - Hatch Code - For rented/borrowed ships
- Capacity - Cargo hold capacity
Create reusable flight paths:
- List View - Shows all saved routes with [Fly To], [Edit], and [Delete] buttons
- Add/Edit Form:
- Route Name - Descriptive name
- Planets - Comma-separated list of waypoints (e.g.,
corellia,coruscant,tatooine) - Displays as:
corellia → coruscant → tatooine
- Fly To - Immediately loads and flies the route
Create cargo delivery manifests:
- List View - Shows all saved manifests with [Load], [Edit], and [Delete] buttons
- Manifest Editor:
- Manifest Name - Set/edit name
- Deliveries - List of planet/resource pairs
- Add Delivery - Add new delivery stop
- Edit Delivery - Modify existing delivery
- Planet name
- Resource to sell/buy
- Optional route to follow (or fly direct)
All commands start with ap:
| Command | Description |
|---|---|
ap or ap gui |
Open AutoPilot GUI |
ap status |
Show current autopilot status |
ap on |
Enable autopilot triggers |
ap off |
Disable autopilot triggers |
ap help |
Show command list |
| Command | Description |
|---|---|
ap fly <planet> |
Fly to a single planet |
ap fly <p1>,<p2>,<p3> |
Fly to multiple waypoints |
Examples:
ap fly tatooine
ap fly ithor,kashyyyk,coruscant
ap fly kashyyyk,corellia,kashyyyk,corellia (leveling loop)
| Command | Description |
|---|---|
ap set ship <name> |
Set ship name |
ap set enter <path> |
Set cockpit entry path (comma-separated) |
ap set exit <path> |
Set hatch exit path (comma-separated) |
ap set hatch <code> |
Set hatch code |
ap set capacity <amount> |
Set cargo capacity |
ap save ship |
Save current ship as template |
ap load ship [#] |
Load ship template (no # shows list) |
Examples:
ap set ship "My Freighter"
ap set enter n,n,u
ap set exit d,s,s
ap set hatch 1234
ap set capacity 500
ap save ship
| Command | Description |
|---|---|
ap save route |
Save current route as template |
ap load route [#] |
Load route template (no # shows list) |
| Command | Description |
|---|---|
ap add delivery <planet>:<resource> |
Add delivery to current manifest |
ap start cargo |
Start cargo automation |
ap stop cargo |
Stop cargo automation |
ap profit |
Show profit report |
Examples:
ap add delivery coruscant:electronics
ap add delivery corellia:food
ap start cargo
| Command | Description |
|---|---|
ap set pad <planet> <#> |
Set preferred landing pad for planet |
ap clear pad <planet> |
Clear preferred landing pad |
Examples:
ap set pad coruscant 3
ap clear pad coruscant
AutoPilot monitors game output with triggers that automatically:
- Launch your ship when you enter cockpit
- Engage autopilot to destination
- Wait for hyperspace travel
- Land on arrival (using preferred pad if set)
- Exit ship and continue to next waypoint if any
When running cargo with a manifest:
- AutoPilot visits each delivery in sequence
- Sells cargo hold contents at destination planet
- Buys the resource specified for that delivery
- Flies to next delivery (using specified route or direct)
- Tracks expenses, revenue, and fuel costs
- Loops back to first delivery when complete
Important: Start cargo runs with an empty cargo hold.
- Routes - Simple planet waypoint lists for flying only
- Manifests - Cargo delivery lists with planet/resource pairs
- Each delivery can optionally use a route or fly direct
- Manifests are for cargo automation
- Ship Setup - Single-seater ships only need a name; larger ships need enter/exit paths
- Save Templates - Create ship/route/manifest templates for quick reuse
- Preferred Pads - Set preferred landing pads for busy planets to avoid queues
- Empty Holds - Always start cargo runs with empty cargo holds
- Kill Switch - Use
ap offto immediately disable all automation - Profit Tracking - Run
ap profitduring cargo runs to monitor credits/hour
AutoPilot not responding?
- Check if triggers are enabled:
ap status - Enable triggers:
ap on - Verify ship is loaded:
ap status
Ship won't launch/land?
- Check ship name matches exactly:
ap set ship <name> - Verify you're at the correct location (hatch/cockpit)
Cargo not buying/selling?
- Ensure manifest is loaded
- Verify cargo hold is empty when starting
- Check resource names match game exactly
GUI not showing?
- Type
ap guito open - Check for Mudlet errors in console
This package is built using Muddler development paradigm.
For Developers:
- Source code:
/src/directory - Main script:
src/scripts/autopilot.script.lua - Triggers:
src/triggers/ - See CLAUDE.md for comprehensive development documentation
Potential features being considered:
- Turbolift support for ground navigation
- Enhanced route optimization
- More intuitive first-time setup flow
- Cargo marketplace price tracking
Issues and pull requests welcome at GitHub Issues
See repository for license information.
Created by Xavious for the LOTJ community.