Info Hud
MoreCommands offers a Heads-Up Display that can display a lot of information about what's going on around you in your Minecraft world.
The default key to toggle it is O
and this can be changed in the Minecraft controls screen.
The config file for this HUD can be found at <minecraft directory/config/MoreCommands/infoHud.txt
.
Keys
The Info HUD can display many statistics, these are inserted into the lines that you put in the
config file and are formatted as {<key>}
.
The keys that can be used in the config file are as follows:
DF
: default formatting, gold by default, but can be changed with a client option or gamerule.SF
: secondary formatting, yellow by default, but can be changed with a client option or gamerule.playerName
: your player's namex
: your x positiony
: your y positionz
: your z positionchunkX
: your chunk x positionchunkY
: your chunk y positionchunkZ
: your chunk z positionyaw
: your yaw (horizontal rotation)pitch
: your pitch (vertical rotation)biome
: the biome you're indifficulty
: the difficulty of the world you're in. Only works on singleplayer.blocksPerSec
: your speed in blocks per secondavgSpeed
: a less volatile version ofblocksPerSec
toggleKey
: the key used to toggle the HUDconfigFile
: the path of the infoHud.txt configuration filefacing
: the direction you're facingtime
: the current time in 24-hour formattime12
: the current time in 12-hour formatUUID
: your player's UUIDholding
: the item you're holdingxp
: your total experience pointsxpLevel
: your experience levelgamemode
: your gamemodefps
: current framerateblockLight
: the blocklight level at your positionskyLight
: the skylight level at your positionlookingAtX
: the x coordinate of the block you're looking atlookingAtY
: the y coordinate of the block you're looking atlookingAtZ
: the z coordinate of the block you're looking atlookingAt
: the name of the block or entity you're looking atlanguage
: the currently selected game languagelookingVecX
: the exact x coordinate of the position you're looking atlookingVecY
: the exact y coordinate of the position you're looking atlookingVecZ
: the exact z coordinate of the position you're looking atlookingAtSide
: the side of the block you're looking atentities
: the amount of currently loaded entities
Variables
The Info HUD also supports a couple variables which may change how or where the text is rendered.
These variables can be set by having a single line as follows: var <variable> = <value>
.
The variables currently available are as follows:
xOffset
: the horizontal offset at which to start rendering the HUD.yOffset
: the vertical offset at which to start rendering the HUD.
Starting from version 4.0, you also have the following variables:
scale
: the scale at which to render the HUD, 0.75 is default, anything below this is smaller.backgroundOpacity
: the opacity of the background drawn behind the HUD, 25 by default. 100 at maxbackgroundColour
: the hex colour of the background, may start with a #. Black by defaultperLineBackground
: whether the background should be drawn separately for every line or be one big block. True by defaultdecimals
: the amount of decimals to use for double values. 2 by default
Example using all variables:
// Have a look at https://github.com/PlanetTeamSpeakk/MoreCommands to see what variables you can use here.
var xOffset = 2
var yOffset = 2
var scale = 0.75
var decimals = 2
var backgroundOpacity = 25
var backgroundColour = #000000
var perLineBackground = true
{DF}Player: {SF}{playerName}
{DF}FPS: {SF}{fps}
{DF}X: {SF}{x}
{DF}Y: {SF}{y}
{DF}Z: {SF}{z}
{DF}Pitch: {SF}{pitch}
{DF}Yaw: {SF}{yaw}
{DF}Facing: {SF}{facing}
{DF}Biome: {SF}{biome}
{DF}Speed: {SF}{avgSpeed}
Comments
The Info HUD config also supports comments.
Any line starting with two slashes (//
) is completely ignored and any part of any line after
two slashes is also ignored.
E.g.
// This line is ignored
{DF}Player: {SF}{playerName} // This part will not be rendered.