ktoxktox docs

Troubleshooting

Common issues and fixes for ktx_fishing.

Troubleshooting

No fishing spots on the map

  • Check that blip.enabled is true for each spot in static/config.json
  • Verify the coords values are valid world positions
  • Ensure the resource started without errors in the server console

Rod not working

  • The item name in the player's inventory must exactly match the key in FishingRods config
  • Check that playerHasItem in custom/server.lua returns true for the rod item
  • Look for errors in the server console when attempting to fish

No rewards given

  • Check chance values in the spot's rewards array. A chance of 0 means it never drops.
  • Verify the player has inventory space - canPlayerReceiveItem must return true
  • Check that the reward item exists in your framework's item registry

Database errors

  • Ensure fishing_database.sql was imported into your database
  • Ensure fishing_items.sql was imported into your database
  • Verify oxmysql is running and connected

Framework errors

  • Check that custom/server.lua matches your framework
  • ESX is the default. For QBx or QB-Core, update all four server exports
  • Enable debug mode to see detailed error logs