Jarvis
ATTENTION: THIS PLUGIN IS NO LONGER SUPPORTED OR UPDATED. IT IS BEING LEFT UP FOR RESOURCES TO DEVELOP OTHER PLUGINS. INTRESTED IN THE CODE? PM ME OR DECOMPILE IT.
NOTICE
PLEASE! report any errors/bugs and or suggestions in the comments below! As this is my first plugin I may have missed some features. If I did don't be afraid to let me know!
- Theres currently an error in saving the config it is being fixed!
Overview
Install Instructions: Simply place Jarvis.jar in your /plugins folder and either Reload or Restart your server!
type something in chat containing the name "Jarvis" without quotes. *This plugin is not cap sensitive! It will recongize anything if it's in caps or not.* "Jarvis" will reply something to you. The concept of this plugin was originally thought of by the Owner of The Official Homie Server, however MitchBourke decided to take on the task of making it into a real plugin for his network, The Craftnode Network. Upon seeing that his worked we made our own hardcoded version just like his. It became to be too messy that I (Scutt) and Mike101102 re-coded the entire thing to be fully customizable! We have decided to team up with MitchBourke and make this plugin public! Enjoy =)
http://www.youtube.com/watch?v=oVHF_0h_oHk
Full Feature List:
Title/Desc. | Ex. Usage *Jarvis runs of keywords use any form of this you want*
Kick Players (Jarvis, Kick [Player])Ban Players (Jarvis, Ban [Player])Mute Players (Jarvis, Mute [Player])Stop Server (Jarvis, Stop Server)Reload Server (Jarvis, Reload Server)- All of the above are included in the default config.
- Customizable Responces! You can customize Jarvis to respond to keywords.
- Example Response from a config:
- Jarvis?:
- response: Hello %name%^d, how may I help you?
- cancel-message: true
- Customizable Commands! You can customize Jarvis to do any command from keywords!
- Example Command from config:
- Jarvis,ban:
- response: /ban %player%
- cancel-message: false
Commands
- jarvis:
- aliases: [si]
- description: Main command for Jarvis
- usage: /<command> [update]
Permissions
- Jarvis.*:
- description: Gives access to all Jarvis permissions
- default: op
- children:
- Jarvis.answer: true
- Jarvis.placelava: true
- Jarvis.admin: true
- Jarvis.admin:
- description: Gives access to all admin related Jarvis permissions
- default: op
- children:
- Jarvis.kick: true
- Jarvis.ban: true
- Jarvis.update: true
- Jarvis.consolecommand: true
- Jarvis.broadcast: true
- Jarvis.answer:
- description: Allows users to be answered by Jarvis
- default: true
- Jarvis.placelava:
- description: Allows users to place lava
- default: op
- Jarvis.kick:
- description: Allows users to kick others with Jarvis
- default: op
- Jarvis.ban:
- description: Allows users to ban others with Jarvis
- default: op
- Jarvis.update:
- description: Allows users to update the plugin with a command
- default: op
- Jarvis.consolecommand:
- description: Allows users to use console commands with Jarvis
- default: op
- Jarvis.broadcast:
- description: Allows users to have their Jarvis replies broadcasted
- default: op
In-game Test Images
You may change <[Jarvis]> to anything you want it's fully customizable! Don't like the name Siri then don't use the name siri! You may also change the colors up too!
Up Coming Features
- Voice Response
- Better replies (If the keywords aren't found it will use an api like cleverbot to reply to their message
Extra Info
Official Test Server: mc.homieserver.com
There are some easter eggs in this plugin comment when you find one :D
Developers: ScuttMC,mike101_102, and MitchBourke
If you need help setting up the plugin or making the config please contact me asap on skype: areuhavingfuntypingthis
I do not recommend this plugin. If you fall into the void, instead of you to kill so you appear to spawnpoint.
I found an easteregg!! If you fell off the world you will be teleported back!
How can i make it for example say
_DaPickaxeGamer_: Jarvis Help XxX_Example2_XxX
Jarvis: Hey XxX_Example2_XxX (say the player name)
because %player% doesnt work
and %name% says my name
Whenever I try to Change something in the console or add something for example
Can,I,Op
Response: No you cannot, please ask staff to apply
cancel-message: false
or whatever it says
when i reload the plugin or restart my server i say Can i have op and it just doesnt say anything but in /pl the plugin is loaded
Plugins (40): WorldEdit, SuperHub, Essentials, BarAPI, GroupManager, PerWorldPlugins, PlugMan, Announcer, BungeeCompass, Multiverse-Core, ProtocolLib, WorldGuard, LibsDisguises, BungeePortals, obuShutTheHellUp, Citizens, CustomServerMessages, EmeraldLauncher2, Multiverse-Inventories, EssentialsChat, NoobResponse, PermissionsEx, NoteBlockAPI, ConsoleName, CustomBot, CommandNPC, Multiverse-Portals, PowerMOTD, SwearReplacer, EssentialsSpawn, Warnings, FriendMe, iControlU, BowSpleef, BlockHunt, HolographicDisplays, BlockParty, MakeYourOwnCommands, CratesPlus, Jarvis
Permissions doesn't work in spigot 1.8.8
How do you add multiple commands to one phrase?
Hello.
Congratulations, it's a good plugin...
I'm trying to use it, and i don't know if the problem is with my configuration, or with the plugin restrictions...
So, i'm trying to make something like this:
player: Hello
Jarvis: Hellp player. How are you?
It works fine with this configuration:
Hello:
response: Hellp %name%, How are you?
cancel-message: false
The problem is, if i make something like this:
player: PhelloW
The bot answers anyway....
Is there a way to correct this?
Thank you and keep up the awsome work!
Any update on the void catching feature? We really want to turn that off.
Update for 1.8.1, please!
Hi, can i know why can't to cancel place lava if its in false? :s
Is there a way to disable Jarvis from catching people when they fall into the void? Some of our players build very close to the void and they keep getting teleported by Jarvis. They're finding it to be quite annoying.
Rly awesome plugin, just what I was looking for :) Thanks a lot for this!
Although it'd be good to fix the saving config file problem as fast as possible xD Also it'd be good if you could link the plugin to Vault etc. so you can for example ask "Jarvis, how much money do I have?" or something :)
Can't wait untill next update! :D
Nice plugin, I like it - all though I am meeting some annoying problems:
Whenever you stop/start the server (or /reload), the default keywords are set back, and pushes down the customized keywords and disables them with the cancel-message-option.
I would also like to have an updated version of the plugin in 1.7.2, if that is possible? :D
And what would be a cool future, is that if it could help players by being commanded to.
Example,
Newbie enters the server
Newbie: "Uhm, what server is this?"
Admin: "Jarvis, help Newbie please."
Jarvis in private message to Newbie: "Hello Newbie, may I help you? Use /r to reply me."
And if it could led an conversation, for example:
Player: "Jarvis who are you?"
Jarvis: "I am a butler made by Scutt designed to help the servers staff with all their needs!"
Player: "Oh, thats fantastic!"
Jarvis: "Yes, indeed it is. May I help you?"
Player: "Yeah!"
Jarvis: "Now, what is it you want help with?"
Player: "Where can I read the rules?"
Jarvis: "Just type "/rules", without the quotes of course."
- This could simply be done by adding some ifs and elses. And in the config.yml-file configure it in the keywords, example (I've also included alternate keywords for responses in this example, separated with semicolons, instead of commas):
keywords:
Jarvis,who,you:
response: "I am a butler made by Scutt designed to help the servers staff with all their needs!"
fantastic;awesome;cool:
response: "Yes, indeed it is. May I help you?"
yes;yeah;sure:
response: "Now, what is it you want help with?"
no,nope,nah:
response: "Ok then, just call when you need me!"
gay;useless:
response: "Hey, be nice to me!"
Think you might get the point there! :)
What's also a problem is that you can't have commas or colons in responses. If you'd put all responses in strings from default, it would help!
Jarvis currently teleports users who fall out of the world to that worlds spawn. Is there any way to disable this feature, because i use uskyblock if a player falls off their island they get teleported to the spawn for uskyblock, which is nothingness.
When you fall out of bedrock, you get tp'ed to spawn!
Also, this is an official version of the plugin, Siri was a modified version of the homie servers custom version. It's been in use on the homie server for over 6 months with no bugs so I'm hoping this build will have 0 bugs. :)
Hey everyone, the latest upload should fix all your problems, this plugin is also now called Jarvis btw. Enjoy :) (Waiting approval)
I can't reload at all and why in your server you have Jarvis plugin and no Siri plugin
I know it because I did /?
<<code 18:33:11 [SEVERE] Could not load 'plugins/Siri-1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/scutt/siri/SiriMain : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.java:241) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.reload(CraftServer.java:613) at org.bukkit.Bukkit.reload(Bukkit.java:277) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:515) at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:263) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:228) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.UnsupportedClassVersionError: me/scutt/siri/SiriMain : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
<</code>>
I found out that jumping off to the Void will cause Siri to catch you and place you at Spawn. T'was an interesting addition for me. :D;;
By the way, this seems to not work for me for the latest stable build of CraftBukkit. It was working when Bukkit was at its Dev build. I just thought I should let you know.