Skip to content
the-real-ltcg edited this page Jul 9, 2026 · 1 revision

Usage

Commands

All commands are client-side (/keyholder ...):

Command Effect
/keyholder set <key> Set the key to hold — e.g. w, space, or a full key name like key.mouse.left
/keyholder on Start holding the configured key
/keyholder off Stop holding it
/keyholder toggle Toggle it on/off
/keyholder status Show whether it's active and which key is set

Bare key names (w, space, a) are assumed to be keyboard keys and expanded to key.keyboard.<name> automatically. For mouse buttons or anything else, pass the full name, e.g. key.mouse.left, key.mouse.right.

Toggle keybind

Key Holder registers a Toggle Key Hold keybind, unbound by default. Bind it in Options → Controls → Key Binds → Key Holder to start/stop holding the configured key with a single press, without touching chat.

Config screen

With Mod Menu and Cloth Config installed: open Mods, find Key Holder, click the config (cog) icon. Click the key field and press any key/mouse button to select it, and use the Enabled toggle to start or stop holding it.

Settings are stored in config/keyholder.json in your instance folder.

Notes

  • Key Holder only affects the physical key you set — anything bound to that key (movement, jump, sprint, another mod's keybind) will read as held while active.
  • Turning it off releases the key immediately.

Clone this wiki locally