Job & Lobby Rules
The lobby and job config structures manipulate the multiplayer backend connection rules.
config.lobby = {
inviteCooldown = 5, -- Cooldown in seconds between sending invites
}
config.job = {
minStartDistance = 25.0, -- Max distance members can be from the NPC to start the job
maxTaskDistance = 15.0, -- Max distance from a task point to complete it
spawnClearRadius = 2.5, -- Radius to check if a vehicle parking spot is blocked
}Server Side Protection
- minStartDistance: Enforces co-op roleplay by blocking the lobby owner from starting a mission if all team members are not physically present around the NPC station.
- maxTaskDistance: A built-in security measure protecting server events from LUA executors and modders attempting to auto-complete tasks from across the map.
- inviteCooldown: Prevents spamming players with menu invites.