[FUN] Randomjokes v0.2 - Shows the player a random joke [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Mathiasbk, Jul 11, 2011.

  1. Offline


    Randomjoke - Prints out a random joke everytime a player types /joke:
    Version: v0.2

    This is the first time i have coded in java, so the plugin is very simple, but can still bring much fun. Just add the jokes you want the plugin to randomly pick from in the XML file.
    To change the color of the text, just add % before the color you want the text to have, for example: "%5", changes the color to Purple.
    • Prints out a random joke every time a player types /joke
    • Customize the jokes from a XML file.
    • Custom prefix
    • Custom colors
    • /joke - Prints out a random joke to the user who typed /joke
    Permissions nodes:
    • Randomjokes.joke - gives permissions to print out a joke
    Download Randomjokes.jar

    Download Source code


    Version 0.2
    • Added custom prefix
    • Added custom colors

    Version 0.1
    • First release
  2. Offline


    Why an XML file?
  3. Offline


    i like XML more than YAML, and i did't manage to get i working with YAML, as i said in the text. it's the first time i'm coding java.
  4. Offline


    Although this plugin was created specifically for jokes, I could just make it a normal informational message...
  5. Offline


    yeah, it's just to downloade the source and change the command :)
  6. Offline


    ... or you just set up a command alias in bukkit.yml. :)
    Mathiasbk likes this.
  7. Offline


    Yes, that's Piece of Cake :)
    efstajas likes this.
  8. Offline


    Can you make it an auto message to do a joke on join?
  9. Offline


    Yes, it's on my todo list :)
  10. Offline


    Since this plugin is inactive go here if you want an active version.

Share This Page