HomeJavaModsMessageHacker [1.12-1.16]
MessageHacker [1.12-1.16]
[​IMG]
About
MessageHacker - a tool, which will give you ability to handle every message in chat on your server ( even from other plugins). Hate that some plugins do not provide you lang files to change messages? Want to turn off annoying spam messages? No problem! With this plugin you can modify anything.

Features
- Change any server chat message on fly. ( Translate untranslable plugins!)
- Change parts of every messages via regex.
- Replace words via %word<N>% placeholder
- Hide any server chat message.
- Regular expressions with capturing groups supported.
- PlaceholderAPI support
- JSON input / output supported (make your own hover or clickable text)
- Ability to ignore colors on input
- Multiple rule files, folders. Sort your rules as you want!

Commands & Permissions
/msghacker reload
- Reload rule configs
/msghacker capture <N> <fileName> [-json] - capture next N messages and save to txt file.
(Will appear in plugins/MessageHacker/capture folder)

messagehacker.command.msghacker - to use commands

Example
Spoiler: Example rule
More examples will appear on plugin first start.
Code (Text):
example_unknown_command_rule:
  type: EQUALS
  input: "&rUnknown command. Type \"/help\" for help."
  output: "&8(&7Server&8) &cUnknown command!"
  useInputColors: true
  useInputJson: false
  useOutputJson: false
example_noperm_rule:
  type: STARTS
  input: "I'm sorry, but you do not have permission to perform this command."
  output: "&8(&7Server&8) &cYou don't have permission!"
  useInputColors: false
  useInputJson: false
  useOutputJson: false
Explanation

type: EQUALS # Required
The type of filter. Available: EQUALS, STARTS, ENDS, CONTAINS, REGEX
input: "Input text" # Required
The original server chat message to trigger.
output: "Output text" # Required
The text to replace. Keep empty ("") to cancel message. For REGEX working as simple regular expression replace, including groups $N.
useInputColors: true # Default: true
Do not strip colors and format before comparing original with input.
useInputJson: true # Default: false
Do not convert JSON format to plain text before comparing. By default, all server messages are in JSON format.
useOutputJson: true # Default: false
Do not convert output as plain text to JSON. By default, output converting to raw JSON format.

ToDo
- Add translate type message support (native vanilla messages)
- ... have some ideas? Write them in review or discussion!

Dependencies
- ProtocolLib (Required)
- PlaceholderAPI (Optional)


Like plugin? Please, rate it :)
Having issues? Please, do not describe it in review with low rate.
First contact me or write it in discussion theme. I will try to fix it as faster as I can.

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

MessageHacker [1.12-1.16] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 723 times (via Spigot). Download it and open it directly in the game.

Explore more