CleverNotch
Talk to Notch (or your favorite personality) in Minecraft! This plugin allows you to create a virtual player in your Minecraft server and speak with them! The chat can be powered by Jabberwacky as well as other well-known chat bots (Cleverbot disabled until legal issues resolved). It comes with some configuration options to customize your server's resident AI to suite your needs!
Features
- Talk with a chat bot as if it were another player!
- Customize the bot to fit your server's needs!
- Toggle the bot on and off easily!
- Prevents basic spam to the bot!
Commands
- /clevernotch - Toggles the bot between the ON and OFF states.
Usage
To talk with your bot simply address it by it's name with a message included! for example: With the bot named 'Notch', "Notch, How are you doing today?", will send the text "How are you doing today?" To the bot. The bot will announce it's response in chat.
Installation
Simply drop the given JAR file into your plugins folder of your Bukkit installation! A default configuration file will be generated for you the first time the plugin is run. The configuration file contains details of the various options. A quick list of configurable features can be found below:
- botName - Sets the name that your bot responds to.
- botColor - Set the color of the bot's name in chat.
- botSource - Selects the bot AI source.
- minResponseDelay - Set the minimum time that must pass before the bot will respond.
Download
Future Plans
Some ideas I am currently tossing around:
- Allow for the creation of multiple 'personalities' (bots).
- Improve algorithm for detecting when the bot is being addressed.
- Wrap a 'learning' bot implementation such as JMegaHal in to allow players to 'teach' the bot.
- Provide a global (online) JMegaHal (or other) wrapping to make a 'Cleverbot' that learns from every server running the plugin. (Security? Feasibility?)
Let me know if there is any interest in these features or other suggestions!
Yeah. Last time I checked, it was working for me on 1.8. Definitely seems broken now.
CleverBot is not replying
@roygerbil
Can't seem to get the trigger to fire for it to work on Spigot 1.8.
What are you waiting for an update for? This still works on Spigot 1.8 at least
I am waiting for a 1.8.1 update.
Please.. <3
You get Could not pass event AsyncPlayerChatEvent to CleverNotch v1.1-RELEASE org.bukkit.event.EventException
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:646) [?:1.8.0_05] at org.dotGaming.Endain.CleverNotch.CleverNotch.cleanMessage(CleverNotch.java:151) [?:?] at org.dotGaming.Endain.CleverNotch.CleverNotch.onChat(CleverNotch.java:123) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_05] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_05] at java.lang.reflect.Method.invoke(Method.java:483) [?:1.8.0_05] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:328) [JavaPluginLoader$1.class:git-Cauldron-1.7.2-1.1112.04.1616] ... 37 more
If you do "notch ;_;"
Could you tell me the Bots? I know Cleverbot is disabled (aww). I know Jabberwacky is the default. But whats the list of them?
Hello guy !
I'm french and i'm very interrested by your plugin ! It's awesome.
Do you know I could make some translation ? Maybe this is a direct communication with a chat bot online ? ClerverBot can speak a little french on my server, but he go back to the english langage fastly. Does there is a french bot ? :p
Great plugin and may I ask what is the issue with CleverBot?
Please please add these
Overriding chat responses
You can override the responses, and basically making it only use this response for this.
Example config:
responses:
- can i be op? : No.
- how do i get (rank) : By doing this!
not having to say (for me, Dave) the bots name infront, but maybe anywhere in the sentence.
Hey Dave, what time is it?
[A.I]Dave: The time is (time)
AND please add the ability to use the players name, and other variables.
Currently using CleverNotch on my test server and it does not show the trigger when i type it in the chat.
ie. "server whats up" only displays "<player> whats up"
http://i.imgur.com/7BSpSUl.png
Is there a way we do not have necessary to write NOTCH at the start, just by adding the name of the bot at any part of the chat would activate it, for example:
me: Hey, NOTCH how are you Notch: Fine me: what are you doing Notch, are you bored? Notch: Yes I'm Bored
We would stop adding NOTCH at the start of the sentence, just by adding at any part of the sentence would activate it. And is there anyway that we could use it with PurpleIRC?
@cnaude
Accepted the pull request, thanks!
Will get a new version compiled and queued up ASAP!
- Endain
@Endain20
I sent you pull request on GitHUB that adds an event for this. :)
@mrgreaper
Currently it just fires off a call to broadcastMessage() which, to my knowledge, does not generate any chat events.
I can modify if so that it generates some sort of chat event I believe. Hopefully that would allow other plugins to process the bot output as normal chat. I'll investigate the idea and purple IRC further.
- Endain
what event does this use to chat? we use purple irc to connect the game chat with irc and would love for people in irc to see the bots replys too purple irc has a section for what gets transfered for example - console-chat - game-chat etc, what would the bots replys be classed as?
I went over to the CleverBot site just to see what the big deal was. After using it for a few minutes, I can safely say we're not missing ANYTHING by using a different chatbot. The stuff CleverBot came up with was, for the most part, complete nonsense. You're better off without it.
just added this not sure the difference between jabawocky and pandora, though players were talking about clever bot the other day so will likely switch to that when its fixed
@Disolia
Absolutely! In fact if I have the time I'll those features tomorrow or Wednesday!
Simply amazing! I hope you can get the cleverbot system to work on this. Though would you ever consider adding more features into this? Like for example adding customized triggers. Such as !namehere. Also allowing us to set more then one colour and include [ ] Brackets around the bots name.