public Inventory Splash()
{
Inventory i = plugin.getServer().createInventory(null, 9, ChatColor.BOLD + "Welcome to CF2!");
ItemStack welcome = new ItemStack(Material.BOOK);
if(welcome.hasItemMeta()) {
ItemMeta welcomeMeta = welcome.getItemMeta();
List<String> wmetatext = Arrays.asList(motd);
for(Iterator<String> f = wmetatext.iterator(); f.hasNext(); ) {
String item = f.next();
welcomeMeta.getLore().add(item);
}
welcomeMeta.setDisplayName(ChatColor.RESET + "Our map rotation is:");
welcome.setItemMeta(welcomeMeta);
}
i.addItem(welcome);
return i;
}