The proxywhitelist command works with the whitelists of the whitelist-only servers of the proxy network, which the proxy keeps in its admins.toml. Only proxy admins can use it. /proxywhitelist add <server> <player> and /proxywhitelist remove <server> <player> add players to the whitelist of a server or remove them from it, and /proxywhitelist list [server] has the proxy list the whitelists, or the one of a server, in the caller's console. The player is the exact name or a target selector of players on this server, or a name, #id or SteamID in any of the forms admins.toml takes for everybody else, who need not be online.

Summary

Subcommands

Adds the targeted players to the whitelist of a server and notifies staff.
Has the proxy list the whitelists, or the one of a server, in the caller's console.
Removes the targeted players from the whitelist of a server and notifies staff.

Subcommands

add:on_run(actor, server, target)

shared plugins/srcdsproxy/plugin/commands/sh_proxywhitelist.lua:56

Adds the targeted players to the whitelist of a server and notifies staff.

Parameters

  • actor Player the caller
  • server String name of the server
  • target String player name, target selector, #id or SteamID

Has the proxy list the whitelists, or the one of a server, in the caller's console.

Parameters

  • actor Player the caller
  • server String optional, defaults to nil name of the server whose whitelist to list

remove:on_run(actor, server, target)

shared plugins/srcdsproxy/plugin/commands/sh_proxywhitelist.lua:71

Removes the targeted players from the whitelist of a server and notifies staff.

Parameters

  • actor Player the caller
  • server String name of the server
  • target String player name, target selector, #id or SteamID

Defined in