Ask8Ball

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of sir_brando sir_brando Apr 14, 2014 at 02:34 UTC - 0 likes

    @RustyOatmeal: Go

    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+

  • Avatar of RustyOatmeal RustyOatmeal Feb 15, 2013 at 20:42 UTC - 0 likes

    Meh, I can't seem to be able to add to the messages 8ball spits out. Tried everything I can think of.

  • Avatar of doggyroc doggyroc Aug 05, 2012 at 17:06 UTC - 0 likes

    Need to update playerchatevent's to asyncplayerchatevent's

  • Avatar of kronflux kronflux Mar 11, 2012 at 05:09 UTC - 0 likes

    Please 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)

  • Avatar of danielboyz danielboyz Feb 18, 2012 at 09:19 UTC - 0 likes

    Can we add static messages ourselves?

  • Avatar of mcapplbee mcapplbee Jan 28, 2012 at 19:11 UTC - 0 likes

    Needs permissions. You can double spam a server with it.

  • Avatar of Peekemans Peekemans Dec 01, 2011 at 21:29 UTC - 0 likes

    Can I write a Dutch translation?

  • Avatar of warmage00 warmage00 Nov 12, 2011 at 16:38 UTC - 0 likes

    No permissions nodes right now lol

  • Avatar of Dakooldog Dakooldog Nov 07, 2011 at 02:35 UTC - 0 likes

    Great plugin, are there permission nodes for Perms?

    BFAK:44793,f95d06b704375d340f939b04b1257ce443046819a4cd685b34b1c24409490275

  • Avatar of kahlilnc kahlilnc Oct 31, 2011 at 04:33 UTC - 0 likes

    aw now ask8ball question? doesnt work. the command works perfectly

    Servers in the work: http://mineshire.net and http://meleecraft.net! Coming Soon!
    If you are experienced and willing to help add me on Skype: kahlil NC !!!

Facts

Date created
Oct 29, 2011
Categories
Last update
Feb 17, 2012
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Ask8Ball
Downloads
3,283
Recent files

Authors