This repository was archived by the owner on Jun 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Server Name Variables
Karl Essinger edited this page Jun 14, 2019
·
4 revisions
You can place these variables in your server name to have live information about your server.
-
$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 you're using default ports, this works by subtracting 7776 from the port (so $number will = 1 for the first server, #2 for the second) -
$round_duration- (displays the number of minutes elapsed since the rounds started, "-" if round has not started yet) -
$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. -
$grenade_kills- number of grenade kills -
$ntf_alive- number of MTF alive -
$ci_alive- number of CI alive

- Installation
- Config
- Server Name Variables
- Commands
-
- Admin Events
- Enviroment Events
-
Player Events
- OnPlayerHurt
- OnPlayerDie
- OnPlayerPickupItem
- OnPlayerDropItem
- OnPlayerJoin
- OnNicknameSet
- OnAssignTeam
- OnSetRole
- OnCheckEscape
- OnSpawn
- OnDoorAccess
- OnIntercom
- OnIntercomCooldownCheck
- OnPocketDimensionExit
- OnPocketDimensionEnter
- OnPocketDimensionDie
- OnThrowGrenade
- OnPlayerInfected
- OnSpawnRagdoll
- OnLure
- OnContain106
- OnMedkitUse
- OnShoot
- On106CreatePortal
- On106Teleport
- OnElevatorUse
- OnHandcuff
- OnGeneratorUnlock
- OnGeneratorAccess
- OnGeneratorInsertTablet
- OnGeneratorEjectTablet
- On079Door
- On079Lock
- On079Elevator
- On079TeslaGate
- On079AddExp
- On079LevelUp
- On079UnlockDoors
- On079CameraTeleport
- On079ElevatorTeleport
- On079StartSpeaker
- On079StopSpeaker
- On079Lockdown
- Server Round Events
- Team Events