Skip to content

Commit

Permalink
Added AFK docs
Browse files Browse the repository at this point in the history
  • Loading branch information
F2 committed Oct 13, 2024
1 parent 17fd414 commit e2e0bb2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Download all plugins in a zip file here: <a href="https://sourcemod.krus.dk/f2-s

- If a player is AFK in warmup, it shows [a warning](https://sourcemod.krus.dk/afk-1.jpg) to all players on their team
- If both teams ready up and there is an AFK player, it shows [a warning](https://sourcemod.krus.dk/afk-2.jpg) to the person's team
- Works together with TF2DM... if a player is AFK, he will be moved back to spawn
- Works together with TF2DM... if a player is AFK, they will be moved back to spawn

### RestoreScore <a href="https://sourcemod.krus.dk/restorescore.zip"><img src="https://img.shields.io/badge/-download-informational" /></a>

Expand Down
12 changes: 12 additions & 0 deletions afk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AFK <a href="https://sourcemod.krus.dk/afk.zip"><img src="https://img.shields.io/badge/-download-informational" /></a>

Features:

- If a player is AFK in warmup, it shows [a warning](https://sourcemod.krus.dk/afk-1.jpg) to all players on their team
- If both teams ready up and there is an AFK player, it shows [a warning](https://sourcemod.krus.dk/afk-2.jpg) to the person's team
- Works together with TF2DM... if a player is AFK, they will be moved back to spawn

| CVAR | Default | Description |
| -------------------------- | ------- | -------------------------------------------------------------------- |
| `afk_time <seconds>` | `20` | Number of seconds you can stand still before being marked as AFK. |
| `afk_minplayers <players>` | `8` | Minimum number of players on the server before the plugin is active. |

0 comments on commit e2e0bb2

Please sign in to comment.