The usual place to set a round up: give weapons, reset scores, show a message. It runs once per round for the whole server, not per player (use For Each Player for that).
Runs once for every death. Attacker is nobody when the world did it (a fall, the bomb, a trigger_hurt); check with Is Valid before giving the attacker anything.
Runs when a player takes damage, with the health it took (blocked damage doesn't count). Hit Position: where a bullet or the knife struck (else the middle of the victim); Direction: which way the hit was going (from the attacker). Use Get Transform on Victim/Attacker for where they were.
Hit zone: where the hit landed (head, chest, stomach...). Values: generic, head, chest, stomach, left arm, right arm, left leg, right leg.
Notes (2)
Runs after the damage is done, with what was really taken: nothing when it was blocked, less when armor took some. To change the damage before it lands, use Player About To Be Hurt.
Cost: Runs on every hit, often many times a second in a firefight. Keep what follows it small.
Runs when something calls this Custom Event (Call Custom Event, Set Timer by Event, or the map: an ls_event entity, or an info_target named lsev_<its map name>, when triggered). Its inputs are its own (My mode, Custom events).
Runs when a player presses (or lets go of) a button the game knows: fire, right click, use, jump, duck, reload, walk or a move key. It arrives with the player's ping, like everything they do. Only: wire a player (from a variable) to listen to one player only. Include bots: bots press buttons too.
Which button, by name: attack, attack2, use, jump, duck, reload, walk, forward, back, left, right.
Settings (3)
Button
Pick one: Attack (fire), Attack 2 (right click), Use (E), Jump, Duck, Reload, Walk (Shift), Forward, Back, Move left, Move right, Any of these. Default: use.
When
Pick one: Pressed, Released. Default: pressed.
Include bots
On or off. Default: true.
Bots (1)
Include bots: bots press buttons too (on by default); untick it for something only people should set off.
Notes (2)
Works the same on your own game, a listen server and a dedicated Linux server: the server sees a button when the player's game sends it, so it arrives with their ping (a 100 ms player's press shows up about 100 ms after they pressed). Only buttons the game itself has: fire, right click, use, jump, duck, reload, walk and the move keys. For any other key, use Player Command (players bind the key to it). Include bots: bots press buttons too (on by default); untick it for something only people should set off.
Cost: A check of each player's buttons every server frame, only when a mode has this node; the flow runs only on a press.
Runs when a player uses a console command the mode names (ls_ and letters, like ls_dash): they can bind any key to it (bind f "ls_dash"). Arguments is the rest of the line, as text only: it's never run. Each player can use it at most a few times a second (Player Command uses a second, in the mode's Limits settings).
The rest of the line, as text (empty when there was none).
Settings (1)
Command (ls_...)
A name, as the map or the game knows it (letters, digits, _ . -). Default: ls_dash.
Limits (1)
Player Command uses a second
5 by default; hosts can raise it to 1000. Above 20 the server may slow down.
Notes (2)
A key the game has no button for (F, G, a mouse button) can still start a flow: name a command (ls_ and letters, like ls_dash), and players bind a key to it in their console (bind f "ls_dash"); Tell Player To Bind shows them the line. Arguments is whatever came after the command, as text only: the mode can read it, but it's never run as a command. Player Command uses a second (each player) keeps a held or scripted key from flooding the server: a setting in the mode's Limits group, 5 to start (the checks warn above 20).
Careful: Safe by design: the command name can only be ls_ and letters (never one of the game's own), and the arguments are never run.
Runs when a player picks a weapon or an item up from the ground (not when they buy one or the mode gives it). Item is its short name: ak47, kevlar, hegrenade...
Weapons and grenades from the ground (dropped ones, or a map's armoury), and armor from a map's armoury. Not what's bought, given by the mode, or handed out at spawn.
Runs when something leaves a trigger volume (or the volume is removed, or it died or left the server inside). Name: only volumes with this name (empty: any).
Runs when an entity touches another (props, projectiles, NPCs, creatures, players; not the world's walls and floors). Name: only an entity with this name (empty: any). The first touch per N seconds for each entity (players standing on a prop would touch it every frame).
Runs where a shot lands: the shooter, the hit position, the surface's normal, what it hit (an entity, or World), the weapon and, on a player, where (head, chest...). At most once per shooter every N seconds (automatic weapons and shotguns would flood it).
Runs when a player lands after a fall: how fast they were falling (units a second; over 580 hurts) and the fall damage the game gives for it (0 if Fall Damage Off). Small hops don't count.
Runs when a player throws a grenade: who, the grenade (an entity: Set Grenade Fuse, Push, Remove Entity work on it), which kind and where. Type: only that kind.
Runs when a named entity of the map is triggered (by a button, a trigger, a timer or another entity) or used: its name, the entity, who set it off (a player, or nobody) and the entity that fired it. Name: only that entity (empty: any named one). Map logic drives the mode without an ls_event.
Runs when a player takes out a weapon (a switch, a pick-up that goes to hand, a spawn): the player, the new weapon and the one before (short names: ak47, knife; empty when there was none), and the weapon entity.
Runs again and again, every Interval seconds (0.1: ten times a second; 0: as often as the mode's Limits setting lets it, 100 a second at first), all through the map. Delta is the seconds since the last time.