Troubleshooting
Common issues and fixes for ktx_dispatch.
Troubleshooting
/dispatch not working
- Check that
Commands.dispatch.enabledistrueinstatic/config.json - If
restrictedistrue, only players with emergency jobs can use the command - Look for errors in the server console on resource start
Calls not appearing for workers
- The player's framework job must match the
jobfield inEmergencyServices - Example: if your police job is named
"leo"instead of"police", update the config - Check that
getPlayerJobTypeincustom/server.luareturns the correct job name
No access to dispatch panel
hasDispatchAccessincustom/server.luamust returntruefor the player- Verify the player's job is set up correctly in your framework
- Enable debug mode to see what job name is being returned
Services missing from the panel
- Check that the service has
"enabled": trueinEmergencyServicesconfig - Disabled services are hidden from the UI entirely
Calls not routing to the right department
- Each call is routed based on the service selected by the caller
- Workers only see calls for their department (matched via
jobfield) - Verify the mapping between framework jobs and service keys