Difference between revisions of "Public Commands (SourceMod)"

From AlliedModders Wiki
Jump to: navigation, search
m (Corrected contraction "it's" to possessive pronoun its.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|Public Commands (SourceMod)}}
 
The following commands are available to players on SourceMod servers using the provided [[Base Plugins (SourceMod)|base plugin]] set.
 
The following commands are available to players on SourceMod servers using the provided [[Base Plugins (SourceMod)|base plugin]] set.
  
Line 26: Line 27:
 
|- class="t2td"
 
|- class="t2td"
 
| nextmap
 
| nextmap
| nextmap.smx
+
| basetriggers.smx
 
|  
 
|  
 
| Shows the next map in the mapcycle to the user.
 
| Shows the next map in the mapcycle to the user.
Line 58: Line 59:
 
| clientprefs.smx
 
| clientprefs.smx
 
| <name> [value]
 
| <name> [value]
| With no arguments displays the list of available cookies, specify a name to show or change it's value.
+
| With no arguments displays the list of available cookies, specify a name to show or change its value.
 
|}
 
|}
  
 
[[Category:SourceMod Documentation]]
 
[[Category:SourceMod Documentation]]

Latest revision as of 17:47, 16 May 2022

Language: English  • 中文

The following commands are available to players on SourceMod servers using the provided base plugin set.

Note that rockthevote.smx is not enabled by default.

Command Plugin Format Description
currentmap basetriggers.smx Displays the name of the current map.
ff basetriggers.smx Displays whether friendly fire is on or off.
motd basetriggers.smx Displays the Message of the Day (MOTD) window.
nextmap basetriggers.smx Shows the next map in the mapcycle to the user.
nominate rockthevote.smx <map> Nominates a map for rtv.
rtv OR rockthevote rockthevote.smx Starts a rockthevote vote.
thetime basetriggers.smx Displays the current time of the server.
timeleft basetriggers.smx Displays the time left in the map cycle.
sm_settings clientprefs.smx Displays the client settings menu.
sm_cookies clientprefs.smx <name> [value] With no arguments displays the list of available cookies, specify a name to show or change its value.