This update contains file changes.
(sorry)
Added:
- Added an option to enable/ disable swearing to be blocked in commands.
- Added a list of whitelisted commands that wont be blocked if it has a swear word in it.
- Added an option to enable/ disable the bot from broadcasting messages, if the option is disabled the bot will only respond to the player that activated the bot.
- I forgot to mention that the ChatBot feature has PlaceholderAPI support when I released the feature.
Config Changes:
Add this to line 123 in the config.yml (under Execute_Command in the Anti_Swear feature)
Code (Text):
#Block swearing in commands.
Block_Commands: true
#If a player executes one of these commands with a swear word in it, the command will not be blocked.
Whitelisted_Commands:
- "/report"
- "/login"
- "/register"
Add this to line 25 in the ChatBot.yml file.
Code (Text):
#Broadcast the bots response to everyone on the server
Broadcast_Response: true