
Lost Keys
Temporarily rebind a client's controls from the server!
About this Mod
Lost Keys
required on both server and client (although it shouldnt crash anything if only client/only server has it)
Server Side Commands:
it adds a server side command /lost_keys:override <player> <binding> <key> that temporarily (until the player relogs) replaces the key for a given binding
for instance, /lost_keys:override Steve key.forward key.keyboard.b will mean Steve has to press B to walk forwards instead of W (or whatever they have it set to)
the <key> can also be set to whatever the value of another binding is, so /lost_keys:override Steve key.drop key.forward will mean whenever Steve walks forwards, they also drop whatever they're holding
to clear an override, set the <key> to default (or itself), to disable a key, set the <key> to none (or any invalid key), to force a <key> to be pressed, set it to pressed
the <binding> can also be all, which can be used to clear all overrides at once: /lost_keys:override <player> all default, disable all keys: /lost_keys:override <player> all none (then specific keys can be enabled by setting them to themselves) , or cause a mess: /lost_keys:override <player> all key.keyboard.a
you can also set keybindings to run commands, like so: /lost_keys:bind_command <player> <binding> <command>, the command does not include the /, so: /lost_keys:bind_command @s key.forward say hi, and the binding can also be keyboard keys. commands are run by the client, so commands that require op won't work on an unopped player
Client Side Commands:
it also adds two client side commands, /lost_keys:lognext, which tells you the name of the key you press next (and binding if there is one), so you can easily figure out how to override what you want
and /lost_keys:list, which tells you all applied overrides
Notes:
not all keys work, because minecraft is inconsistent, but all the important ones like movement and attacking do. Likewise some keys will not work properly with all overrides
Plugin Version:
the permission node is lost_keys.override, and it only works with specifically mentioned players and @a - so /lost_keys:override Steve key.forward none works, but /lost_keys:override @p key.forward none or /execute as Steve run lost_keys:override @s key.forward none do not! this is an important difference!
the same limitations apply for /lost_keys:bind_command, and it's permission node is lost_keys.bind_command
Available Versions
How to Install Lost Keys on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Lost Keys". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7, 1.21.6 (+8 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Lost Keys server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Lost Keys compatible with fabric and paper and spigot?
Lost Keys officially supports fabric, paper, spigot for Minecraft 1.21.8, 1.21.7, 1.21.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Lost Keys – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Lost Keys consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install Lost Keys with just one click on your server.