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

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

  1. Offline

    Mathiasbk

    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.
    Features:
    • Prints out a random joke every time a player types /joke
    • Customize the jokes from a XML file.
    • Custom prefix
    • Custom colors
    Commands:
    • /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

    Changelog:

    Version 0.2
    • Added custom prefix
    • Added custom colors

    Version 0.1
    • First release
     
  2. Offline

    captainawesome7

    Why an XML file?
     
  3. Offline

    Mathiasbk

    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

    TheOnlyLavaster

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

    Mathiasbk

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

    efstajas

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

    Mathiasbk

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

    gameswereus

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

    Mathiasbk

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

    sochio

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

Share This Page