Difference between revisions of "Console Commands"

From OBEY wiki
Jump to: navigation, search
(patch 0.21.2)
(added reset achievements and stats)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  
== These are the console commands currently valid in OBEY: ==
+
Commands in <span style="color:red">'''red'''</span> are restricted to moderators. Use /mod to access them.
 
+
 
+
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Command !! Function
+
! width="150"|Command !! Function
 +
 
 +
|-
 +
| <span style="color:red">/add</span> || Adds a bot. Will not add a bot if maxAI is already met.
 +
|-
 +
| <span style="color:red">/allmute ''<id>''</span>|| Mutes the player for everyone.
 +
|-
 +
| <span style="color:red">/allunmute ''<id>''</span> || Unmutes the player for everyone.
 +
|-
 +
| /clear || clears the text on the left of the screen.
 
|-
 
|-
| /cycle || '''Moderator Status command.''' Forces the server to cycle to the next map.
+
| <span style="color:red">/cycle</span> || Forces the server to cycle to the next map.
 
|-
 
|-
 
| /dp # || Drop Packets debug tool: Drops # out of every 10 packets. # must be an integer in the range 0-9
 
| /dp # || Drop Packets debug tool: Drops # out of every 10 packets. # must be an integer in the range 0-9
 
|-
 
|-
| /fps || Toggle FPS counter
+
| <span style="color:red">/dropship</span> || Spawns a Dropship.
 
|-
 
|-
| /getvolume<br/>/getvol<br/>/volstat<br/>/voicestate || Returns the current volume levels.
+
| /fps || Toggle FPS counter
 
|-
 
|-
 
| /help || Will list some of the common commands
 
| /help || Will list some of the common commands
 
|-
 
|-
| /kick # || '''Moderator Status command.''' Kicks a player with an ID matching #. IDs are visible to the moderator in the score list.
+
| <span style="color:red">/kick ''<id>''</span> || Kicks a player from the server. Player IDs are displayed on the score list.
 
|-
 
|-
| /invertRoboY || Toggles the inversion of Robosaru's Y axis
+
| /kill<br/>/suicide || Kills the player. May induce a monetary penalty depending on server settings.
 
|-
 
|-
| /invertPlayerY || Toggles the inversion of the Bunny's Y axis
+
| <span style="color:red">/map ''<mapname>''<br/>/cycle ''<mapname>''</span> || Forces the map to change to the specified map
 
|-
 
|-
| /invertSpectatorY || Toggles the inversion of the Spectator's Y axis
+
| /mod ''<password>'' || Log into the server as a moderator. The password is set in [[serverSettings.txt]]
 
|-
 
|-
| /mic<br/>/ptt<br/>/pushtotalk<br/>/voice || Toggles voice chat mode between Push to Talk and Push to Mute
+
| /mute <id> || Mutes/unmutes a player. Player IDs are displayed on the score list.
 
|-
 
