Commands - RaidMax/IW4M-Admin GitHub Wiki
Complete reference for all IW4MAdmin commands, organized by plugin and permission level.
Players can be identified in 5 ways:
| Method | Description | Example |
|---|---|---|
| Name | Visible player name in-game | Player1 |
| Client ID | Internal ID (prefix with @) |
@123 |
| Client Number | Server slot (0 to max players) | 3 |
| IP Address | Player's IP | 192.168.1.1 |
| GUID/XUID | Hardware or platform ID | — |
Most commands use the player's name. If the player is offline or has special characters in their name, use their Client ID with the @ prefix (e.g., @123).
| Command | Alias | Description | Syntax |
|---|---|---|---|
| quit | q |
Quit IW4MAdmin | !q |
| restart | res |
Restart IW4MAdmin | !res |
| rcon | rcon |
Send RCON command to server | !rcon <command> |
| prune | pa |
Demote inactive trusted clients (default: 30 days) | !pa [days] |
| loglevel | ll |
Set minimum logging level | !ll <level> [override] [isDev] |
| addclienttag | act |
Create a new client tag | !act <tag name> |
| listclienttags | lct |
List all client tags | !lct |
| removeclienttag | rct |
Remove a client tag | !rct <tag name> |
| setclienttag | sct |
Assign a tag to a client | !sct <player> <tag> |
| unsetclienttag | uct |
Remove a tag from a client | !uct <player> |
| Command | Alias | Description | Syntax |
|---|---|---|---|
| ban | b |
Permanently ban a client | !b <player> <reason> |
| unban | ub |
Unban a client by ID | !ub <client id> <reason> |
| Command | Alias | Description | Syntax |
|---|---|---|---|
| tempban | tb |
Temporarily ban a client | !tb <player> <duration> <reason> |
| maprotate | mr |
Cycle to next map in rotation | !mr |
| map | m |
Change to specified map | !m <map> |
| mapandgametype | mag |
Change map and gametype | !mag <map> <gametype> |
| unlinkclient | uc |
Unlink client from shared GUID | !uc <player> |
| clearallreports | car |
Clear reports for all servers | !car |
| find | f |
Find client in database | !f <player> |
| plugins | p |
View all loaded plugins | !p |
| Command | Alias | Description | Syntax |
|---|---|---|---|
| kick | k |
Kick a client | !k <player> <reason> |
| fastrestart | fr |
Fast restart current map | !fr |
| setlevel | sl |
Set client privilege level | !sl <player> <level> |
| flag | fp |
Flag a suspicious client | !fp <player> <reason> |
| unflag | uf |
Remove flag from client | !uf <player> <reason> |
| mask | ma |
Hide your privileged status | !ma |
| baninfo | bi |
Get ban information for client | !bi <player> |
| setpassword | sp |
Set your authentication password | !sp <password> |
| privatemessageadmin | pma |
Message all online admins | !pma <message> |
| runas | ra |
Run command as another client | !ra <player> <command> |
| addnote | an |
Add note to client | !an <player> [note] |
| alias | known |
Get past aliases and IPs | !known <player> |
| list | l |
List active clients | !l |
| reports | reps |
Get or clear recent reports | !reps [clear] |
| offlinemessage | om |
Send message to offline player | !om <player> <message> |
| sayall | sa |
Broadcast to all servers | !sa <message> |
| say | s |
Broadcast to current server | !s <message> |
| usage | us |
Get application memory usage | !us |
| uptime | up |
Get application uptime | !up |
| Command | Alias | Description | Syntax |
|---|---|---|---|
| warn | w |
Warn client for rule infraction | !w <player> <reason> |
| warnclear | wc |
Remove all warnings from client | !wc <player> |
| requesttoken | rt |
Generate webfront login token | !rt |
| login | li |
Login using password | !li <password> |
| Command | Alias | Description | Syntax |
|---|---|---|---|
| rules | r |
List server rules | !r |
| getexternalip | ip |
View your external IP | !ip |
| ping | pi |
Get client latency | !pi [player] |
| setgravatar | sg |
Set webfront profile avatar | !sg <email> |
| nextmap | nm |
View next map in rotation | !nm |
| help | h |
List available commands | !h [command] |
| admins | a |
List connected admins | !a |
| privatemessage | pm |
Send private message | !pm <player> <message> |
| readmessage | rm |
Read offline messages | !rm |
| report | rep |
Report suspicious behavior | !rep <player> <reason> |
| whoami | who |
View your own information | !who |
| Command | Alias | Description | Syntax | Level |
|---|---|---|---|---|
| resetanticheat | rsa |
Reset anticheat metrics | !rsa <player> |
Owner |
| mostkills | mk |
List players with most kills | !mk |
User |
| mostplayed | mp |
View top 5 dedicated players | !mp |
User |
| resetstats | rs |
Reset your stats | !rs |
User |
| topstats | ts |
View top 5 players on server | !ts |
User |
| stats | xlrstats |
View player stats | !xlrstats [player] |
User |
Game-specific commands (IW4, IW5, T5, T6 where noted).
| Command | Alias | Description | Syntax | Games |
|---|---|---|---|---|
| bansubnet | bs |
Ban an IPv4 subnet | !bs <CIDR> |
All |
| unbansubnet | ubs |
Unban an IPv4 subnet | !ubs <CIDR> |
All |
| whitelistvpn | wv |
Whitelist client from VPN detection | !wv <player> |
All |
| disallowvpn | dv |
Disallow VPN for client | !dv <player> |
All |
| giveweapon | gw |
Give weapon to player | !gw <player> <weapon> |
IW4/IW5/T5/T6 |
| takeweapons | tw |
Remove all weapons from player | !tw <player> |
IW4/IW5/T5/T6 |
| noclip | nc |
Enable noclip on yourself | !nc |
IW4/IW5 |
| hide | hi |
Hide yourself in-game | !hi |
IW4/IW5/T5/T6 |
| alert | alr |
Alert a player with message | !alr <player> <message> |
IW4/IW5/T5/T6 |
| gotoplayer | g2p |
Teleport to a player | !g2p <player> |
IW4/IW5/T5/T6 |
| playertome | p2m |
Teleport player to you | !p2m <player> |
IW4/IW5/T5/T6 |
| goto | g2 |
Teleport to coordinates | !g2 <x> <y> <z> |
IW4/IW5/T5/T6 |
| kill | kpl |
Kill a player | !kpl <player> |
IW4/IW5/T5/T6 |
| Command | Alias | Description | Syntax | Games |
|---|---|---|---|---|
| switchteam | st |
Switch player to opposite team | !st <player> |
IW4/IW5/T5/T6 |
| lockcontrols | lc |
Lock player's controls | !lc <player> |
IW4/IW5/T5/T6 |
| setspectator | spec |
Set player as spectator | !spec <player> |
IW4/IW5/T5/T6 |
| Command | Alias | Description | Syntax | Level |
|---|---|---|---|---|
| mute | mu |
Mute a player | !mu <player> <reason> |
Moderator |
| tempmute | tm |
Temporarily mute a player | !tm <player> <duration> <reason> |
Moderator |
| unmute | um |
Unmute a player | !um <player> <reason> |
Moderator |
| muteinfo | mi |
Get mute information | !mi <player> |
Moderator |
For time-based commands (tempban, tempmute), use:
| Unit | Suffix | Example |
|---|---|---|
| Minutes | m |
30m |
| Hours | h |
2h |
| Days | d |
7d |
| Weeks | w |
2w |
| Years | y |
1y |
Example: !tb Player1 3d Repeated rule violations
From lowest to highest:
- User — Default level, basic commands
- Flagged — Flagged for suspicious activity
- Trusted — Verified trusted players
- Moderator — Can kick, warn, flag players
- Administrator — Can tempban, change maps
- Senior Administrator — Can permanently ban
- Owner — Full access to all commands
Use rule shortcuts as reasons for penalties. Rules are numbered starting at 1.
Global rules: rule1, rule2, etc.
Server rules: serverrule1, serverrule2, etc.
If your rules are:
- No camping
- Respect other players
Then: !kick Player1 rule1 → Kicks for "No camping"
!setlevel Player1 Moderator
!sl @123 Administrator
Note: Owners cannot promote to Owner unless enabled in configuration.
!ban Player1 Cheating
!b @123 GUID Spoofing
!tempban Player1 3d Racism
!tb @123 8h Abusive behavior
!reps # View reports
!reps clear # Clear reports