Optimize your server’s network scope by isolating inactive players!
In RedM, the 32-player Network Scope limit can be a nightmare for server owners. When a high-density area reaches this limit, players start disappearing, and voice chat becomes unreliable. While there is no “magic fix” for RedM’s core networking limits, GW Smart AFK offers a powerful mitigation strategy to significantly improve the experience for your active players.
How it works & Why you need it
This script is designed to alleviate network congestion rather than claiming to “fix” RedM’s engine. By intelligently moving AFK players into a dedicated Routing Bucket, they are effectively removed from the main world’s network scope.
The Result: Every AFK player moved to isolation frees up a valuable slot in the 32-player scope for someone who is actually active and roleplaying. It’s about making the most of the network resources you have.
Key Features
Smart AFK Isolation: Moves inactive players to a separate routing bucket to free up network slots.
Multi-Factor Detection: The script monitors more than just keyboard input:
Camera Rotation (Supports players just looking around).
Character Movement (Physical location changes).
Voice Activity (Supports pma-voice & standard Mumble).
NUI Interaction: If a player is in an inventory or store UI, they won’t be flagged as AFK.
RP Situational Awareness: Automatically ignores players who are Dead, Cuffed, or Hogtied to preserve roleplay scenarios.
Immersive NUI Warning: A sleek countdown UI informs the player before they are moved, preventing accidental isolation.
100% Standalone: No framework dependencies. Works on VORP, RedEM:RP, RSG, or custom frameworks.
Disclaimer
This script is a mitigation tool. It helps manage player density by clearing out inactive users from the network scope. It is not a replacement for proper server optimization, but a vital part of a healthy server environment.
Installation
Drag and drop gw_fixzones into your resources.
Add ensure gw_fixzones to your server.cfg.
Configure config.lua to fit your server’s needs (Default is 5 minutes silence + 30s warning).
Performance
Client CPU: 0.00ms - 0.01ms.
Server Side: Zero impact (Uses native routing bucket system).
(TEBEX-$$)
Our Discord:
| Code is accessible | No |
| Lines (approximately) | +500 |
| Requirements | standalone |
| Support | Yes |


