FPS default on¶
Shows frames per second. The only module that is on by default.
- Identifier
fps- Default
- On
- HUD element
- Yes. Top left, offset 4, 4.
- Sends anything
- No
What it shows¶
One line of text: the game's own frame counter followed by "FPS", for example 144 FPS. In the HUD editor outside a world it shows the sample 60 FPS.
The text is rebuilt only when the number changes. While the value is unchanged the module allocates nothing per frame.
Settings¶
| Setting | Identifier | Type | Range or options | Default | Description |
|---|---|---|---|---|---|
| Background | background |
On or off | On | Draw a translucent box behind the element. | |
| Text shadow | shadow |
On or off | On | Draw text with the vanilla drop shadow. | |
| Text color | color |
Colour | AARRGGBB |
#FFFFFFFF |
Color of the element's text. |
These are the settings every HUD module has; the module has none of its own. Position and scale are set in the HUD editor.
What it reads¶
The client's frame counter, the same number the F3 screen shows.
What it writes¶
Nothing. The module only draws.
Multiplayer¶
Display only. Sends nothing to servers.
About performance
This module reports the frame rate; it does not raise it. Xol makes no frame-rate claims, and nothing has been benchmarked on real hardware yet. See Supported versions.
See the module review table for every module side by side.