
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
Example rule
More examples will appear on plugin first start.
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: falseExplanation
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.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta