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.
BaHAHAHAHAHAHAHAHA! This plugin seems great! XD
@Michaelhot1
Hmm, I will have to figure out how I can fix that. I will probably be recoding the plugin anyway.
@atomfitz
Sure, I'll add it in the next version.
Any chance of getting a permission that either enables or disables people's messages being checked by NoobResponse? Otherwise awesome plugin.
Not to be a mooch, but I'd love to see how to tweak my config. Would anyone be willing to donate a sample config?
How would I make it run a command and send a message to a player: e.g (can,I,member:Fool, you just broke a rule! Look at the website before asking stupid questions! www.mineuk.com !cancel! ==>command==>tjail --name-- jail 10m)
I tried this too, but it still doesn't seem to want to do both! (==>command==>tjail_--name--_jail_10m)
Also, our server uses NoobResponse
MineUK Tekkit Server IP: tekkit.mineuk.com
@deleted_8665991
Yes, I'm doing a full rewrite of the plugin (again) and I will include that function. However, that may take some time :)
Hey, love the plugin! One question, is there anyway to add in more than one response and have it randomly choose between them?
Thanks!!
@Javacow
Version 2.04 is being added, this version contains a new config option to have the responses sent to everyone.
@Javacow
I'll add that to the todo list, in the next version, I will add a config option for doing just that :)
Could you make it so by default the response is shown in public chat? My server uses it at the moment and it is fun when everyone can hear the bot talking.
@SyncCraft
I'm currently having some personal (and computer) problems, so it could take some more time.
@woutwoot
Thanks, I will keep an eye out here for the next couple of days :)
@SyncCraft
I think there are some problems with the colors code, I will try to fix that now or tomorrow, in the meantime, don't use colors or try from ingame. I've added your server to the list :)
@woutwoot
Okay, I've stopped it wiping. I found out that the cause was in fact the ยง symbol. Whenever I add ยง(colourcode) and start the server, it wipes. I tried &(colourcode) and that has partially worked, but some stuff doesn't colour. Is there any way you could try to sort out my config from this link: http://pastie.org/4725200
but with colours working?
By the way, you may have guessed, my server uses this plugin :D SyncCraft - IP: 85.236.100.145:31365
@SyncCraft
The problem is in line 13 and 14. You need to use double ' in don't. If it's not working, try adding ingame and see how the plugin adds it.
@Ksmwaj321
You have to do it ingame or stop the server, edit the file and start it again.
Hey, I'm making responses in the config.yml, and when I save them, and reload the server, it wipes them to the original "Are you a fool?" responses. It's annoying, and i don't know how to fix it.
http://pastie.org/4676886
Please can you look at my config, it randomly got wiped, meaning I had to do it all again, which then I copy and pasted out just in case. I got lucky this time as it wiped it again. So I added it all in game, then went into the config as it had changed the & colours from in game into ? in the config. I tried to change these all to the ยง and once again, it wiped. I can't see anything wrong with the config I've pasted.
Any ideas? Thanks.
@wiiuu
Yes
can i chnge the colour from the chat-tags?