项目作者: minetest-mail

项目描述 :
Minetest mail -- server part
高级语言: JavaScript
项目地址: git://github.com/minetest-mail/mail.git
创建时间: 2018-12-05T09:57:44Z
项目社区:https://github.com/minetest-mail/mail

开源协议:Other

下载


:warning: Deprecation notice :warning:

This project is now being replaced by the mtui project here: https://github.com/minetest-go/mtui

It only serves as a public archive at this point

Mail mod for Minetest (webmail component)




This is the webmail component for the minetest mail mod

The ingame mod lives here: https://github.com/minetest-mail/mail_mod

Screenshots

Ingame mail

Webmail

Installation

The webmail component runs as webservice and provides the api for the minetest server
and the website for the webmail component

Bare metal

Prerequisites:

  • node and npm (on ubuntu: apt install nodejs npm)

To install and run the webmail server:

Docker

  1. sudo docker run --rm -it -p 8080:8080 -e WEBMAILKEY=myserverkey minetestmail/mail

Mod configuration

To set up your minetest installation to communicate with the webmail server, edit your “minetest.conf”:

  1. # enable curl/http on that mod
  2. secure.http_mods = mail
  3. # the url to the webmail server
  4. webmail.url = http://127.0.0.1:8080
  5. # the secret key previously generated (same as in "webmail/start.sh")
  6. webmail.key = myserverkey
  7. # optionally, if you have xban2 and don't want banned users to login:
  8. webmail.disallow_banned_players = true

Roadmap

The current roadmap:

  • Enhance ingame UI
  • Better ingame notification
  • Enhance webmail component
  • Allow sending attachments

Bugs

Let me know if there are any (there are for sure:)

License

See the “LICENSE” file