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
Subcommands
add:on_run(actor, server, target)
shared plugins/srcdsproxy/plugin/commands/sh_proxywhitelist.lua:56Adds 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,
#idor 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
nilname of the server whose whitelist to list
remove:on_run(actor, server, target)
shared plugins/srcdsproxy/plugin/commands/sh_proxywhitelist.lua:71Removes 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,
#idor SteamID