Difference between revisions of "Public Commands (SourceMod)"

From AlliedModders Wiki
Jump to: navigation, search
(New page: The following commands are available to players on SourceMod servers using the provided base plugin set. Note that <tt>rockthevote.smx</tt> is not enabled by default. :{| cellpadding="6"...)
 
m (Corrected contraction "it's" to possessive pronoun its.)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The following commands are available to players on SourceMod servers using the provided base plugin set.
+
{{Languages|Public Commands (SourceMod)}}
 +
The following commands are available to players on SourceMod servers using the provided [[Base Plugins (SourceMod)|base plugin]] set.
  
 
Note that <tt>rockthevote.smx</tt> is not enabled by default.
 
Note that <tt>rockthevote.smx</tt> is not enabled by default.
Line 19: Line 20:
 
|  
 
|  
 
| Displays whether friendly fire is on or off.
 
| Displays whether friendly fire is on or off.
 +
|- class="t2td"
 +
| motd
 +
| basetriggers.smx
 +
|
 +
| Displays the Message of the Day (MOTD) window.
 
|- 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 44: Line 50:
 
|  
 
|  
 
| Displays the time left in the map cycle.
 
| Displays the time left in the map cycle.
 +
|- class="t2td"
 +
| sm_settings
 +
| clientprefs.smx
 +
|
 +
| Displays the client settings menu.
 +
|- class="t2td"
 +
| sm_cookies
 +
| clientprefs.smx
 +
| <name> [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 18: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.