MessageCommander: Chat-to-Command Bridge for Minecraft

MessageCommander for Minecraft turns chat messages into command triggers, automating rewards, aliases, and log reactions without any programming knowledge.

MessageCommander: Link Chat Messages to Commands in Minecraft

Every Minecraft server operator knows the feeling: you have a plugin that announces a player's achievement, but it cannot hand out a reward. Another add-on logs a quest completion, yet there is no way to trigger a follow-up action. The chat is full of information, but none of it is actionable. MessageCommander: Link Chat Messages to Commands in Minecraft changes that entirely. This Bukkit plugin listens to the words flowing through your server and turns them into precise, automated commands. It is the missing connector that binds your server's ecosystem together.

Why Your Server Needs This Chat-to-Command Bridge

The core idea is elegantly simple: you define a text pattern, and when the plugin detects it, it executes a command. This can happen on behalf of the player who typed the message or from the console with full permissions. The practical applications are nearly limitless. Imagine a player typing "help me" and instantly being teleported home. Picture a donation plugin announcing a purchase and MessageCommander immediately granting a rank or a special item. This is not just automation; it is intelligent automation that reads context from the chat itself.

For newcomers, this plugin also lowers the barrier to entry. Instead of memorizing strict slash commands, players can use natural language. A phrase like "please send me to spawn" can be mapped to the appropriate teleport command. This makes your server feel more welcoming and intuitive, which is a huge win for community retention.

Inside the Rule Engine: How It Works

All logic is managed through simple YAML files stored in the MessageCommander/rules directory. You can edit existing rules or create new ones by adding files with the .yml extension. Each rule defines what to listen for, where the message comes from, and what action to take. The system is designed to be approachable for server admins who do not want to write complex code.

Five Ways to Match Text

The plugin offers five distinct comparison methods, covering almost any scenario you can think of:

  • EQUAL — Performs a case-insensitive match. "Aaaa Bbbb" is treated the same as "aaaa bbbb".
  • CONTAINS — Looks for a substring anywhere in the message. Perfect for catching specific keywords.
  • START — Checks if the message begins with a specified phrase.
  • END — Verifies if the message concludes with a particular string.
  • REGEX — Uses regular expressions for maximum precision and allows you to extract specific parts of a message.

Listening to Multiple Sources

MessageCommander does not just watch the player chat. It can monitor several channels simultaneously, and each rule can be bound to a specific source:

  • ALL — Listens to every available source.
  • CHAT_PLAYER — Messages typed by players in the chat.
  • CHAT_CONSOLE — Commands entered in the server console.
  • CHAT_MESSAGE — Any message received by a player, whether from a plugin, another player, or a mod.
  • LOG — Entries written to the server log, which often include plugin prefixes.

This granular control allows for sophisticated workflows. You can react only to console commands, ignoring the player chat entirely. Alternatively, you can scan logs to detect system events and trigger backup routines or announcements.

Configuration Example and Key Parameters

Let us look at a real-world configuration snippet to understand the mechanics:

test:
  type: EQUAL
  source: ALL
  message-mask: help me
  command-line: say %player% need %word1%!
  execute-as-console: true
  cooldown-time: 3s

Here is what each field controls:

  • type — The comparison method. In this case, it is an exact match.
  • source — Where the message originates. Setting this to ALL means the rule triggers from chat, console, or logs.
  • message-mask — The exact text pattern to look for.
  • command-line — The command to execute. Placeholders like %player% insert the triggering player's name, while %word1%, %word2%, and so on, capture individual words from the original message.
  • execute-as-console — When set to true, the command runs with full console privileges.
  • cooldown-time — Prevents spam by limiting how often the rule can fire. The format here is 3 seconds.

The regex support is particularly powerful. You can extract usernames, numbers, or even coordinates from a message and feed them directly into teleport commands or reward systems. The cooldown feature ensures that even the most talkative player cannot accidentally trigger a rule repeatedly.

Installation and Dependencies

Getting started is straightforward. The plugin requires ProtocolLib, a standard library used by many Bukkit plugins to handle network packets. Ensure you have the latest version installed on your server. Once that is ready, simply drop the plugin's jar file into the plugins folder and restart the server. A new directory with example rules will be created, and you can begin customizing your automation immediately.

It is worth noting that the plugin currently does not introduce any new commands or permissions. All management is done through the configuration files, which keeps the learning curve minimal. For those who prefer a visual interface, you can download MessageCommander: Link Chat Messages to Commands in Minecraft for Minecraft and pair it with other tools. The plugin also includes a built-in update checker that contacts dev.bukkit.org once an hour. If you want to disable this, set check-updates to false in the config.yml file.

Final Thoughts on Automation

MessageCommander: Link Chat Messages to Commands in Minecraft is a compact yet transformative tool for server management. It requires no programming knowledge, operates on a simple "find message, run command" principle, and integrates seamlessly with your existing plugin setup. Whether you are granting rewards, creating friendly command aliases, or reacting to server logs, this plugin saves hours of manual work. The installation process is simple, and the documentation is clear. If you are ready to make your server feel alive and responsive, this is the plugin to try. Add a few rules, watch your server react to player words, and see the difference it makes.

For those wondering how to install, the process is as simple as placing the jar in the plugins folder after installing ProtocolLib. The plugin supports modern Minecraft versions and runs on the Bukkit/Spigot/Paper loaders, making it accessible to most server setups. Give it a spin, and you will wonder how you ever managed without it.

Download MessageCommander for Minecraft 1.5.2

Original name: MessageCommander

Minecraft: 1.5.2

FileVersionLoaderSize
MessageCommander.jar1.5.228 КБDownload