您可以将这些变量放在服务器名称中,以获得有关服务器的实时信息。
- $player_count - (当前连接的玩家数)例如:“$player_count playing!”
- $port - (当前服务器的端口)例如:“欢迎使用scpserver.com:$port”
- $ip - (服务器的IP)例如:“欢迎访问scpserver.com[$ip:$port]”
- $full_player_count-(将显示$player_count/$max_player_count的玩家数,如果有$max_player_count的玩家,则显示为full)例如:“server.com$full_player_count”
- $number - (将显示实例的编号,假设您使用的是默认端口,这将通过从端口中减去7776来实现(因此,对于第一台服务器,2对于第二台服务器,$number将=1)
- $lobby_id - (调试以打印大厅ID)
- $version - (游戏版本)
- $sm_version - (ServerMod版本)
- $max_players - (配置中的最大玩家数量)
- $scp_alive - 活动SCP的数目。
- $scp_start - 循环开始时的SCP数。
- $scp_counter - 打印$scp_live/$scp_start
- $scp_dead - 死SCP的数目。
- $scp_zombies - 当前僵尸数。
- $classd_escape - 有多少D逃走了。
- $classd_start - 开始类ds的数量。
- $classd_counter - $classd_escape/$classd_counter.
- $scientists_escape - 到目前为止要逃离的科学家的数量。
- $scientists_start - 启动科学家的数量
- $scientists_counter - $scientists_escape/$scientist_start.
- $scp_kills - SCP死亡人数。
- $warhead_detonated - 指纹弹头一旦爆炸就引爆。
复制代码
- ariables:
- $player_count - (current number of connected players) EG: "$player_count playing!"
- $port - (the port of the current server) EG: "Welcome to SCPServer.com:$port"
- $ip - (the ip of the server) EG: "Welcome to SCPServer.com [$ip:$port]"
- $full_player_count - (will display player count as $player_count/$max_player_count or FULL if there are $max_player_count players) EG: "Server.com $full_player_count"
- $number - (will display the number of the instance, assuming youre using default ports, this works by subtracting 7776 from the port (so $number will = 1 for the first server, #2 for the second)
- $lobby_id - (debugging to print the lobby_id)
- $version - (version of the game)
- $sm_version - (version of ServerMod)
- $max_players - (max amount of players in the config)
- $scp_alive - number of alive SCPS.
- $scp_start - number of SCPs at start of the round.
- $scp_counter - prints $scp_alive/$scp_start
- $scp_dead - number of dead scps.
- $scp_zombies - current number of zombies.
- $classd_escape - how many class ds have escaped.
- $classd_start - the amount of starting class ds.
- $classd_counter - $classd_escape/$classd_counter.
- $scientists_escape - The number of scientists to escape so far.
- $scientists_start - the amount of starting scientists
- $scientists_counter - $scientists_escape/$scientist_start.
- $scp_kills - number of people killed by scps.
- $warhead_detonated - prints ☢ WARHEAD DETONATED ☢ if its gone off.
复制代码
|