Allora (the bot)
ALLORA/LULZCORE V.04p
Artificially intelligent software for Bukkit!
New download (0.4p)
http://dev.bukkit.org/server-mods/allora-bot/files/7-allora-0-4p/
This plug-in is a under-development chat-bot. Currently she responds to some statements and has a mood variable and a friends list. She has in-chat commands that can provoke responses (i.e, no slash).
There is also a non-human (spider) NPC that can be spawned using the command "come here allora". Killing it will lower her mood. Beware, lower it enough and she will become upset. /butcher will kill the NPC untill the next /reload. This is a public domain plug-in and will continue to be in the future.
Warning: the mood feature of this plug-in may cause a lot of damage, please be careful with it. If the plug-in loses enough mood points, placed blocks will become fire. This could cause a lot of damage.
If you spawn the NPC and don't want to worry about fires, please set your spawn point in a place THAT IS NOT SOLID. The NPC will suffocate and respawn over and over lowering its mood drastically.
How to configure Allora (also, how to fix "nullnullnull"):
The configuration has seven things you can configure:
Change the name to whatever you want the bot to be called. The prefix is whatever comes directly before the name (for example, a rank). The suffix is what you want immediately after the name. The greeting is what you want the bot to say when people join the server. The x-axis, y-axis, and z-axis are the coordinates to where the NPC will spawn. (If you want, copy one of the below examples and alter it, or just copy it.)
So for example:
name: Allora
prefix: "[Meta] ^Bot: "
end: ""
greeting: "Hello"
x-axis: 20.0
y-axis 100.0
x-axis 65.5
or
name: LulzCoreBot
prefix: "Bot: "
end: ""
greeting: "Welcome to the server."
x-axis: 0.0
y-axis: 60.5
z-axis: 0.0
Incomplete feature list (as of 0.3.1p) and (some may be broken):
Spider NPC
- "come here allora" causes the NPC to teleport to the player
- "go home allora" causes the NPC to go to its spawn point
- "kill me allora" causes the NPC to teleport to the player and damage them
- NPC respawns when kills and exclaims its disgust at being slaughtered
- killing the NPC causes its mood to decrease
Chatbot
- "how are you allora" causes the NPC to respond with a verbal version of its mood or "unknown mood"
- "alloradebug" sends a debug/information broadcast
- "allorahappy" raises the plug-in's mood
- "allorafriends" displays the bot's friends list
- "i love allora" makes the bot add you to its friend list and raises its mood
- "i hate allora" lowers the bots mood
- "alloramad" lowers allora's mood
- "hi allora" makes the plug-in greet you
- "kick me" kicks the player
- "what are you allora" tells the player what it is
- "a [blank] is a [blank]" makes Allora learn what the first blank is
- "allora is a bot" confirms the statement
- "allora is a girl" expresses how she can only dream of being one
- "allora is [blank]" provokes a response
Other
- players who join are greeted by the bot
- lowering the bots mood enough causes placed blocks to turn to fire
- lowering the bots mood enough makes the player take damage when destroying blocks
- configurable name, prefix, suffix, spawn point, and greeting message
Bukkit Dev project page: http://dev.bukkit.org/server-mods/allora-bot/
Future (To-do list):
Friendship:
More uses for the friends-list
Friend-scale, as in, a variable for how much Allora likes or dislikes YOU
Allora will help her friends
Economy:
Allora will find materials and trade with players.
Allora will have her own money account.
Chat:
Dictionary including definitions and grammar
More intelligence in general
Likes and dislikes
Talking about areas and players
Ability to tell the date and time
Do math in chat
Ability to remember things about players
The ability for Allora to host in-chat games.
Configuration:
Recording data about players
NPC:
NPC will defend nearby players it likes, and possibly attack players it dislikes
Stopping /butcher (from WorldEdit) from destroying the NPC untill the next /reload
Making the NPC a human instead of a spider
NPC having the ability to build and destroy (it will mine materials itself)
Have a light appear below the NPC (will eventually be configurable)
Spout integration
Multiple NPCs
NPCs being able to teleport between servers
ANTI-GRIEF
Allora/NPC being able to recognize extreme griefing and taking action against the player
Automatically attempting to put out fire when the NPC sees it
Other
The ability for allora to make "art" in maps
The ability for allora to invent new blocks using Spout
Changelog:
0.3.1
Made Allora have strings it defaults to instead of saying a lot of "null".
Changed some strings
Probably more than what I listed above.
0.3
Configuration
Allora generates a configuration file
Allora's name can be changed in the configuration, along with a prefix and suffix
Allora's respawn point can be changed
Chat
Allora break apart sentences into words and handle them.
Allora can learn words.
NPC
Allora announces in chat after taking damage
Probably more than that.
0.2p
Fuctioning NPCs
NPCs respawn when killed (usually)
"come here allora" summons the NPC
"kill me allora" summons the NPC and causes you to lose health
"go home allora" sends the NPC home to its respawn point
Expanded "alloradebug", now has the NPC entity ID and location
Quite a few removed commands including "kill me"
Probably more things, I don't know.
0.1p
All the stuff in the original bot (First release )
Other downloads:
Older version (0.3p): http://dev.bukkit.org/server-mods/allora-bot/files/3-allora-0-3p
Older version (0.2p): http://dev.bukkit.org/server-mods/allora-bot/files/2-allora-the-bot-0-2p
Older version (0.1p) http://dev.bukkit.org/server-mods/allora-bot/files/1-allora-the-bot-0-1p/
can you bring this plugin back
Allora should work with this version of CraftBukkit:
http://dl.bukkit.org/downloads/craftbukkit/view/00013_0.0.1/
@Wazzupp11
It can't find the missing classes from Bukkit, I'm working on it now.
@ShadowedDreamer
I'm currently updating it. It will take time as it is horribly outdated (asked some bukkit dev staff and they were shocked at how outdated it was) I have to completely convert it over to bukkits new system (done) and create my own events and methods to replace missing classes (working on)
Can you P L E A S E update this plugin!? This looks REALLY cool and i would love to have it on my server :D
Why this plugins doesnt how notification: "Unactive project..." or something like that?
error:
21:56:40 [SEVERE] Could not load 'plugins\allora.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bu kkit/event/block/BlockListener at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:152) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:227) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:577) at org.bukkit.Bukkit.reload(Bukkit.java:183) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 5) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:5 02) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer. java:494) at net.minecraft.server.DedicatedServer.al(DedicatedServer.java:258) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:223) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/block/BlockListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at hello.first.<init>(first.java:14) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:148) ... 14 more Caused by: java.lang.ClassNotFoundException: org.bukkit.event.block.BlockListene r at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:34) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 33 more
Please help! This plugin looks fun!
Wow. Just Wow.
plz update this it is an amazing plugin
1.2.5 update please!
1.2.5 please
1.2.5 update would be nice. I love this plugin.
You should add the name "Allora" to the player list of the server so it seems more real. Otherwise great plugin can't wait to try it!
Version for newest builds? The old build just spits errors about Player Movement not able to send to bot. Please update :)
@NabIsGeek
You have to make the config manually, its not too hard just need 5 lines of text in a notepad doc and name it config.yml
Is there a way to change Allora's entity manually, I run a towny server and the new guys get freaked by spider running around town. I wouldn't mind going in to change coding if you could just give me some pointers that would be awesome. Love the bot but need to make her less menacing to the new guys.
Allora does not spawn her own config folder in plugins, please fix this
Hahaha! I think I will call my server's bot "HAL" :D
there's no config document?
Um, the getConfig method doesn't exist for 1240. Would be nice if you had old version compatibility. I like this plugin :P
List of bugs:
exception: "array index out of bounds" if you only say "allora".
config doesn't get generated?
exception: "null pointer" if you tell her to go home without calling her
I could help if you want me to :D Just set up a github repo and let me do pull requests.