Skip to content
forked from Ezhh/server_news

Minetest mod to show server news when players join

License

Notifications You must be signed in to change notification settings

ronoaldo/minenews

 
 

Repository files navigation

minenews

Localized and simple server news for Minetest servers. Original version by Shara RedCat, forked and improved by Ronoaldo.

ContentDB

Localized server news for Minetest

This mod displays a formspec when the player joins. To set the news text to display, make a file named news_lang_code.md in your world directory for each locale you plan to support. The mod will fallback to a news.md file if no localized version is found.

The contents of this file will be displayed to the player, interpreted as Markdown. When changing the contents of the file, there is no need to restart the server for it to update in game so you can also test quickly the display.

Players can also type /news to display the formspec at any time.

Players with the news_bypass privilege will not see the formspec when they sign in, but can still use the /news command.

Screenshots

Sample news dialog in English:

News in English

And a translated news file shown for the user if the language is set to pt_BR:

News in Portuguese

License

Code for this mod is released under MIT (https://opensource.org/licenses/MIT).

This mod uses textures from Bootstrap Icons, also licensed under MIT (https://opensource.org/licenses/MIT).

About

Minetest mod to show server news when players join

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 86.7%
  • Shell 9.8%
  • Mathematica 3.5%