Mod

Let Me Click And Send for Server

Quick rating

Let Me Click And Send for Server

No reviews yet

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

No Theme
No Genre
Server Utility
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 only
Latest Version
[neoforge] Let Me Click And Send for Server v1.0.3 for mc1.21.11
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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 command value is always valid, regardless of whether it starts with a / or not
  • The client will strip the / prefix from the command value 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

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 command value is always valid, regardless of whether it starts with a / or not
  • The client will strip the / prefix from the command value 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

Screenshots

Gallery

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~6,000
Total Downloads
CurseForge
~3,000
Modrinth
~2,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync