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
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.
Although this plugin was created specifically for jokes, I could just make it a normal informational message...