Chat Manager | 1.8 ~ 1.20+ | 30+ Features and 40+ Commands! icon

Chat Manager | 1.8 ~ 1.20+ | 30+ Features and 40+ Commands! -----

Chat Formatting | Private Message | Chat Protection | Chat Radius | Auto-Broadcast | and MUCH MORE!



Update #41, Additions and Bug Fixes
This update contains file changes.

I have added support for the latest 1.13 build. 1.13 pre-7 is no longer supported!

Added:
  • I have added a chat bot feature, when a player asks something in chat, the chat bot can respond with an answer.
    • ChatBot can execute commands upon answering a question.
    • ChatBot can be activated with a specific permission, if the player doesn't have the correct permission the bot will respond with its set "No_Permission" message.
    • ChatBot has a custom prefix.
    • A sound can be played when the bot responds to a player.
  • Added a new file called ChatBot.yml where you can setup the chatbot feature easily.
  • Added an advertising increase sensitivity boolean in the config, if enabled the checker for the advertising feature will be stronger, but can cause false positives.
  • Added a blacklist for commands that won’t be logged in the Commands.txt file.
This file will generate by itself once you restart your server.
Code (Text):
#=================================================================================================#
#                                 Main Configuration of Chat Bot
#=================================================================================================#
#
#    1. This feature you can create trigger messages that will activate the chat bot, and the bot will
#    respond with your bot response.
#
#    2. You can execute commands just encase you need to for any reason.
#
#    3. You can have a required permission so if the player doesn't have the correct permission
#    the bot will not do anything towards that player or rank.
#
#    4. Sound List
#       - 1.9 and newer: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
#       - 1.8 and older: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
#
#=================================================================================================#

Chat_Bot:

  Enable: false
 
  Bot_Prefix: "&cChatBot &9>> &r"
 
  #The sound that is played when the bot responds to someones question.
  #Do Sound: '' to disable
  Sound: ''
 
Messages:

  #The name of this section, can be anything.
  One:
 
    #The message the player has to type in chat for the bot to activate, you can add as many as you want.
    Players_Messages:
    - "How are you doing today chatbot?"
   
    #The message the bot replies with.
    Bot_Response: "&fI'm good &e{player}&f, thanks for asking"
   
    #The required permission to execute this message.
    Required_Permission: "none"
   
    #If you don't have permission the bot will say this:
    No_Permission_Message: "none"
   
    #The command that will execute upon triggering this message.
    Executed_Command: "none"
  Two:
    Players_Messages:
    - "Where are the crates at?"
    - "Where are the crates?"
    Bot_Response: "&fThey are at &e/warp crates &f{player}!"
    Required_Permission: "ChatBot.Crates"
    No_Permission_Message: "&cSorry {player}, but you cant use the crates."
    Executed_Command: "warp crates {player}"
  Three:
    Players_Messages:
    - "help me"
    - "can someone help me?"
    Bot_Response: "&fSure thing &e{player}&f, do &e/help&f!"
    Required_Permission: "ChatBot.help"
    No_Permission_Message: "&4No"
    Executed_Command: "none"
  Four:
    Players_Messages:
    - "What world am I in?"
    Bot_Response: "&fYou are in the world &e '{world}' {display_name}&f!"
    Required_Permission: "none"
    No_Permission_Message: "none"
    Executed_Command: "none"

Fixed:
  • Fixed a bug where if you set the chat cooldown and/ or command cooldown to ‘0’, nothing will be blocked like swearing, advertising, etc, it will tell the players not to swear in chat and notify staff, but their message will be sent in chat.
  • Fixed up the anti advertising checker.
  • Fixed up the anti-bot feature.
  • Fixed up some performance issues:
    • When players swear in chat two or more times in a row they won’t get sent the three messages “Do not swear in chat”, “Do not repeat the same message” & “Please wait {time} before sending another message”. As of now it will only send one message which is “Do not swear in chat”
    • When a player is spamming a repetitive message they will no longer get the two messages “Do not repeat the same message” & “Please wait {time} before sending another message” at the same time.
    • The same thing has been done with AntiAdvertising, AntiBot, BannedCommands, and Mute Chat.
Config Changes:

Add this to line 32 in the config.yml (In Anti-Advertising under Enable)

Code (Text):
  #Should the anti advertising checker be more sensitive.
  #WARNING! May cause a lot of false positives!
  Increase_Sensitivity: false
Add this to line 262 in the config.yml (Right under the Log_Commands: boolean)

Code (Text):
  #Commands that wont be logged in the Command.txt file.
  #Commands in the Blacklist_Commands list must be lowercase.
  Blacklist_Commands:
  - "/login"
  - "/register"
If anyone has any problems, questions, or concerns please PM me.

You can join our discord as well if you'd like: Link

If you like this plugin please give it a five star rating!
----------, Jul 29, 2018
Resource Information
Author:
----------
Total Downloads: 284,360
First Release: Jan 19, 2018
Last Update: Jan 14, 2022
Category: ---------------
All-Time Rating:
248 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings