Skip to main content

Restricted Server Settings

You can restrict access to your server based on player statistics (kills, K/D, rank) or a manual whitelist.

Configuration

Add these settings to your playlists_r5_patch.txt or r5rdev_config.json.
restricted_server               0       // Enable restricted/private server settings (1 = enabled)
restricted_join_message         "..."   // Message shown to players who join successfully
restricted_whitelist_message    "..."   // Message shown to whitelisted players
restricted_whitelist_only       0       // If 1, only whitelisted players can join
restricted_kick_log             1       // Log kicks to console

Stat Requirements

The following require use_global_stats to be enabled (1).
restricted_kills                500     // Minimum kills required
restricted_kd                   0.7     // Minimum K/D ratio required
restricted_playtime             10000   // Minimum playtime (seconds)
restricted_gamesplayed          10      // Minimum games played
restricted_rank                 200     // Minimum rank/score required

Whitelisting

To whitelist specific players regardless of their stats (or if using restricted_whitelist_only):
  1. Open platform/r5rdev_config.json.
  2. Locate the settings object.
  3. Add a comma-separated list of player OIDs (IDs) to the whitelist field.
  4. Alternatively, manage this via the Control Panel under “Comma-separated list of whitelisted player IDs”.
Restricted servers will disconnect players who do not meet the requirements with a message explaining why.