local news = {
   '7/3/20',
   'Pandas should spawn in Jungles. Thanks Daniel1',
   'Added placeable ingots, show off your riches in style.',
   'Bonemeal will grow jungle grass on rainforest litter.',
   'Printing presses are now craftable.',
   'Most default tools now need to be crafted in stations.',
   'Added AFK detection, thanks again to MisterE',
   'Lava will cause damage when you stand near it.',
   '',
   '6/30/20',
   'Wooden pkarcs can now be crafted.',
   '',
   '6/28/20',
   'Updated mobs_redo',
   'Connected curtains will open and close in a group. (right-click the rightmost curtain.)',
   '',
   '6/27/20',
   'Fire vines spread, and are rather invasive.',
   '',
   '6/26/20',
   'Added a mob to the space asteroids.',
   'Added a Styleguide for contributors.',
   'Updated lava_flan code.',
   '',
   '6/25/20',
   'Curtains autoplace, so wide curtains are auto built, removal works as well.',
   '',
   '6/23/20',
   'Added Nether Basalt to the tablesaw. Fixed a few bugs with Nether',
   'Added Pkarcs.',
   '',
   '6/22/20',
   'Picnic tables can be crafted and sat on.',
   'Cloudland portals are working now. Updated Mobs_redo.',
   'You can finally sit on benches with friends.',
   '',
   '6/21/20',
   'Small tweaks to hoppers. Updated Nether.',
   'Added wide curtains. Hoppers work with compost bins thanks to Daniel1.',
   '',
   '6/20/20',
   'Added hoppers. Small bugfixes.',
   '',
   '6/19/20',
   'Fixed stairlight, so they can be placed on all stairs.',
   '',
   '6/17/20',
   'Most items crafted in stations now show their crafts in unified inventory.',
   'Cows regen milk after eating.',
   '',
   '6/15/20',
   'Added locked variants of the dying and staining stations, and the weaving loom.',
   '',
   '6/14/20',
   'Shop signs can now only be edited by the person that placed it.',
   'Code has been cleaned up, to a degree, and posted online,',
   'https://notabug.org/NathanS21/Epic',
   '',
   '6/8/20',
   'Spawn has been upgraded, special thanks to the following players for helping build;',
   'olliy, NathanS21, idiot12, Hi_World, LapisWolf, Daniel1, q333, and Dashhyphen2.',
   'Adjusted the chalkboards so they line up properly in the school.',
   '',
   '6/5/20',
   'Removed notification when somebody ignores you.',
   'Bumped up the amount of damage goats deal when attacking.',
   '',
   '6/3/20',
   'Usage of the Discord bridge is now opt-in, run the command /discord to toggle the bridge on and off.',
   '',
   '6/1/20',
   'Sheep will regrow their wool after being fed, or eating.',
   'Fixed a bug with Unified_Inventory not allowing setting a home position.',
   '',
   '5/30/20',
   'Blocks cut in the tablesaw loose a little bit of brightness.',
   'Caverealm glow crystals cut in the tablesaw glow now.',
   'Removed the ability to set a home in a protected area, unless you own the protection.',
   '',
   '5/25/20',
   'Added locked multishelves.',
   'Caverealms Glow crystals can be cut, but they don\'t glow.',
   '',
   '5/27/20',
   'Got the Discord bridge back up.',
   '',
   '5/24/20',
   'Glow worms can be burnt. Astroid stone and stone brick added to the tablesaw.',
   'Added the filler mod which lets you place a solid plane of a single node. Craft it in the smithy station.',
   'Pressure plates can be used to open/close castle gates.',
   'Fixed a bug reported by Alfred where fabric couldn\'t be used in the armor recipes.',
   'Landscaping machines now check for space before placing.',
   '',
   '5/23/20',
   'Fixed the ruby glow crystal so it grows.',
   '',
   '5/17/20',
   'Glowingdiamond and glowingdiamond tools have been added.',
   'Added a diamondblock light.',
   'Updated some textures. Added a saddle so you can ride scorpions.',
   '',
   '5/15/20',
   'The Cavrealms glow crystals can now be grown.',
   'Added craft for ceiling lantern.',
   '',
   '5/12/20',
   'Small bug fixes and backend improvements.',
   'Added a metal sign hanging bracket.',
   '',
   '5/10/20',
   'TNT no longer can start things on fire.',
   'Reverted back to wielded_light, as I have been unable to recreate the crash.',
   'Tweaked the rules, so the interact information is immediately visible.',
   '',
   '5/2/20',
   'Added a few new furniture models.',
   'Updated Mobs_redo again.',
   '',
   '5/1/20',
   'Rats can now eat cheese, requested by daniel1 and Dashhyphen2.',
   'Removed wielded_light and replaced with walking_light.',
   '',
   '4/29/20',
   'Updated Mobs_redo.',
   'Added a modded doc_modpack, and a lecturn with an encyclopedia.',
   'Added locked book, and vessel shelves, at the request of SiliconPenguin.',
   '',
   '4/27/20',
   'Added Chat3 mod, you can now ignore players.',
   'Removed the discord bridge.',
   'Added a temp message mod, because this is evidentally kindergarten and I need to baby people. @_@',
   'Added a list of shame near the jail where you can see people that were jailed, and their crimes.',
   '',
   '4/26/20',
   'removed TV recipe from Xdecor.',
   'Added bone drops to a handful of mobs.',
   '',
   '4/25/20',
   'Fixed obsidian, so it is mostly blast proof again.',
   '',
   '4/24/20',
   'Clarified some of the rules. Fixed a bug with the hangglider.',
   'Added throwable snowballs at the request of Choke.',
   'Added trap ice. Updated commodity market code, hopefully this fixes the mobile crash.',
   '',
   '4/23/20',
   'Fixed a crash from the fishing mod bobbers.',
   'Updated mobs redo so the rare weapons wear out as they should.',
   'Fixed crashes from some other mods.',
   'Added caverealm items to the tombstone creator.',
   '',
   '4/22/20',
   'Updated ingame rules to mirror the rules on the website.',
   '',
   '4/19/20',
   'Fixed the texture on the lectern.',
   'Fixed some bugs with the hangglider.',
   'Added more recipes to the stations.',
   '',
   '4/17/20',
   'Gliders no longer remove your physics boosts.',
   '',
   '4/14/20',
   'Sprinting should work as expected, increasing your speed even if your armor already increases speed.',
   'Added some new trap blocks at the request of dhausmig',
   "Updated beds mod so player physics aren't overriden.",
   'Torch crossbows can be repaired at the smithy station.',
   '',
   '4/13/20',
   'Fixed a crash from the canoe.',
   '',
   '4/12/20',
   'Added a lectern, you can now write long sprawling novels in game, and share them with others.',
   '',
   '4/11/20',
   'Fixed a bug with the drawers, thanks to daniel1 for pointing it out.',
   "Area protections will flip players when they try to interact in an area that isn't theirs.",
   'Updated cloudlands, seems to have fixed the crashes. Many thanks to the mod creator for fixing the bugs.',
   'Fixed an error with Armor, reported by SiliconPenguin.',
   'Furniture and stations that take up multiple nodes can no longer be rotated.',
   'Updated drawers mod, should hopefully fix the Z-fighting.',
   '',
   '4/7/2020',
   'Adding a fishing mod. Tweaked scorpion spawning again.',
   '',
   '4/5/2020',
   'Migrated sever to new hardware, and upgraded to Minetest 5.2.0.',
   'Added a handful of new furniture nodes.',
   '',
   '4/3/2020',
   'Added some gnome sounds.',
   '',
   '',
   'For more information and to read older news visit www.nathansalapat.com/server/epic-server'}

for i = 1, #news do
	news[i] = minetest.formspec_escape(news[i])
end
news.txt = table.concat(news, ',')

spawn_news_formspec =
   'size[11,10]'..
   'no_prepend[]'..
   'bgcolor[#080808BB;true]'..
   'background[0,-1;12,11;spawn_poster.png]'..
   'hypertext[0,.2;12,1;;<center><style color=black size=40>~~News~~</style></center>]'..
   'textlist[2,1.5;11,6;msg;'..news.txt..';0;true]'
