Server Keyboard Bridge | Get keyboard input from client
1.1.0Allow the server to determine which keyboard key was pressed by the client
Disclaimers:
*The client need to install the Fabric mod, it's impossible to detect client input without a mod
**This is an API for others plugins / Skript.
Have you ever wanted to add custom keybinding to perform an action like "press H to spawn your horse" or "press M to run /menu" ? This is now possible with ServerKeyboardBridge!
Usage:
When the modded client connects to your server, he can find a new button on the game pause menu. This button is for key bindings.
The server will receive the pressed key information and perform some logic in response.

Installation + Q&A:
Check the Wiki
If you want to use it with Skript
More details on the Wiki
on load:
register key entry with id "horse" named "spawn your horse", description "description", category "page 1" and keycode 72
register key entry with id "cmdMenu" named "run /menu", category "page 1" and keycode 77
# 72 for key H , you can find the list here : https://www.glfw.org/docs/latest/group__keys.html
# 77 is for key M
on key pressed with id "horse":
set {_playerIsInGui} to event-boolean
if {_playerIsInGui} is false:
spawn an horse at event-player
equip last spawned horse with saddle
on key release with id "cmdMenu":
# Check if player is not in any GUI
if event-boolean is false:
make event-player execute command "/say hi"
on skb player join:
send "<lime>%event-player% has join the game with ServerKeyBoardBridge-%event-string%" to console
send "<yellow>Thanks to use ServerKeyBoardBridge, enjoy our custom key binds :D" to event-playerSupport
If you require support or have questions, open an issue on the GitHub repo.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta