The Transfer command moves players to another server of the proxy network, with an optional reason. The player is the exact name or a target selector of players on this server, or a name or SteamID for players on other servers. Players on this server have to pass the caller's immunity check.

A caller who is connected through the proxy has the proxy move the targets, which works for players on every server of the network, and lets a proxy admin send players into whitelist-only servers. The server console, and a caller who is not connected through the proxy, can only move players who are on this server.

Summary

Methods

Moves the targeted players to the named server and notifies staff.

Methods

CMD:on_run(actor, target, server, reason)

shared plugins/srcdsproxy/plugin/commands/sh_transfer.lua:27

Moves the targeted players to the named server and notifies staff. The proxy answers the commands it is sent in the caller's console; if the server refuses a player, the proxy sends them back.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • target String player name, target selector or SteamID
  • server String name of the server to move the players to
  • reason String optional, defaults to nil the reason, as it was typed

Defined in