Difference between revisions of "Console Commands"

From OBEY wiki
Jump to: navigation, search
(troll image)
(13 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
|-
 
|-
 
! width="150"|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.
 
|-
 
|-
 
| <span style="color:red">/cycle</span> || Forces the server to cycle to the next map.
 
| <span style="color:red">/cycle</span> || Forces the server to cycle to the next map.
Line 18: Line 27:
 
|-
 
|-
 
| /kill<br/>/suicide || Kills the player. May induce a monetary penalty depending on server settings.
 
| /kill<br/>/suicide || Kills the player. May induce a monetary penalty depending on server settings.
 +
|-
 +
| <span style="color:red">/map ''<mapname>''<br/>/cycle ''<mapname>''</span> || 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]]
 
| /mod ''<password>'' || Log into the server as a moderator. The password is set in [[serverSettings.txt]]
Line 23: Line 34:
 
| /mute <id> || Mutes/unmutes a player. Player IDs are displayed on the score list.
 
| /mute <id> || Mutes/unmutes a player. Player IDs are displayed on the score list.
 
|-
 
|-
| /ptt<br/>/pushtotalk || Toggles voice chat mode between Push to Talk and Push to Mute
+
| /playerid || Prints your playerID to the screen. Your 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 playerID's can not join the same server)
 
|-
 
|-
| <span style="color:red">/restart</span> || Resets the dropship status, players, scores, and the time. Map status is not altered.
+
| /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.
 +
|-
 +
| <span style="color:red">/restart<br/>/reset</span> || Resets the dropship status, players, scores, and the time. Map status is not altered.
 +
|-
 +
| /scores<br/>/scores ''<games ago>'' || Prints the round end score from x games ago. Leaving the argument blank prints the last match.
 
|-
 
|-
 
| /rules<br/>/info<br/>/server<br/>/serverip<br/>/penalty || Returns the IP, penalties and other settings of the server
 
| /rules<br/>/info<br/>/server<br/>/serverip<br/>/penalty || Returns the IP, penalties and other settings of the server
 
|-
 
|-
| <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.
+
| <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.
 
|-
 
|-
 
| /serverip || Returns the IP of the server you are connected to
 
| /serverip || Returns the IP of the server you are connected to
 
|-
 
|-
| <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. Players may unmute marked trolls with /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.
 +
|-
 +
| <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
 
|-
 
|-
| /w ''<message>'' || Whispers a private message to nearby bunnies. Robosaru cannot use the whisper command, but has ways of intercepting whispers.
+
| /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.
 
|}
 
|}
  

Revision as of 01:28, 4 March 2017

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 playerID to the screen. Your 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 playerID's can not join the same server)
/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
/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.
/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.
/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
/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.

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