Ample Chat Bot
View the documentation
View the source code on Github
Download the latest version on Github
Report issues and request features on Github
Aid in translating this project to your language on Crowdin
What is this plugin?
Ample Chat Bot is a chat robot that responses to key phrases people say in chat. By doing this, it eliminates the need to answer common questions people ask like "can I be op?".
- Localized for English
- Simple Commands
- Database Support:
- Bukkit
- SQLite
- MySQL
- Bukkit
- API for developers
Requirements
- Bukkit
- Some form of permissions
Commands and Permissions
Command | Permission | Description |
---|---|---|
/ample | Displays commands for this plugin | |
/question <question or keyphrase> | ample.edit | Adds a question or keyphrase |
/answer <question id> <answer> | ample.edit | Sets the answer to a question or keyphrase |
/qlist | ample.qlist | lists questions |
/delquestion | ample.delete | Removes a question from the database |
/amplesay <message> | ample.say | Sends a message as the bot |
Additional Permissions
Permission | Description |
---|---|
ample.* | Gives access to all commands |
ample.invoke | Allows a user to invoke responses |
ample.allowabuse | Allows a user to bypass abuse routines |
Message Format
Ample can not only respond with text, but can also execute commands in chat. Ample can also run commands and send private messages to the player. In order to do this, you use one of the following as a prefix to the message
In addition, you can also have ample do combinations of these by separating them with a ";". For example, the response No you shut up - muted lol;cmd:mute %player
will say the first
part in chat, as well as mute the player.
Prefix | Effect |
---|---|
cmd: | Runs a command as console |
pcmd: | Runs a command as the player |
pm: | Send a private message to the player |
This plugin utilizes Plugin Metrics for collecting statistics about this plugin and usage. These stats can be viewed here.
The bukkit implementation of this plugin uses Updater for automatic updating from the project page at dev.bukkit.org
How do i stop people from using this to spam chat by repeatedly spamming questions?
@Dracasis
The plugin doesn't support any other plugins at the moment. What is he name of the whisper plugin?
Dose this bot support whisper commands? I have another mod that allows players to receive whispers from other players so if this mod can invoke commands from another mod (or just whisper a response itself) than that would eliminate a certain amount of abuse :)
@masterofninjas
Q: Do caps matter? Or can they be configured?
A: If I understand you you can set triggered responses per so many seconds in version 1.1 config.yml! If if your asking if caps matter in questions no it doesn't matter.
Q: Spacing too?
A: Not sure if I follow you on your question.
Q: Q: Title in chat? Ex: [AmpleBot] to [ModBot]
A: You can set the chat display in the config.yml. As example some things have been removed to conserve space:
...........
BotName: 'ModBot'
Display: '[%botname] %message'
............
AbuseAction: kick
AbuseKick: '[ModBot] Do not abuse me or I will keep kicking you!'
.............
@WayGroovy
Your welcome!
I have thought about random answers to questions but was not sure how I could pull it off. Like doing multiple instances of the question with different answers.
I am just curious why you want to do random response delays? Though you gave me the idea to allow you to set the delay. I have it at 2 ticks and I could allow people tweak it.
My Questions
-Thanks!
@Jascrod
Thank you for your suggestion! I could attempt to do a config reload command in the future but not sure if I will. Until or if I will do it you can attempt to use http:dev.bukkit.org/server-mods/plugman/ or WayGroovy's suggestion which is http:dev.bukkit.org/server-mods/pluginreloader/
@Jascrod
By any chance did you or the person that ran it did not supply a search term? you can do /qlist % to search all questions and key phrases. Besides that I totally forgot about that error and was going to add that to me todo list of correcting it so when people do just /qlist it will print out all the list.
Thank you for bringing this to my attention and thank you for using the plugin.
I'm not at my computer to get this set up or test it yet, just thought the idea was good. Thank you for making it.
Is there, by chance, a delay on the responses? I would love if I could configure the response time to be delayed for a random amount of time, from X to Y ticks, in a config.yml of some sort.
Is there a way for it to select possibly multiple answers out of a group of questions? For example,
{can i be op, op me, i'm from planetminecraft}:{No, Not likely, I choose my ops carefully, Maybe someday}
such that any Q from the first group pulls one random answer from the 2nd group.
@Jascrod, you will love http://dev.bukkit.org/server-mods/pluginreloader/ Works like /reload for individual plugins. So plugins don't /need/ /pluginname reload, when you could "/plugin reload" using pluginreloader.
EDIT: Also, although a google account is required to log in and submit questions, they can be submitted anonymously after getting there. No clue how/why.
You should add /ample reload
Also, I get this error when typing /qlist http://pastie.org/3813326
@slixxkilla
I have added the suggestion WayGroovy has added to the project.
@WayGroovy
Thank you. I have linked to it.
@WayGroovy
Getting tired of the Constant same questions also.. LOL this is looking good!
Perhaps server admins who use this plugin can come together and submit Frequent Questions or variations on frequent questions?
I will create a Google Moderator for this purpose.
http://www.google.com/moderator/#15/e=1fc0e9&t=1fc0e9.40&q=1fc0e9.6571a1
Would require a google account to submit questions.
@dariushall21
I was thinking of making it mimic the me command. I never thought about having it moderate the chat. I'll add that to my todo list. As for making it smarter I hope i can make it so it can understand possible messages from users better. Integrating plugins into Ample bot maybe I can.
This looks really cool, my server is very populated and people complain when admins don't help immediately. Do you have any plans to make it smarter? Like say maybe have it be able to carry out commands, or moderate chat? Maybe have it tie into a plugin like STAB and have it detect all caps, or a blacklisted word and give a warning.
@ChainSawXL
Your welcome. I was getting tired of answering those questions to. Plus I was looking for a fun plugin our users can toy with.
@rickky2
Thanks for your comment and your welcome.
@danielboyz
Thank you! as for having two bot nope. it is designed to have one bot handle everything. For some reason it fails to search part of the sentence no matter how I code it.
Awesome! Now lets troll some players with this!
I have 2 Questions though: Will it be possible to have multiple bots that each respond to different phrases? Will it be possible to detect a part of a sentence instead of the whole sentemce?
I was looking for a plugin like this a while but every one of them was outdated