Ask8Ball
Ask 8 Ball v1.3
If you have ever used StealthBot on old battle.net, you know about the Ask8Ball plugin/script.
This is basically it, but it has variables too, just like on battle.net.
It's messages are configurable and you can have up to (2^31)-1 messages if you want.
You can use the command, or access the 8ball publicly like this:
ask8ball Will I ever get married?
Maybe someday.
In version 1.3:
There are five languages:
http://dev.bukkit.org/server-mods/ask8ball/pages/static-messages/languages/
Please correct my translations!
There are two configuration values:
messages: - A list of the possible messages. Can include variables.
key: - The key, by default ask8ball.
There is one command available for use:
/ask8ball (question)
Instead of publicly broadcasting your answer, it whispers it to you.
Supports functions and all static messages.
! This command doesn't change based on the key value in the config !
There is one function available for use:
ask8ball can you please reload?
Yeah fine. Reloading.
(This just reloads the messages in config.yml)
There are four static messages:
ask8ball am i gay?
Yes, but thats OK.
ask8ball does it blend?
I don't know, ask Tom Dickson.
ask8ball ?
!
ask8ball what is the meaning of life?
42
There are six variables for use in the config:
messages: - Your name is %p.
<pyraetos> ask8ball test
Your name is pyraetos.
messages: - A random person on the server is %r.
<pyraetos> ask8ball test
A random person on the server is pyraetos.
or
A random person on the server is Azurago.
messages: - Your IP Address is %c.
<pyraetos> ask8ball test
Your IP Address is 0.0.0.0.
messages: - The servers version is %v.
<pyraetos> ask8ball test
The servers version is blah-blah-blah-Bukkit-blah-1337jnks(Minecraft 1.8.1).
messages: - A random person besides me is %o.
<pyraetos> ask8ball test
A random person besides me is Azurago.
NEVER
A random person besides me is pyraetos.
messages: - Your worlds name is %w.
<pyraetos> ask8ball test
Your worlds name is NerdyCast.
-
View User Profile
-
Send Message
Posted Apr 13, 2014@RustyOatmeal
Certain symbols will break the config. I believe you can't use these: ( ) and probably others. Try making the messages with no punctuation or symbols just letters. And I can confirm that this little old gem works with 1.7+
-
View User Profile
-
Send Message
Posted Feb 15, 2013Meh, I can't seem to be able to add to the messages 8ball spits out. Tried everything I can think of.
-
View User Profile
-
Send Message
Posted Aug 5, 2012Need to update playerchatevent's to asyncplayerchatevent's
-
View User Profile
-
Send Message
Posted Mar 10, 2012Please make sure this is 1.1 R6 compatible. Also, please release the source. This is almost exactly what I'm looking for, but for another purpose. I would love to recode it a bit for my own use(would not release to public)
-
View User Profile
-
Send Message
Posted Feb 18, 2012Can we add static messages ourselves?
-
View User Profile
-
Send Message
Posted Jan 28, 2012Needs permissions. You can double spam a server with it.
-
View User Profile
-
Send Message
Posted Dec 1, 2011Can I write a Dutch translation?
-
View User Profile
-
Send Message
Posted Nov 12, 2011No permissions nodes right now lol
-
View User Profile
-
Send Message
Posted Nov 6, 2011Great plugin, are there permission nodes for Perms?
-
View User Profile
-
Send Message
Posted Oct 30, 2011aw now ask8ball question? doesnt work. the command works perfectly
-
View User Profile
-
Send Message
Posted Oct 30, 2011thanks lol
-
View User Profile
-
Send Message
Posted Oct 29, 2011lol great idea