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.
Is this gonna be updated to 1.10.2 sounds like something my server would use..
Have you tried it? I'm pretty sure it will still work. Although this project is kindof inactive, I can try to update it if it needs to be updated.
Love this plugin, pretty stoked it got an update.
Thanks for update!
1.9 update?
I love this plugin! But sadly it won't work fully with Minecraft 1.8.9. At least I can't get server-/playercommands to work. Please, please, please update this plugin! :)
@InvincibleMiners
I might still update this plugin. To that end, I'm not releasing the source code. Why do you want to have it?
@woutwoot Is it possible that i could have the source code?
@AlexWood24
I am no longer updating or maintaining this project, but you should be able to find what you're looking for here: http://dev.bukkit.org/bukkit-plugins/noobresponse/pages/replacements/
Is there a way to get the player name variable? I've seen other plugins that use %player% and I want it to say to: eg. Steve: Can I have op? Info: No, Steve, we only give op to Admins
Call me a noob for not experimenting but I want to make sure something is possible before I delve into the depths of configuration files.... Thanks!
@bigscary
Is there an actual fix for this? I would love to have wild card keys.
Does the chatter's message have to match exactly, or can I do something like wildcards and/or regular expressions? Seems like it would be too much work to try to anticipate every variation on every common question.
Thx that worked :D But i had to do it in the config, is there a way to add the spaces using the in game command
@AxN00Bx
I'm not entirely sure if that's an option somewhere in the plugin... it's been so long since I last worked on this project. As far as I know, putting spaces around the words, for instance "can , i, op" should work.
Failing that, post a ticket and I will get around to adding that as an option sometime :)
Is there a way to set it to only check words instead of each letter. I have gimme op with triggers "can,i,op", so "can i have op" produces a response, however, "canada is whoop" would also produces a response.
@horsetears
You would have to enter the command:
where <trigger> is the ID of the trigger you want to change.
That should work.
The wizard is great, easy to use, however there isn't an option to make the responses global, how would I do that in game?
great plugin :D
edit - oh and seems to work fine on 1.72 spigot
@jake_stumpf
If you reload the plugin without doing "/noobresponse save" first, it will discard any triggers currently loaded and use what is in the config files. If you are still experiencing the problem, please post a ticket with more detailed information.
====== PLEASE FIX ======
Doing /nr reload doesn't reload the plugin config, but reloads all of the messages as well.