Tags
Creators
Details
All versions
1.0.1
Alpha
KrepAPI (Plugin) 1.0.17 months ago 41
Compatibility
Minecraft: Java Edition
26.1–26.1.1
1.21.4–1.21.11
Platforms
Paper
Purpur
Changes
IMPORTANT: Set
require-krepapitofalse- there is currently a bug related to this, but it will be fixed in the next update
Added
- Debug mode — new
debug: true/falseoption inconfig.yml; when active, all log lines are prefixed with[DEBUG]and cover the full plugin lifecycle:- Handshake flow (nonce generation,
S2C_HELLOsend, timeout scheduling). C2S_CLIENT_INFOprocessing (protocol version, mod version, capability bitfield, nonce validation, version-check result).- Binding config loading (each parsed entry with key code, command, category, override flag; final count).
S2C_BINDINGSsync (entry count, send/skip reason).C2S_KEY_ACTIONdispatch (action id, phase, sequence, cooldown check, command execution).C2S_RAW_KEYandC2S_MOUSE_ACTIONdecoding (key/scancode/button, GLFW action, modifiers).S2C_RAW_CAPTURE,S2C_INTERCEPT_KEYS,S2C_MOUSE_CAPTUREoutgoing sends (including capability gate).- Version constraint registration and cleanup on plugin disable.
- Player quit cleanup.
- Hex-dumped raw payloads (with byte length) for every incoming and outgoing plugin-message channel.
- Handshake flow (nonce generation,
/krepapicommand (permissionkrepapi.admin, default: op) with tab completion:/krepapi debug [on|off]— toggle debug logging at runtime without server restart; without argument it toggles the current state./krepapi status— global overview: debug state,require-krepapi,minimum-mod-version, loaded bindings (with key → command mapping), online/handshaked/pending player counts, and registered version constraints by plugin./krepapi status <player>— per-player detail: handshake state (complete / pending / none), capability bitfield, and decoded capability flags (e.g.MOUSE_CAPTURE)./krepapi reload— hot-reloadconfig.yml, re-parse debug flag and bindings without restart.
Notes
- The
net.shik:protocoldependency version inbuild.gradlemust stay aligned withmod_versionin the sibling KrepAPI repo’sgradle.properties. - Players still need the KrepAPI Fabric mod build that matches their Minecraft client version; the plugin only handles the server side.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:fT3cXvWV:WA6w84ej"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:fT3cXvWV:WA6w84ej"
}


