Difference between revisions of "Console Commands"

From OBEY wiki
Jump to: navigation, search
m
Line 59: Line 59:
 
|-
 
|-
 
| <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">/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.
 
|}
 
|}
  

Revision as of 23:02, 25 February 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
/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.
/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