ModsJava
MsgForward
Intercept any plugin's message prompts through keywords and execute custom commands.
⬇ Download on SpigotPlugin Overview
- Customize the interception of any plugin's message prompts through configuration files, and execute custom commands.
- It can be used in combination with plugins like BetterHud to forward certain prompt texts to other pop-ups or locations via commands.
- The plugin requires the PacketEvents API as a prerequisite.
- /mf reload - Reload the configuration file
- /mf test <text> - Test if the specified text matches the rules
- msgforward.admin - Main permission
Code (YAML):
# Console debug log output
debug : false
# Matching message keywords
messages :
- "&e's game mode has been set to"
# Strings starting with # will be treated as regular expressions
# Color codes within regular expressions need to use §
# The following expression matches messages containing the keyword hello
- "#^.*hello.*$"
# Commands executed after interception
commands :
- "say {player} {message}"
debug : false
# Matching message keywords
messages :
- "&e's game mode has been set to"
# Strings starting with # will be treated as regular expressions
# Color codes within regular expressions need to use §
# The following expression matches messages containing the keyword hello
- "#^.*hello.*$"
# Commands executed after interception
commands :
- "say {player} {message}"
MsgForward is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 43 times (via Spigot). Download it and open it directly in the game.