Back to mods
Lost Keys project artwork

Modrinth · Minecraft mod

Lost Keys

Temporarily rebind a client's controls from the server!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Lost Keys release should I use?

Updated 1 year ago
Latest stable file 1.0.1-1.21.6
Game version 1.21.6, 1.21.7, 1.21.8
Loader Fabric

Lost Keys 1.0.1-1.21.6 targets 1.21.6, 1.21.7, 1.21.8 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Lost Keys required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Lost Keys 1.0.1-1.21.6 need?

1.0.1-1.21.6. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Lost Keys without breaking your instance.

Built for Lost Keys 1.0.1-1.21.6. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.1-1.21.6. It targets 1.21.6, 1.21.7, 1.21.8 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.1-1.21.6. It opens that exact file at the source.

About this project

What does Lost Keys add?

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

Project description from Modrinth.

Pick your setup

Lost Keys by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Lost Keys versions and loaders

4 of 4 releases match

Looking for an older file? The official Modrinth project page is in Resources.