Chat Responder
ChatResponder version 1.11
Chat Responder version 1.11
Now compatible with 1.9
ChatResponder picks up pre-defined common texts (questions, phrases) from the chat and automatically responds to it. If you manage one or more servers, the typical questions (and answers) can help you deal with those questions. This plugin does not use metrics, so it should not add extra burden on your traffic. You will need to customise the config.yml to cover your typical questions. It allows you to point many questions to the same responses. You can use chat color codes, pre-defined variables and user-defined variables.
From version 1.1, you can detect keywords and prepare multiple responses (it will be randomly chosen from the multiple responses) to a single question as well.
How to customise ChatResponder plugin
You can customise the ChatResponder in config.yml.1. responder: section
Example:To change the responder from the default <response> to <system>, change the line
responder: <response>
to
responder: <system>
2. question: and response: sections
Example:question:
- how do i join#1
- hello#2
response:
- 1,i don't know
- 2,i am fine, thankyou
In this example, if a player type 'how do i join' in the chat, ChatResponder will reply with the 1 in response section (i don't know).
You can create more than one questions and have it point to the same response.
Example:
question:
- how do i join#1
- can i be a staff member?#1
- hello#2
response:
- 1,i don't know
- 2,i am fine, thankyou
In this example, if a player type 'how do i join' or 'can i be a staff member?' in the chat, ChatResponder will reply with the 1 in response section (i don't know).
You can use colour code with & as in Essentials http://ess.khhq.net/mc/ .
Make sure you use & instead of ยง if you are following http://minecraftcolorcodes.com/ or http://minecraft.gamepedia.com/Form... .
Example:
question:
- how do i join#1
- can i be a staff member?#1
- hello#2
response:
- 1,i &adon't &rknow
- 2,i am fine, thankyou
In this example, the word "don't" will appear in green color.
3. You can use pre-defined variables in the response line.
Example:question:
- how do i join#1
- can i be a staff member?#1
- hello#2
response:
- 1,i don't know <%playername%>
- 2,i am fine, thankyou
In this example, the response will be 'i don't know Steve' (if the player's name is 'Steve').
** Currently, there are 7 pre-defined variables.
Pre-defined variables
<%playername%> | The player's name |
<%playerdisplayname%> | The player's display name |
<%servername%> | The current server name |
<%servertime%> | The current server computer time (hh:mm) |
<%serverdate%> | The current date (dd/mm/yyyy) |
<%uuid%> | The player's UUID |
<%randomuser%> | Randomly selected online user's displayname |
4. You can create your own user-defined variables
to ease your typing as long as it is not in conflict with the pre-defined variables.When using user defined variables, place <% .. %> around your variables in the response list.
Example:
question:
- how do i join#1
- can i be a staff member?#1
- hello#2
response:
- 1,i don't know <%jumbo%>
- 2,i am fine, thankyou
user-defined:
- jumbo,Jumbo No Limits
- ama, A M A Q Q
In this example, the response will be 'i don't know Jumbo No Limits'.
Sample of basic config.yml
More advanced settings
5. <%lookfor%> keyword
You can use <%lookfor%> to search the chat line. For example,
question:
<%lookfor%>how,join#4
This will use response #4 if it detects both "how" and "join" in the chat.
6. Multiple responses
If you put more than one response key after the # (seperated by "," - comma), ChatResponder will randomly select one of them to respond.
For example,
question:
- hi,#1,2,3
response:
- 1, Hi <%playername%>, how are you?
- 2, Hello, how are you <%playername%>?
- 3, Hey <%playername%>, long time no see.
Sample of more advanced config.yml
7. Turn ChatResponder on/off
You can
type /chatresponder off to turn off the ChatResponder, or
type /chatresponder on to turn on the ChatResponder, again.
It is automatically on when the plugin is loaded.
Permission to use this command (for admin) is chatresponder.use
but why to me it does not work ??? please update to 1.8 (stable)
@ZedlaUniverse
@Zedla, thanks for your feedback. I'll add a message in for the next release. In the meantime, if you want to know the status (whether it's on or off), you can just type /chatresponder.
I really like this plugin. I use it on my server to entertain people or to answer questions people might have. My only issue seems to be the lack of response when typing /chatresponder on and /chatresponder off. I can't tell if they work or not. Otherwise, awesome plugin!
Version 1.11 fixes this problem. Thank you.
Plugin Version: 1.1 Java: 8 Spigot/Bukkit Version: CraftBukkit version git-Spigot-6c9b0a1-de5c261 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
Plugin loads fine, but I get no response when I type /chatresponder on
I also created the perfect config from what I can tell.
Pasted config below: http://hastebin.com/epiyamipog.pl
Would you mind taking a moment to review this?
The concept of this plugin is amazing! I LOVE the idea of bot responses.
Also not sure if this is correct but I say the message in full chat, and nothing happens, also had a player try this who is operator. By chance do they need to say these messages in a PM (private message) to me specifically?
@2008Choco
Thanks and I laughed in some parts. Anyways thanks for feedback
So this is kinda similar to a Siri but in game and public to everyone. I like it a lot ^-^ Neat little concept. If you're alone on the server, feel free to talk to the ChatResponser. I know tons of people on my server always randomly say "Hi me, how are you doing", etc. and I find it quite humourous. Perhaps if they had a "person" (AI) to talk to, they would not be so lonely.
I see this being used on less popular servers a whole lot. Not because your idea isn't good, but simply because it's the most practical use for this plugin. I quite like the idea, so keep up the great work :D Good job