NoobResponse
NoobResponse - Automatic Reply with Message and/or Actions!
This is THE plugin that will save you 1000 keystrokes a day!
I made this plugin because I myself am a server owner, and the innumerable amount of noob questions I was asked day after day was becoming simply intolerable... "How do I change my skin?", "Can I be an op?", etc.
And that's why I created this plugin, it's an automatic responder/chatbot/messager which will respond/reply to chat messages. You can set up triggers the plugin should respond to. For example:
- Player: "Can I get op?"
- Plugin: "No." And at the same time, the player would be killed or teleported or kicked, ...
NoobResponse requires Java SE 7 to run.
Video
All credits for the video go to alien1947in.
Commands
In this version, the trigger ID what we use to reference a specific trigger. Trigger ID's are currently case sensitive. If you create a trigger with the same ID as an existing one, it will be overwritten.
All command permissions default to op.
/noobresponse
The main plugin command. Subcommands & permissions are:
- /noobresponse reload - Reloads the plugin's config, discarding any new triggers. (noobresponse.reload)
- /noobresponse save - Saves the plugin's config, overwriting any changes that were made. (noobresponse.saveconfig)
- /noobresponse help - Prints a colourful help message. (noobresponse.help)
- /noobresponse version - Displays the version of the plugin you are running. (noobresponse.version)
/nradd
Command to add basic keyword triggers, similar to version 2.0. Note that spaces are allowed in the response, but not in keywords.
Permission: noobresponse.add
Usage: /nradd <triggerID> <keywords> <response>
Example: /nradd exampletrigger keyword1,keyword2,no,spaces,please This is the response.
/nrlist
Command to list all loaded triggers and their responses. To view keywords & other details use /nrview. Permission: noobresponse.list Usage: /nrlist
/nrview
Command to view all properties (keywords, response etc) for a trigger.
Permission: noobresponse.view
Usage: /nrview <triggerID>
Example: /nrview exampletrigger
/nrdel
Deletes a trigger. Cannot be undone.
Permission: noobresponse.delete
Usage: /nrdel <triggerID>
Example: /nrdel exampletrigger
/nrmodify
Changes properties of a trigger. (More info here: Modify command)
Permission: noobresponse.modify
Usage: /nrmodify <triggerID> <property> <value>
Example: /nrmodify exampletrigger cancelmessage true
/nrwizard
Starts a NoobResponse wizard with the given trigger ID. You can exit at any time by typing 'cancel'.
Permission: noobresponse.wizard
Usage: /nrwizard <triggerID>
Example: /nrwizard newtrigger
Permissions
- noobresponse.ignore - Noobresponse ignores you. Completely. (default: false)
- noobresponse.noaction - Actions are not applied to you, even if you trigger a response. (default: op)
- noobresponse.nocancel - Your messages will not be cancelled. (default: false)
- noobresponse.norespond - Noobresponse will show a chat response to anything you say, but actions may still be applied. (default: false)
- noobresponse.setup - Yes, it is still here. It provides access to all the commands. (default: op)
- noobresponse.* - Access to all commands + being ignored. (default: false)
Configuration
The best way to set up a Trigger(= Response) is to use the wizard we have built in. The command for the wizard is "/nrwizard <triggerID>" Make sure you choose a unique triggerID!
List of replacements here. A full list of actions is available here.
If you really want to set up triggers in the config manually, you can copy the example trigger and modify it, or set up old-style triggers in config.yml under 'messages'. (these will be converted automatically on server startup/reload)
For reference, the old style actions & variables can be found here.
FAQ
Q: Is the response shown to all players?
A: There is a configuration setting for this, the wizard will ask you.
Plugin Metrics
This plugin uses PluginMetrics to get this data: (click the image to see more information)
If you like what we're doing, consider donating :) Please use the donate button in the top right.
@zSwayz
Yes it does, just don't download the Tekkit version.
does this work with 1.3.1 R 2.0? this would really help me out a lot :S
@Pixiyo
I can add one for not having responses, next version.
Can you make a permission so Noobresponse respond on those questions from the group with that permissions? (like mod, admin).
@WayGroovy
That would be impossible right now, but I will implement something for that in one of the next versions.
@ImRealNow
@forfiterX
I will try to fix the colors tomorrow.
How would I respond to only one word, with no spaces,
For example, if a player says "hi" i want to respond, but if they say "hi username" I don't want to respond.
Color codes seem to be screwed up on linux machines, it works fine on the test server i have on my own computer. But an easy way around that is to replace color codes with color tags such as <!!-BLUE-!!> and then turn them back when posting to the server, because snake yml can't parse the § symbol. If you don't know how to do it, you could look at mcmmo's source, it has an example of how to do it. Besides from the color codes being screwed up, this is a pretty good plugin.
Em nice plugin !!! But 1 problem :/ Whenever i do colour answer or tag after reload it just changes the & to ? Anyway to fix that :D?
-THANKS@joehot200
Yes, check the actions and variables page. Actions and variables
could the plugin respong with a command? for exhample, player asks can i get op, and the plugin does /slap command?
Hey woutwout Just wanted to tell you that we ( Game of Coins) have a new IP: gameofcoins.tk
@Remi_Scarlet
And yes, you can do multiple actions.
@WayGroovy
You can simply fix this yourself, In stead of adding "can,i,op", add "can_,_i_,_op_" This way the plugin will only trigger with the spaces, and so, significantly reducing the amount of wrong triggers.
Interesting,
I added can,i,op as one of my conditions,
Sentences with those combinations of letters will set it off. For example,
"Underneath the cannon at midnight, opportunities await us all."
will set off that trigger.
http:pastebin.com/Y6QnkGdP
@Remi_Scarlet
I'll look into it tomorrow.
@WayGroovy
Good idea!, I'll start working on it tomorrow.
would it be possible to do a random selection of multiple responses?
like
/nr add question {response1;response2;response3;response4}
Can we get an update? ; - ; Pretty please?
http://pastie.org/4583537
Also, is it possible to add multiple actions? Eg, kick and then send global message.
Loving this, been using it on my Tekkit server "Oils of Oasis" ever since I found it! IP: 216.144.249.213