@@ -0,0 +1,1740 @@
+package mkremins.fanciful;%0A%0Aimport static org.bukkit.ChatColor.*;%0Aimport mkremins.fanciful.ChatStyle;%0Aimport mkremins.fanciful.FancyMessage;%0A%0Apublic final class Example %7B%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09System.out.println(welcome(%22Orbixitron%22));%0A%09%09System.out.println(advertisement());%0A%09%09System.out.println(gui(%22Starbux42%22, 413000));%0A%09%7D%0A%0A%09static String welcome(String playername) %7B%0A%09%09return new FancyMessage(%22Hello, %22)%0A%09%09%09.color(YELLOW)%0A%09%09.then(playername)%0A%09%09%09.color(LIGHT_PURPLE)%0A%09%09%09.style(ChatStyle.ITALIC, ChatStyle.UNDERLINED)%0A%09%09.then(%22!%22)%0A%09%09%09.color(YELLOW)%0A%09%09%09.style(ChatStyle.ITALIC)%0A%09%09.toJSONString();%0A%09%7D%0A%09%0A%09static String advertisement() %7B%0A%09%09return new FancyMessage(%22Visit %22)%0A%09%09%09.color(GREEN)%0A%09%09.then(%22our website%22)%0A%09%09%09.color(YELLOW)%0A%09%09%09.style(ChatStyle.UNDERLINED)%0A%09%09%09.link(%22http://awesome-server.net%22)%0A%09%09%09.tooltip(%22AwesomeServer Forums%22)%0A%09%09.then(%22 to win %22)%0A%09%09%09.color(GREEN)%0A%09%09.then(%22big prizes!%22)%0A%09%09%09.color(AQUA)%0A%09%09%09.style(ChatStyle.BOLD)%0A%09%09%09.tooltip(%22Terms and conditions may apply. Offer not valid in Sweden.%22)%0A%09%09.toJSONString();%0A%09%7D%0A%09%0A%09static String gui(String playername, int blocksEdited) %7B%0A%09%09return new FancyMessage(%22Player %22)%0A%09%09%09.color(DARK_RED)%0A%09%09.then(playername)%0A%09%09%09.color(RED)%0A%09%09%09.style(ChatStyle.ITALIC)%0A%09%09.then(%22 changed %22).color(DARK_RED)%0A%09%09.then(blocksEdited).color(AQUA)%0A%09%09.then(%22 blocks. %22).color(DARK_RED)%0A%09%09.then(%22Roll back?%22)%0A%09%09%09.color(GOLD)%0A%09%09%09.style(ChatStyle.UNDERLINED)%0A%09%09%09.suggest(%22/rollenbacken %22 + playername)%0A%09%09%09.tooltip(%22Be careful, this might undo legitimate edits!%22)%0A%09%09.then(%22 %22)%0A%09%09.then(%22Ban?%22)%0A%09%09%09.color(RED)%0A%09%09%09.style(ChatStyle.UNDERLINED)%0A%09%09%09.suggest(%22/banhammer %22 + playername)%0A%09%09%09.tooltip(%22Remember: only ban if you have photographic evidence of grief.%22)%0A%09%09.toJSONString();%0A%09%7D%0A%09%0A%7D%0A

Add usage example