Chat Recognizer 1.0

Execute commands/messages if a message is detected in chat!

  1. JC_Plays_MC
    About:

    This is a rather basic plugin that simply listens to the server chat and if a message matches a defined message in the config.yml it will execute the specific messages, and/or commands pertaining to it.

    Config:

    The config is fairly straightforward and can be found below. You can use the [PLAYER] cast for commands to make them execute as the player who entered the message or the [BROADCAST] cast to execute the message as a broadcast to the entire server. You can also enable a sound to be played when the message is detected in chat, and finally you can use the %PLAYER% placeholder which will be replaced with the name of the player who sent the message.

    All commands by default will be run by the console unless the [PLAYER] cast is added to the command. All of the messages by default will be sent to the player unless the [BROADCAST] cast is added to the message.

    Code (Text):
    MessagesToDetect:
      1:
        Message: 'Heal me please!'
        Commands:
        - heal %PLAYER%
        - spawn [PLAYER]
        Messages:
        - '&aYou have been healed!'
        - '&b%PLAYER% has been healed![BROADCAST]'
        Sound: LEVEL_UP
      2:
        Message: 'Who made this plugin?'
        Commands: []
        Messages:
        - '&8&m------------------------[BROADCAST]'
        - '&bJC_Plays_MC made ChatRecognizer![BROADCAST]'
        - ''
        - '&aClick here for other resources:[BROADCAST]'
        - '&ahttps://www.spigotmc.org/members/jc_plays_mc.17757/[BROADCAST]'
        - '&8&m------------------------[BROADCAST]'
        Sound: LEVEL_UP    

    Installation:

    After installing the plugin and restarting your server you will need to restart the server yet again to make sure that the newly generated config.yml registers with the plugin.

    Donations:

    If you feel like my plugin has helped you in any way and you feel like giving back click the link below.
    (Click here to donate)

Recent Reviews

  1. JackOrmondroyd
    JackOrmondroyd
    2/5,
    Version: 1.0
    Would love to use, but no config if generated.

    Stopped and started server twice.

    Restarted server twice.
  2. thomi100
    thomi100
    4/5,
    Version: 1.0
    The plugin is working, but it would be nice if you could add more placeholders and if you could add more options, for example "Equals this message", contains or EqualsIgnoreCase.
  3. garrett149b123
    garrett149b123
    1/5,
    Version: 1.0
    There is no config generated when I install the plugin into the my server my server doesn't even recognize there is a new plugin.
    1. JC_Plays_MC
      Author's Response
      "After installing the plugin and restarting your server you will need to restart the server yet again to make sure that the newly generated config.yml registers with the plugin." Did you read the description?
  4. AuzziPuppy
    AuzziPuppy
    1/5,
    Version: 1.0
    Doesn't work like it should for me.
    1. JC_Plays_MC
      Author's Response
      That's a beautiful review, maybe if you explained your issues...