Filled Chat RegExp

Discussion in 'Plugin Requests' started by Dr_Lobster_face, Dec 18, 2018.

Thread Status:
Not open for further replies.
  1. Offline


    Plugin category: Custom Triggers and Scripts

    Minecraft version: Minecraft 1.11.2

    Suggested name: Chat RegExp

    What I want: I'd like a plugin that can modify chat messages using regular expressions and can use capture groups in replacements ($1, $2, $3 etc)

    Ideas for config:
      message: (regex)
      match-whole-line: (true/false)
      replacement: (message)
      message: Howdy (.*)!
      replacement: Hello $1!
    # [Donator] Guy: Howdy Guy2!
    #  Become:
    # [Donator] Guy: Hello Guy2!
    Config explanation:
    name - User defined name of the replacement
    message - The message to be scanned
    replacement - What to replace the message with (Replaces the entire message, not just the match!)

    Ideas for commands: /cre reload - Reloads the config

    Ideas for permissions: cre.reload - Can a player reload the config?

    When I'd like it by: ASAP

    (P.S. I know plugins like this already exist, such as Chat replace, but these do not support using captured groups in replacments)
  2. Offline


  3. Offline


    Just seen this, thanks!
Thread Status:
Not open for further replies.

Share This Page