KeyboardJS is a KubeJS addon that lets Minecraft scripts respond to keyboard and mouse input, making it possible to trigger script behavior from player controls. Scripts can handle input locally on the client or receive it on the server, where the addon forwards input automatically without requiring a matching client-side script. It provides press, release, and repeat events, key-state polling, filters for named keys and mouse buttons, and modifier-state checks for Shift, Ctrl, Alt, and Super. These events can support custom controls such as a Ctrl-plus-key ability with a cooldown, detecting how long a key is held, or responding to a mouse button; server scripts should validate permissions and game state before acting on input.
Written from Modrinth and the GitHub README . How we write it
The newest release or beta for each Minecraft version and loader, on Modrinth and CurseForge.
Have a copy of KeyboardJS? Check that it is the official one.
Drop it here. We compare its fingerprint with the official KeyboardJS files. If we do not know the file, we upload it for a deep check.
Who makes KeyboardJS, with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
None found
No sign it sends data.
We find the web addresses its code can contact, but we cannot see everything a mod does while it runs. Wrong result? Tell us
A mod can send information about you over the internet, such as your player name or your login.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Also
Something wrong here? Report a mistake