|-
| /mics || Returns an index of available microphones for voice chat.
+
| /playerid || Prints your internal playerID to the screen. This playerID is what is used to track your scores and trophies across servers. If you ever want to have your trophies carried over to a new computer, copy your playerID into your new playerPrefs. (NOTE: 2 identical internal playerID's can not join the same server, and no other player or server admin can know yours unless you give it to them.  It can also be any text you want, if you want to change it to something you can remember.)
 
|-
 
|-
| /mod ''<password>'' || Log into the server as a moderator. The password is set in [[serverSettings.txt]]
+
| /ptt<br/>/pushtotalk<br/><span style="color:red">/ptt ''<id>''</span> || Toggles voice chat mode between Push to Talk and Push to Mute.<br/>If the moderator version is used, it forces the remote players settings into push-to-talk.
 
|-
 
|-
| /restart || '''Moderator Status command.''' Resets the dropship status, players, scores, and the time. Map status is not altered.
+
| <span style="color:red">/restart<br/>/reset</span> || Resets the dropship status, players, scores, and the time. Map status is not altered.
 
|-
 
|-
| /sensitivity # || Sets the mouse sensitivity to #. # must be a value in the range 0-1
+
| /scores<br/>/scores ''<games ago>'' || Prints the round end score from x games ago. Leaving the argument blank prints the last match.
 
|-
 
|-
| /sensitivityX # || Sets the horizontal mouse sensitivity to #. # must be a value in the range 0-1
+
| /rules<br/>/info<br/>/server<br/>/serverip<br/>/penalty || Returns the IP, penalties and other settings of the server
 
|-
 
|-
| /sensitivityY # || Sets the vertical mouse sensitivity to #. # must be a value in the range 0-1
+
| /resetSteamStats || resets all your Steam statistics for OBEY.
 
|-
 
|-
| /setcutoff #<br/>/cutoff # || Sets minimum volume that will trigger voice activated transmission. # must be a value in the range 0-1. Default is .003.
+
| /resetSteamStatsAchievements|| resets all your Steam statistics and achievements for OBEY.
 
|-
 
|-
| /setmic # || Sets the current microphone. # must be a valid value returned by /mics.
+
| <span style="color:red">/setscore ''<id>'' ''<score>''<br/>/setpoints ''<id>'' ''<score>''</span>|| Sets a player's score to the specified amount. Player IDs are visible to the moderator in the score list. The score field can also be preceded by += or -= to relatively alter the score by the specified amount.
 
|-
 
|-
| /spectate<br/>/spectator || Toggles Spectator mode for the player
+
| /spectate <span style="color:red"> ''<id>''</span><br/>/spectator <span style="color:red"> ''<id>''</span><br/>/spec <span style="color:red"> ''<id>''</span>|| Toggles [[Spectator]] mode for the player. Moderators may also specify a player ID to toggle that player's spectator status.
 
|-
 
|-
| /kill || Kills the player
+
|<span style="color:red"> /cancelrecord  </span><br/><span style="color:red"> /cancelstats</span> || Cancels leaderboard ranking, skill rating changes, and many other achievements for the match.  Useful if a mod wants to turn a ranked match into a match for just messing around without affect the player ratings.
 +
|-
 +
| /spent|| Returns how much money you have spent this round so far
 
|-
 
|-
 
| /serverip || Returns the IP of the server you are connected to
 
| /serverip || Returns the IP of the server you are connected to
 
|-
 
|-
| /volume ''<#>''<br/>/vol ''<#>''<br/>/sound || Controls master volume. # must be a value in the range 0-1. If no value is entered, toggles mute.
+
| /tourney<br/>/tourney ''<games ago>'' || Will print out a tabulated score from x games ago. For example /tourney 3 will add up the top scores from the last the games added together.  Leaving the argument blank uses the last 3 matches.
 +
|-
 +
| <span style="color:red">/troll ''<id>''</span> || Marks a player as a troll. Player IDs are displayed on the score list. Players marked as a troll are muted and visibly indicated for all other players in the world view with a large red arrow. Players may unmute marked trolls with /mute. Troll's usage of the primary cannon and the flamethrower while in Robosaru are not sent to the server, effectively disabling these weapons.
 +
 
 +
|-
 +
| /voteRankingOff|| command to start vote to not rank the current match (subject to server permissions)
 +
|-
 +
| /voteCycle ''<mapname>''<br/>/voteCycle|| command to start vote to cycle map (subject to server permissions)
 +
|-
 +
| /voteKick ''<id>''|| command to start vote to kick a player (subject to server permissions)
 +
|-
 +
| /voteBan ''<id>''|| command to start vote to ban a player(subject to server permissions)
 +
|-
 +
| /vote ''<yes/no>''|| command to vote. It can be used if you don't have up/down arrow keys.
 +
 
 +
|-
 +
| /w ''<message>'' || Whispers a private message to nearby bunnies. Robosaru can use the whisper command to speak to any bunny(s) directly in view, and spectators can use this command to send an alltalk message. Robo has  [[Items#Sensor|ways of intercepting]] whispers.
 +
|-
 +
| <span style="color:red">/trophy ''<id>'' ''<award>''</span>|| Will assign the given "award" to the player. What awards there are or what they mean depends completely on the code running on the trophy server defined in the serverSettings.txt
 +
|-
 +
| <span style="color:red">/forceStartTournament</span>|| Will attempt to start a tournament immediately.  ''Note that this command may be disabled for mods in server settings.''  Tournaments started in this way will automatically assign trophies to the winners.  If the command fails, /tourney can be used to run an informal tournament, instead.
 +
|-
 +
| <span style="color:red">/cancelTournament</span>|| If a tournament is currently running, this will cancel it.
 +
|}
 +
 
 +
<gallery>
 +
File:Icon_Troll_screenshot.jpg|A troll is indicated to everyone else
 +
</gallery>
 +
 
 +
==Deprecated Commands==
 +
These commands were removed as their function is instead performed by the GUI.
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Command !! Function !! Removal
 +
|-
 +
| /invertRoboY || Toggles the inversion of Robosaru's Y axis || 26r0
 +
|-
 +
| /invertPlayerY || Toggles the inversion of the Bunny's Y axis || 26r0
 +
|-
 +
| /invertSpectatorY || Toggles the inversion of the Spectator's Y axis || 26r0
 +
|-
 +
| /sensitivityX # || Sets the horizontal mouse sensitivity to #. # must be a value in the range 0-1 || 26r0
 +
|-
 +
| /sensitivityY # || Sets the vertical mouse sensitivity to #. # must be a value in the range 0-1 || 26r0
 +
|-
 +
| /sensitivity # || Sets the mouse sensitivity to #. # must be a value in the range 0-1 || 26r0
 +
|-
 +
| /volume ''<#>''<br/>/vol ''<#>''<br/>/sound || Controls master volume. # must be a value in the range 0-1. If no argument is present, toggles mute. || 26r0
 +
|-
 +
| /voicevolume #<br/>/vvol # || Controls voice chat volume. # must be a value in the range 0-1. || 26r0
 +
|-
 +
| /mute<br/>/mic<br/>/voice || Mutes your microphone || 26r0
 +
|-
 +
| /mics || Returns an index of available microphones for voice chat. || 26r0
 +
|-
 +
| /setmic # || Sets the current microphone. # must be a valid value returned by /mics. || 26r0
 +
|-
 +
| /setcutoff #<br/>/cutoff # || Sets minimum volume that will trigger voice activated transmission. # must be a value in the range 0-1. Default is .003. || 31r4
 
|-
 
|-
| /voicevolume #<br/>vvol # || Controls voice chat volume. # must be a value in the range 0-1.
+
| /getvolume<br/>/getvol<br/>/getvoice<br/>/volstat<br/>/voicestate || Returns the current volume levels. || 31r4
 
|}
 
|}

