Flexible Cmd Inputs
by Noxphant
Flexible Cmd Inputs lets a web request run Minecraft commands on the client through a small HTTP interface, so outside tools can send commands to the game.
What it does
Once the mod is running, a client accepts POST requests at an access address and executes the command text it receives as ordinary Minecraft commands. The result comes back as a JSON execution result in the response body, with no extra formatting to parse. The interface listens on a web port that defaults to 8080, and a request is only accepted on the port the mod currently reports.
Commands are sent to the port that the mod is using, and the port can be changed to a different value within a valid range. To check which port is active, the mod provides a command that returns the current number in JSON. Because the mod runs only on the client, a server does not need it, and each player installs it on their own game.
The mod is built for Fabric and is published for 1.20.1 – 1.20.6, with six release versions covered and 0.9 for 1.20.6 as the latest file on the beta channel. It is released under CC0 1.0 Universal, and the code is open source, with a public source repository and issue tracker.
Key features
Command execution over HTTP
A client accepts a POST request and runs the command text it contains as a Minecraft command.
JSON results
The outcome of each executed command is returned directly as JSON in the response.
Adjustable web port
The web interface defaults to port 8080, and its number can be changed within a defined valid range.
Port check command
A built-in command reports the current port number, so requests can be sent to the correct address.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
External tool control
A script or companion app on the same machine can send commands to the running game and read the results.
Automation and testing
Repeated in-game actions can be triggered from outside the game while the client is running.
Who it’s for: Players and developers who want to drive a single Minecraft client from another program over HTTP. The mod does not change how commands behave; it only supplies the request path to the game.
Questions
Does Flexible Cmd Inputs need to be installed on the server?
Which loader does Flexible Cmd Inputs use?
How does a program find the port the mod is using?
What the author says
Get the current port number of the WebUI/API (the default port number is 8080) Change the current port number of the WebUI/API to [port] (valid range: 1–65535)
Official listing
- Modrinth page
- modrinth.com/mod/flexible-cmd-inputs
- Owner
- Noxphant
- Published
- 2025-12-27
- Updated on Modrinth
- 2025-12-27
- Facts verified
- 2026-10-15
