2019-01-12 23:24:11 +00:00
2018-12-14 10:35:42 +01:00
2016-04-19 01:08:45 -05:00
2019-01-12 22:13:22 +00:00
2018-12-13 11:04:30 +01:00
2019-01-12 23:24:11 +00:00
2019-01-12 22:13:22 +00:00
2019-01-12 23:20:52 +00:00
2019-01-12 23:24:11 +00:00
2019-01-12 23:24:11 +00:00
2019-01-12 21:59:54 +00:00
2018-12-14 10:35:42 +01:00
2019-01-12 22:20:40 +00:00
2019-01-12 22:20:40 +00:00
2018-12-14 10:35:42 +01:00
2019-01-12 22:13:22 +00:00

Mail mod for Minetest

This is a fork of cheapies mail mod

It adds a mail-system that allows players to send each other messages in-game and via webmail (optional)

Screenshots

Ingame mail

Webmail

Installation

In-game mail mod

Install it like any other mod: copy the directory to your "worldmods" folder

Webmail

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

Prerequisites:

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

To install and run the webmail server:

  • Copy the "webmail" folder to your desired location (or keep it where it is)
  • Change to the webmail directory: (cd ./webmail)
  • run "npm install" to install the node dependencies
  • generate a secret key for yourself, can be anything string-like, i suggest one from https://www.random.org/passwords/?num=5&len=16&format=html&rnd=new
  • Edit the "start.sh" file and insert the secret key in place of "myserverkey"
  • run "./start.sh"

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

# enable curl/http on that mod
secure.http_mods = mail
# the url to the webmail server
webmail.url = http://127.0.0.1:8080
# the secret key previously generated (same as in "webmail/start.sh")
webmail.key = myserverkey

Commands/Howto

To access your mail click on the inventory mail button or use the "/mail" command Mails can be deleted, marked as read or unread, replied to and forwarded to another player

Dependencies

  • None

Roadmap

My 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

Old/Historic stuff

Description
No description provided
Readme 2.6 MiB
Languages
JavaScript 84.4%
Shell 9.5%
Dockerfile 2.4%
HTML 2.1%
Lua 1%
Other 0.6%