Newspaper API
There isn't too much currently implemented in the API, but that's because there isn't too much to put in the API. Currently, I have created two methods.
Getting the Newspaper Contents
NewsFile news = new NewsFile(); ArrayList<String> newspaper = news.getNews(); // each item on the list is a page in the newspaper
Setting the Newspaper
NOTE: DO NOT use ChatColor when setting the news, as I'm pretty sure it won't show up in the newspaper. Use the '&' symbols inside the string instead.
NewsFile news = new NewsFile(); news.setNews("&3Hello, this will be in the newspaper!");
Comments