KeyStrokes Overlay With Lua
by AltRossell
With KeyStrokes Overlay With Lua, players see the keys they press on screen, drawn by themes written in Lua scripts.
What it does
The overlay shows keyboard and mouse input as it happens. Its visual theme is a Lua script, and the settings menu opens with the K key once Minecraft is running. Changes to a theme script take effect after the Reload Lua button is pressed, without restarting the game. Each keyboard and mouse overlay can be dragged to a new position, and the layout can use automatic scaling, a fixed size or a slider-based size.
The mod runs on Fabric only and needs Fabric Loader and Minecraft 1.20 or higher. It is client-side only, so the server does not need it and players join without installing it. Files cover 1.20 – 1.21.11 with 19 release versions, and the latest Fabric file is 1.0.0 for 1.21.11, published 2026-01-09. The code is released under the MIT License, and the project is not open source.
Key features
Lua theme scripts
Each theme is a Lua script that controls how keys and the background are drawn, so the look can be rewritten.
Live reload of scripts
Edits to a theme script appear in the running game after the Reload Lua button is pressed.
RGB color sliders
Sliders in the settings menu set red, green, blue and alpha values, and they sync with the values used in the Lua scripts.
Movable overlays
Keyboard and mouse overlays can be dragged independently to any position on the screen.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Streaming keypresses
Viewers can follow which keys are pressed while a player records or streams gameplay.
Custom visual themes
Authors can write their own theme scripts for the overlay, changing colors, text and backgrounds.
Who it’s for: Players who record tutorials or streams, and theme authors who want to script the overlay's appearance.
How it compares
Visual Keystrokes is a Fabric mod for 1.21 – 1.21.11, client-side only, released under All rights reserved and not open source. Neo Scripts Lua covers Fabric and NeoForge for 1.21.8 – 26.2, client-side only, under the GNU General Public License v3.0 only and open source. Yet Another Keystrokes Overlay is Fabric only for 1.20.1, client-side only, open source under CC0 1.0 Universal.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| KeyStrokes Overlay With Lua | Fabric | 1.20 – 1.21.11 | Client-side only | 2026-01-09 |
| Visual Keystrokes | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-02-15 |
| Neo Scripts Lua | Fabric and NeoForge | 1.21.8 – 26.2 | Client-side only | 2026-08-30 |
| Yet Another Keystrokes Overlay | Fabric | 1.20.1 | Client-side only | 2025-07-30 |
Questions
Does KeyStrokes Overlay With Lua need Fabric API?
Does the server need this mod?
How are changes to a theme applied?
In the catalog
KeyStrokes Overlay With Lua is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 19,862 mods support Minecraft 1.21.11.
Similar mods
What the author says
lua -- Save this as "my_custom_theme.lua" in config/keystrokes/ThemeManager/ -- Optional: This runs once when the theme is loaded or selected function onThemeLoad() -- Sets the default color of the menu sliders (R, G, B, A) setMenuColor(255, 165, 0, 255) -- Default to Orange end
Official listing
- Modrinth page
- modrinth.com/mod/keystrokes-overlay-lua
- Owner
- AltRossell
- Published
- 2026-01-09
- Updated on Modrinth
- 2026-01-09
- Facts verified
- 2026-10-15