Latest revision as of 01:04, 21 July 2020

Commands in red are restricted to moderators. Use /mod to access them.

Command Function
/add Adds a bot. Will not add a bot if maxAI is already met.
/allmute <id> Mutes the player for everyone.
/allunmute <id> Unmutes the player for everyone.
/clear clears the text on the left of the screen.
/cycle Forces the server to cycle to the next map.
/dp # Drop Packets debug tool: Drops # out of every 10 packets. # must be an integer in the range 0-9
/dropship Spawns a Dropship.
/fps Toggle FPS counter
/help Will list some of the common commands
/kick <id> Kicks a player from the server. Player IDs are displayed on the score list.
/kill
/suicide
Kills the player. May induce a monetary penalty depending on server settings.
/map <mapname>
/cycle <mapname>
Forces the map to change to the specified map
/mod <password> Log into the server as a moderator. The password is set in serverSettings.txt
/mute <id> Mutes/unmutes a player. Player IDs are displayed on the score list.
/playerid Prints your internal playerID to the screen. This playerID is what is used to track your scores and trophies across servers. If you ever want to have your trophies carried over to a new computer, copy your playerID into your new playerPrefs. (NOTE: 2 identical internal playerID's can not join the same server, and no other player or server admin can know yours unless you give it to them. It can also be any text you want, if you want to change it to something you can remember.)
/ptt
/pushtotalk
/ptt <id>
Toggles voice chat mode between Push to Talk and Push to Mute.
If the moderator version is used, it forces the remote players settings into push-to-talk.
/restart
/reset
Resets the dropship status, players, scores, and the time. Map status is not altered.
/scores
/scores <games ago>
Prints the round end score from x games ago. Leaving the argument blank prints the last match.
/rules
/info
/server
/serverip
/penalty
Returns the IP, penalties and other settings of the server
/resetSteamStats resets all your Steam statistics for OBEY.
/resetSteamStatsAchievements resets all your Steam statistics and achievements for OBEY.
/setscore <id> <score>
/setpoints <id> <score>
Sets a player's score to the specified amount. Player IDs are visible to the moderator in the score list. The score field can also be preceded by += or -= to relatively alter the score by the specified amount.
/spectate <id>
/spectator <id>
/spec <id>
Toggles Spectator mode for the player. Moderators may also specify a player ID to toggle that player's spectator status.
/cancelrecord
/cancelstats
Cancels leaderboard ranking, skill rating changes, and many other achievements for the match. Useful if a mod wants to turn a ranked match into a match for just messing around without affect the player ratings.
/spent Returns how much money you have spent this round so far
/serverip Returns the IP of the server you are connected to
/tourney
/tourney <games ago>
Will print out a tabulated score from x games ago. For example /tourney 3 will add up the top scores from the last the games added together. Leaving the argument blank uses the last 3 matches.
/troll <id> Marks a player as a troll. Player IDs are displayed on the score list. Players marked as a troll are muted and visibly indicated for all other players in the world view with a large red arrow. Players may unmute marked trolls with /mute. Troll's usage of the primary cannon and the flamethrower while in Robosaru are not sent to the server, effectively disabling these weapons.
/voteRankingOff command to start vote to not rank the current match (subject to server permissions)
/voteCycle <mapname>
/voteCycle
command to start vote to cycle map (subject to server permissions)
/voteKick <id> command to start vote to kick a player (subject to server permissions)
/voteBan <id> command to start vote to ban a player(subject to server permissions)
/vote <yes/no> command to vote. It can be used if you don't have up/down arrow keys.
/w <message> Whispers a private message to nearby bunnies. Robosaru can use the whisper command to speak to any bunny(s) directly in view, and spectators can use this command to send an alltalk message. Robo has ways of intercepting whispers.
/trophy <id> <award> Will assign the given "award" to the player. What awards there are or what they mean depends completely on the code running on the trophy server defined in the serverSettings.txt
/forceStartTournament Will attempt to start a tournament immediately. Note that this command may be disabled for mods in server settings. Tournaments started in this way will automatically assign trophies to the winners. If the command fails, /tourney can be used to run an informal tournament, instead.
/cancelTournament If a tournament is currently running, this will cancel it.

Deprecated Commands

These commands were removed as their function is instead performed by the GUI.

Command Function Removal
/invertRoboY Toggles the inversion of Robosaru's Y axis 26r0
/invertPlayerY Toggles the inversion of the Bunny's Y axis 26r0
/invertSpectatorY Toggles the inversion of the Spectator's Y axis 26r0
/sensitivityX # Sets the horizontal mouse sensitivity to #. # must be a value in the range 0-1 26r0
/sensitivityY # Sets the vertical mouse sensitivity to #. # must be a value in the range 0-1 26r0
/sensitivity # Sets the mouse sensitivity to #. # must be a value in the range 0-1 26r0
/volume <#>
/vol <#>
/sound
Controls master volume. # must be a value in the range 0-1. If no argument is present, toggles mute. 26r0
/voicevolume #
/vvol #
Controls voice chat volume. # must be a value in the range 0-1. 26r0
/mute
/mic
/voice
Mutes your microphone 26r0
/mics Returns an index of available microphones for voice chat. 26r0
/setmic # Sets the current microphone. # must be a valid value returned by /mics. 26r0
/setcutoff #
/cutoff #
Sets minimum volume that will trigger voice activated transmission. # must be a value in the range 0-1. Default is .003. 31r4
/getvolume
/getvol
/getvoice
/volstat
/voicestate
Returns the current volume levels. 31r4