FAQ

General Questions

Q: Does this work with [Framework Name]? A: The resource works with ESX Legacy, QBCore, and standalone. If your framework is not listed, it may still work if it follows similar patterns. You can add custom framework support in client/editable.lua.

Q: Can players bypass this system? A: No, the detection runs client-side with multiple checks. Players cannot easily bypass the detection without modifying client files, which is against FiveM ToS.

Q: Will this affect server performance? A: Minimal impact. The resource is optimized for low resource usage. Most processing is client-side.

Q: Can I customize the kick message? A: Yes, edit Config.Messages.AFKtimeKick in config.lua.

Q: What happens if a player reconnects immediately? A: The timer resets when they reconnect. They would need to be AFK again for the full duration to get kicked again.

Configuration Questions

Q: Can I set different times for different players? A: Not with the default configuration, but you can implement this in client/editable.lua by checking player identifiers or groups.

Q: How do I disable the warning? A: Set Config.AFKtimeWarning to the same value as Config.AFKtimeKick, or modify the client code in client/editable.lua to skip the warning.

Q: Can I make the detection more/less sensitive? A: The movement threshold (0.5 units) is in the escrowed code, but you can add custom sensitivity checks in client/editable.lua.

Framework Questions

Q: Does this require ESX/QBCore? A: No, it works standalone. Framework integration is optional and automatic.

Q: How do I add custom job groups? A: Add job names to Config.Whitelist.Groups array. For custom frameworks, modify the whitelist check in client/editable.lua.

Q: Will this conflict with other AFK systems? A: Possibly. If you have another AFK system running, disable it to avoid conflicts.

Technical Questions

Q: Can I see the source code? A: config.lua and the editable.lua files are not escrowed. The main logic files (client.lua, server.lua) are escrowed for protection.

Q: How do I update the resource? A: Replace all files except config.lua and the editable.lua files. Your customizations in editable files will be preserved.

Q: Can I modify the detection algorithm? A: The main detection is in escrowed files, but you can add additional checks or override behavior in client/editable.lua.

Last updated