A simple Minecraft server-side mod, that replaces all non-command run_command content with a custom command,
to bypass client-side restrictions since 1.19.1-rc1
If you want a more direct solution, here's a client-side only mod that does the same thing: LetMeClickAndSend
| Mod | Side | Advantage | Disadvantage |
|---|---|---|---|
| LetMeClickAndSend | client | Exactly the same behavior as pre mc1.19.1 | Needs to be installed on all players' clients |
| LetMeClickAndSendForServer | server | No need to install on client | Reduces maximum chat message length by 7 |
Example
Let's run the following command, and then click the shown text
# Minecraft [1.7, 1.21.5)
/tellraw @a {"text":"click me to send \"hi\"","clickEvent":{"action":"run_command","value":"hi"}}
In vanilla 1.19.1 ~ 1.21.4, after clicking, you are not able to say anything since hi is not a valid command (not starts with /)
With this mod, the server will automatically replace the value field in the click event above with /lmcas hi,
so the client can "send" the message without any issue after the click
On command received, the server will broadcast a message with the same format as a player message, simulating the player saying "hi" in chat
MC 1.21.5+
Since MC 1.21.5, the run_command behavior has changed a lot
First is the change in command syntax, which has little impact:
# Minecraft [1.21.5, ~)
/tellraw @a {"text":"click me to send \"hi\"","click_event":{"action":"run_command","command":"hi"}}
Next is the change in behavior, which has a greater impact:
- The
commandvalue is always valid, regardless of whether it starts with a/or not - The client will strip the
/prefix from thecommandvalue and send the remaining string as a command
It's no longer possible to correctly distinguish between "a run_command for sending chat message" and "a run_command for sending command"
As a workaround, LetMeClickAndSendForServer for MC >= 1.21.5 will only replace certain command with the /lmcas command.
By default, only command value starting with !!, which is a commonly-used command prefix
in MCDReforged plugin ecosystem, will be replaced
A config file located at ./config/letmeclickandsendforserver/config.json is added for customizing the replacing behavior
{
"replacePattern": "!!.*"
}
The replacePattern should be a valid regex pattern. All command values that fully match the pattern will be replaced with the /lmcas command
To test with the default configuration, you can use:
/tellraw @a {"text":"click me to send \"!!MCDR\"","click_event":{"action":"run_command","command":"!!MCDR"}}
Requirements
It's a server-side only mod. It requires 0 extra dependency
How to Install Let Me Click And Send for Server (Mod)
Let Me Click And Send for Server by fallen-breath is verified for Fabric, Forge, Neoforge across Minecraft versions 1.14.4, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5 (latest release: v1.0.5-mc26.2, file size: 24 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.14.4, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded Let Me Click And Send for Server file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 1mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc26.2.jar - SHA-256:
7e0f0335bb51256aeafd0d85c26a9df92830a08ba87126a9c6f2297f0a193283 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.21.11-neoforge.jar - SHA-256:
8b07011e04bf67e1152f62bdd1d6a3e1526b910b7e1730816560e08af737e859 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.20.4-forge.jar - SHA-256:
878146afedd58248194824cdb617444b29c6525d9e31cd1360bae7803ad07065 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.21.4-neoforge.jar - SHA-256:
d0b24ea444dfa43845653f2ce0b48fe97bae52d768f59dfa6b82e36223458452 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.20.6-neoforge.jar - SHA-256:
4d1174200027f0318b5adf8cbeacf4bbd5a94539c514f19b86db2ea548d3016b - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.18.2-forge.jar - SHA-256:
203f75457fc8676d25d403380bb35e9a65b9d74cd0f1c37bb6e0c373abb50d9c - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.17.1-forge.jar - SHA-256:
b436ced5a99e2137ff1e3fa1e8bbaf22f9c079b56e61c6a8c2b00731855cb59e - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.19.4-forge.jar - SHA-256:
a84b52e76872280e2d02c6071e6daa5b1ebd998456cff2946e65069118709a65 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.16.5-forge.jar - SHA-256:
ea9cba9a623cbf41a7321eb6e6e366ef6b30fb73d56a806a2b95f527e03aa723 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc26.3.jar - SHA-256:
94535cfac3a29091bdb8611bf368a809364b875846f0a20ac3d148e3523879f3 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.21.11-fabric.jar - SHA-256:
d99005dd3e79601f2377b6539122a81d3bfb0df2347720e568d819c5e1711ecd - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc26.1.2.jar - SHA-256:
3044e4e6770764f60a09b8156c8294af3a78e8989b7a745a0fd3590cc8d15758 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.21.4-fabric.jar - SHA-256:
b4fa24286addcec7e840c8da5530d4bf936cfc85bf49eccb98e029f3cd111411 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.20.6-fabric.jar - SHA-256:
74630b1fad9815fc5122ba4ebf17964bd71e469e52efaaebd316d425a8ed8d34 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865
- (mc26.3) fix mimic message contains a "System chat:" prefix
Build Information
- File name:
LetMeClickAndSendForServer-v1.0.5-mc1.20.4-fabric.jar - SHA-256:
570ede2759429e1f9902816ff443ed3da1c918d18d67e86f13f9d97eaea03d24 - Built from: https://github.com/Fallen-Breath/LetMeClickAndSendForServer/actions/runs/39461306865