MsgForward icon

MsgForward -----

Intercept any plugin's message prompts through keywords and execute custom commands.



Plugin 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.
Command Permissions
  • /mf reload - Reload the configuration file
  • /mf test <text> - Test if the specified text matches the rules
  • msgforward.admin - Main permission
Configuration File
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}"
Resource Information
Author:
----------
Total Downloads: 18
First Release: Dec 4, 2024
Last Update: Dec 4, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings