Console Commands

To enter console commands, be certain that you do not currently have a chat field selected, otherwise the command will go to chat instead of being executed. If the command is being entered properly, it will display in the lower left corner of the main window as it is typed in.
Camera Control 	Camera Control
:cam ortho 	Default. Camera follows the player character (PC) after the PC has moved a certain distance from the center of the screen. The camera can also be moved by middle click and dragging.
:cam bad 	Free camera, you can rotate it around using scroll.
Other 	Other
:lo 	Will Log Out of current session
:die 	Will close the client
:audiobuf <size> 	Default audio buffer is 1024 and looks like ":audiobuf 1024". If you've got sound issues try to add more to buffer. The best options are 4096-8192.
:placegrid <size> 	Set the grid size for placement of objects with the default grid unlocked (placing while holding ctrl). The number must be an integer between -2147483648 and 2147483647, and effectively represents the amount of snap points between each tile on both axes, centered on tile corners (as opposed to tile centers for default placement). A value of 1 would allow a single snap point (tile corners), 2 allows snap points every half tile, 3 every third of a tile, 4 every fourth of a tile, and so on. 
This can be used to place objects in such a way that their hitboxes line up perfectly, saving the maximum amount of space. Numbers from 1 to 100 are the only useful settings for most purposes. The limits are simply the minimum and maximum allowable quantities for a 32-bit integer.
:hz <n> 	Cap max FPS to n
:bzhz <n> 	Cap max background FPS to n (standard should be ~30)(verify)
Graphics Debugging	Graphics Debugging
:gl meshmode vao 	Default rendering mode
:gl meshmode d 	Diagnostic mode for some users that crash on the default rendering mode
:gl meshmode mem 	??
:gl meshmode dlist	Another diagnostic mode for some users that may crash on the default rendering mode
:gl meshmode 2demu	??
:gl wsurf <n> 	Change deep water color from dark blue (n=1) to light blue (n=0). The latter can help performances
Category:Controls