Difference between revisions of "Insurgency Sandstorm console commands"

From Citadel Servers Wiki
Jump to navigation Jump to search
(Created page with "<div style="text-align: center;">This article will inform and show you how to run commands as an admin on your server.<br /><br /> <h3 dir="ltr" style="line-height: 1.38; marg...")
 
 
Line 177: Line 177:
 
</div>
 
</div>
 
</div>
 
</div>
 +
 +
[[Category:Insurgency Sandstorm]][[Category:Insurgency Sandstorm Server Help Articles]]

Latest revision as of 14:49, 21 July 2019

This article will inform and show you how to run commands as an admin on your server.

Commands

You can get a list of commands at any time by typing “help” into the console. This will show a summary of all available commands, their usage as well as a description of the command’s function.


The table below shows the available commands, mandatory parameters are shown surrounded by “<” and “>”, while optional parameters are surrounded with “[“ and “]”.


Command

Parameters

Function

help

 

Displays a list of commands.

listplayers

 

Lists players currently connected to the server.

kick

<id/netid/name> [reason]

Kicks a player from the server.

ban

<id/netid/name> [duration in minutes] [reason]

Bans a player from the server.

permban

<id/netid/name> [reason]

Permanently bans a player from the server.

unban

<netid>

Lifts a ban for a user.

listbans

 

Shows the ban list for the server.

say

<message>

Shows a message to all players in the chat box.

restartround

[0 = no team switch, 1 = swap teams]

Restarts the current round.

maps

[level filter]

Lists available maps.

scenarios

[level filter]

Lists available scenarios.

travelscenario

<scenario>

Change level to given scenario.

travel

<travel url>

Transitions the server to a different level.

gamemodeproperty

<property> [new value]

Gets or sets a gamemode property for the length of the scenario.


By default, any unknown commands will be executed as console commands.

 

*Please note that the // that you see before a line is used to ignore the text or command on that said line.