Home›Java›Mods›Let Me Click And Send for Server
Let Me Click And Send for Server
ModsJava

Let Me Click And Send for Server

Java mod listed for Minecraft 1.16–1.21. Downloads from the MC Java Mods app on Android.

by Fallen_Breath · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.5–1.21.11 · Fabric⬇ Download for 1.21–1.21.4 · Fabric⬇ Download for 1.20.5–1.20.6 · Fabric⬇ Download for 1.20–1.20.4 · Fabric⬇ Download for 1.19.1–1.19.4 · Fabric⬇ Download for 1.21.5–1.21.11 · Forge⬇ Download for 1.21–1.21.4 · Forge⬇ Download for 1.20.5–1.20.6 · Forge⬇ Download for 1.20–1.20.4 · Forge⬇ Download for 1.19.1–1.19.4 · Forge⬇ Download for 1.21.5–1.21.11 · NeoForge⬇ Download for 1.21–1.21.4 · NeoForge⬇ Download for 1.20.5–1.20.6 · NeoForge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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:

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more