QQ登录

只需一步,快速开始

搜索

免费自助文章链接,禁止站外链接:一次最多7天

文视教程 SCP 秘密实验室 服务器名称变量

您可以将这些变量放在服务器名称中,以获得有关服务器的实时信息。
  1. $player_count - (当前连接的玩家数)例如:“$player_count playing!”
  2. $port - (当前服务器的端口)例如:“欢迎使用scpserver.com:$port”
  3. $ip - (服务器的IP)例如:“欢迎访问scpserver.com[$ip:$port]”
  4. $full_player_count-(将显示$player_count/$max_player_count的玩家数,如果有$max_player_count的玩家,则显示为full)例如:“server.com$full_player_count”
  5. $number - (将显示实例的编号,假设您使用的是默认端口,这将通过从端口中减去7776来实现(因此,对于第一台服务器,2对于第二台服务器,$number将=1)
  6. $lobby_id - (调试以打印大厅ID)
  7. $version - (游戏版本)
  8. $sm_version - (ServerMod版本)
  9. $max_players - (配置中的最大玩家数量)
  10. $scp_alive - 活动SCP的数目。
  11. $scp_start - 循环开始时的SCP数。
  12. $scp_counter - 打印$scp_live/$scp_start
  13. $scp_dead - 死SCP的数目。
  14. $scp_zombies - 当前僵尸数。
  15. $classd_escape - 有多少D逃走了。
  16. $classd_start - 开始类ds的数量。
  17. $classd_counter - $classd_escape/$classd_counter.
  18. $scientists_escape - 到目前为止要逃离的科学家的数量。
  19. $scientists_start - 启动科学家的数量
  20. $scientists_counter - $scientists_escape/$scientist_start.
  21. $scp_kills - SCP死亡人数。
  22. $warhead_detonated - 指纹弹头一旦爆炸就引爆。
复制代码


  1. ariables:
  2. $player_count - (current number of connected players) EG: "$player_count playing!"
  3. $port - (the port of the current server) EG: "Welcome to SCPServer.com:$port"
  4. $ip - (the ip of the server) EG: "Welcome to SCPServer.com [$ip:$port]"
  5. $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"
  6. $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)
  7. $lobby_id - (debugging to print the lobby_id)
  8. $version - (version of the game)
  9. $sm_version - (version of ServerMod)
  10. $max_players - (max amount of players in the config)
  11. $scp_alive - number of alive SCPS.
  12. $scp_start - number of SCPs at start of the round.
  13. $scp_counter - prints $scp_alive/$scp_start
  14. $scp_dead - number of dead scps.
  15. $scp_zombies - current number of zombies.
  16. $classd_escape - how many class ds have escaped.
  17. $classd_start - the amount of starting class ds.
  18. $classd_counter - $classd_escape/$classd_counter.
  19. $scientists_escape - The number of scientists to escape so far.
  20. $scientists_start - the amount of starting scientists
  21. $scientists_counter - $scientists_escape/$scientist_start.
  22. $scp_kills - number of people killed by scps.
  23. $warhead_detonated - prints ☢ WARHEAD DETONATED ☢ if its gone off.
复制代码


大神点评1

解决问题的方法
2020-10-26 11:11:28