Language

InputEngine

InputEngine

Modrinth

InputEngine is a cross-platform project designed to capture custom keystrokes from the Minecraft client and transmit them seamlessly to the server.

31 downloads updated 1h ago
latest v1.2.0-spigot Modrinth
Fabric Neoforge Paper Purpur Spigot 1.21 – 1.21.11 Game-mechanicsLibraryUtility

InputEngine

A seamless cross-platform bridge capturing custom keystrokes from the Minecraft client to the server!

📖 Overview

InputEngine is a powerful utility mod/plugin designed to capture custom keystrokes from the Minecraft client and transmit them instantly to the server. It allows server-side plugins to react seamlessly to custom client-side keybinds (e.g., Skill 1, Dodge, Open Custom Menu).

This project acts as a two-part bridge: a Client Mod (Fabric/NeoForge) and a Server Plugin (Spigot/Paper).

✨ Features

  • 🎮 Client-Side Keybinding: Registers custom keybinds on the client. Fully supports both Fabric and NeoForge.
  • Network Bridge: Sends efficient, lightweight payloads to the server whenever a bound key is pressed or released.
  • 🌍 Vanilla Server Compatible: The networking channel is optional on the client. You can safely keep the mod installed while joining vanilla servers without being disconnected!
  • 🛠️ Server-Side API: Exposes a custom Spigot Event (PlayerKeyPressEvent) for developers so your server-side plugins can easily listen and react to player inputs.

📥 Installation

InputEngine requires both a server-side plugin and a client-side mod to function correctly.

For Players (Client)

  1. Download the correct version for your mod loader (Fabric or NeoForge).
  2. Place the downloaded .jar file into your Minecraft client's mods/ folder.
  3. Fabric Users: Ensure you have the Fabric API installed.

For Server Owners (Plugin)

  1. Download the Spigot release file.
  2. Place it in your Spigot/Paper server's plugins/ folder.
  3. Restart your server.

💻 For Developers (API Usage)

If you are developing a Bukkit/Spigot plugin and want to react to a player's key press, you can easily use the API!

Listen to the PlayerKeyPressEvent:

import dev.darkblade.mod.input_engine.server.api.PlayerKeyPressEvent;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;

public class MyPluginListener implements Listener {

    @EventHandler
    public void onPlayerKeyPress(PlayerKeyPressEvent event) {
        if (event.isPressed()) {
            event.getPlayer().sendMessage("You pressed: " + event.getAction().name());
        } else {
            event.getPlayer().sendMessage("You released: " + event.getAction().name());
        }
    }
}

📜 License

This project is open-source and available under the MIT License.

Versions

Release
1.2.0-spigot
paper, purpur, spigot · 1.21, 1.21.1, 1.21.2 · 1h ago
## [1.2.0] - bStats Metrics Update This update introduces comprehensive bStats integration to track API adoption and feature usage, helping to provide better…
1
Release
1.1.1-fabric
fabric · 1.21.1, 1.21.2, 1.21.3 · 20h ago
## [1.1.1] - Polish Update ### 🐛 Bug Fixes * **Keybind Conflicts**: The mod now silently ignores custom server keybinds if they physically collide with a…
7
Release
1.1.1-neoforge
neoforge · 1.21.1, 1.21.2, 1.21.3 · 20h ago
## [1.1.1] - Polish Update ### 🐛 Bug Fixes * **Keybind Conflicts**: The mod now silently ignores custom server keybinds if they physically collide with a…
3
Release
1.1.0-neoforge
neoforge · 1.21.1, 1.21.2, 1.21.3 · 1d ago
## [1.1.0] - Extended Input Update This major update introduces a complete visual overhaul for cooldowns, alongside powerful new input detection methods and…
6
Release
1.1.0-spigot
paper, purpur, spigot · 1.21, 1.21.1, 1.21.2 · 1d ago
## [1.1.0] - Extended Input Update This major update introduces a complete visual overhaul for cooldowns, alongside powerful new input detection methods, combo…
1
Release
1.1.0-fabric
fabric · 1.21.1, 1.21.2, 1.21.3 · 1d ago
## [1.1.0] - Extended Input Update This major update introduces a complete visual overhaul for cooldowns, alongside powerful new input detection methods and…
6
Release
1.0.5-neoforge
neoforge · 1.21.8, 1.21.9, 1.21.10 · 4d ago
## [1.0.5] - Translations additons ### ✨ Features * **English and Spanish translations**: Added translation keys for the controls menu category name of…
1
Release
1.0.4-neoforge
neoforge · 1.21.8, 1.21.9, 1.21.10 · 5d ago
## [1.0.4] - Initial Modrinth Release This is the first official release of the InputEngine NeoForge client mod on Modrinth! ### ✨ Features * **Keybind…
1
Release
1.0.4-fabric
fabric · 1.21.1, 1.21.2, 1.21.3 · 5d ago
## [1.0.4] - Initial Modrinth Release This is the first official release of the InputEngine Fabric client mod on Modrinth! ### ✨ Features * **Keybind…
3
Release
1.0.4-spigot
paper, purpur, spigot · 1.21, 1.21.1, 1.21.2 · 5d ago
## [1.0.4] - Initial Modrinth Release This is the first official release of the InputEngine Spigot server plugin on Modrinth! ### ✨ Features * **Custom…
1

Comments 0

No comments yet. Be the first to share your thoughts.