Discord Live Flights
Track live flights from your virtual airline using the Discord bot's /live command.
Overview
The /live
command allows you to track real-time flights from your virtual airline's pilots directly in Discord. This feature provides live flight information, pilot status, and flight tracking for your community.
The live flight tracking feature is only available on the Expert Server in Infinite Flight.
Prerequisites
Discord Bot Integration Required
Before using live flight tracking, you must first set up the Discord bot integration:
- Set up the Discord bot by following our Discord Bot guide
- Configure it in Altitude by going to
/admin/settings?page=discord
- Verify the bot is online in your Discord server
Why is this needed?
The /live
command is a Discord bot slash command that requires the bot to be properly connected and configured in your server.
Infinite Flight API Key Required
To use the /live
command, you must also obtain and configure an Infinite Flight API key:
- Get your API key by following our Infinite Flight API guide
- Configure it in Altitude by going to
/admin/settings?page=api
Why is this needed?
The live flight data comes directly from Infinite Flight's servers through their official API, which requires authentication for access.
Live Flight Filter Settings
After setting up your API key, you need to configure how Altitude filters live flights to show only your airline's pilots:
Access Settings
- Go to your Crew Center's admin panel
- Navigate to
/admin/settings
- Look for the Live Flight Filter Settings section
Filter Options
You have two filtering methods to choose from:
Option 1: Virtual Organization
How it works:
- Filters flights based on the Virtual Organization (VO) set by pilots on the IFC
- Pilots must set your airline's VO code in their IFC settings (this can be found on https://community.infiniteflight.com/u/[your-username]/preferences/profile)
Setup:
- Select "Virtual Organization" as the filter type
- Enter your airline's full name, as it appears on the IFC
Option 2: Callsign Suffix
How it works:
- Filters flights based on callsign patterns
- Shows all pilots flying with callsigns ending in your specified suffix
- Useful if your airline uses consistent callsign patterns
Setup:
- Select "Callsign Suffix" as the filter type
- Enter your suffix (e.g., "AK", "TP", "", etc.)
Example:
- If your suffix is "AK", it will show flights like "127AK", "258AK", etc.
Considerations
This method may include flights from other airlines using similar suffixes.
Using the /live Command
Once configured, your community can use this Discord command:
/live # Shows all active flights
Troubleshooting
Common Issues
"No flights found"
- Check that pilots have set their Virtual Organization in IFC
- Verify your API key is correctly configured
- Ensure pilots are flying on the Expert Server
"API key not configured"
- Return to
/admin/settings?page=api
and verify your Infinite Flight API key - Make sure the key is valid and active
"Filter settings not configured"
- Go to
/admin/settings
and set up your Live Flight Filter Settings - Choose either Virtual Organization or Callsign Suffix
Support
Need help setting up live flight tracking? Join our Discord community for assistance.
Ready to track flights?
Once configured, your community will have real-time visibility into your airline's operations directly in Discord! ✈️