[Mod] Mail/Webmail [git][mail]

Post Reply
User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

[Mod] Mail/Webmail [git][mail]

by BuckarooBanzay » Post

Mail/webmail

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)

Previous work
Based on the works, from viewtopic.php?t=14464

Downloads:
Source: https://github.com/thomasrudin-mt/mail

Installation
See: https://github.com/thomasrudin-mt/mail/ ... stallation


Features
  • In-game mail
  • Webmail with nodejs application
Demo
The mod is in use at the pandorabox server and ingame mails can be accessed via:
https://pandorabox.io/webmail/

Roadmap Dependencies
default

Thanks to
  • cheapie (initial project)
  • rubenwardy (ui fixes, improvements)
Screenshots:

Ingame:
Image

Webmail:
Image


License

Code: WTFPL unless otherwise noted in LICENSE
Last edited by BuckarooBanzay on Mon Jan 28, 2019 21:46, edited 2 times in total.
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [Mod] Mail/Webmail [git][mail]

by runs » Post

Cool

User avatar
rubenwardy
Moderator
Posts: 6977
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Mail/Webmail [git][mail]

by rubenwardy » Post

It's annoying how the buttons are cut off, and that they appear when nothing is selected. The X button is also nonstandard
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Mod] Mail/Webmail [git][mail]

by Krock » Post

rubenwardy wrote:It's annoying how the buttons are cut off, and that they appear when nothing is selected. The X button is also nonstandard
From how the formspec is designed, it's very likely that cheapie's layout was not changed at all (a mod repost, kinda). I'd also like to see these buttons to be wider - maybe move them to the bottom of the list for more horizontal space?
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Mod] Mail/Webmail [git][mail]

by Pyrollo » Post

Krock wrote:
rubenwardy wrote:It's annoying how the buttons are cut off, and that they appear when nothing is selected. The X button is also nonstandard
From how the formspec is designed, it's very likely that cheapie's layout was not changed at all (a mod repost, kinda). I'd also like to see these buttons to be wider - maybe move them to the bottom of the list for more horizontal space?
Or use icons and tooltips
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
GamingAssociation39
Member
Posts: 858
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [Mod] Mail/Webmail [git][mail]

by GamingAssociation39 » Post

^like the laptop mods email app has???
Jesus Is Lord and Savior!!!

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod] Mail/Webmail [git][mail]

by BuckarooBanzay » Post

Krock wrote:
rubenwardy wrote:It's annoying how the buttons are cut off, and that they appear when nothing is selected. The X button is also nonstandard
From how the formspec is designed, it's very likely that cheapie's layout was not changed at all (a mod repost, kinda). I'd also like to see these buttons to be wider - maybe move them to the bottom of the list for more horizontal space?
Yeah, i forked cheapies repo and changed some code behind the curtains (UI) to get the webmail interface working.
The ui enhancements are still on my list of items to do.

My future plans include:
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Mail/Webmail [git][mail]

by bosapara » Post

How to use it for Windows?

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod] Mail/Webmail [git][mail]

by BuckarooBanzay » Post

bosapara wrote:How to use it for Windows?
I don't know yet how to deal properly with those exotic/non-standard platforms.
The installation requirements should be the same with windows, only node and npm at the moment.
See: https://github.com/thomasrudin-mt/mail/ ... stallation

Download nodejs from https://nodejs.org/en/download/ and npm should be bundled with it...
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod] Mail/Webmail [git][mail]

by BuckarooBanzay » Post

Progress update 2019-01-15

Thanks to rubenwardy for his ui and lua enhancements.
The formspec looks more pleasing now (as good as formspecs go anyway:)

I added a few points to the roadmap, where i want this project to go in the next few months:
Roadmap
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
rubenwardy
Moderator
Posts: 6977
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Mail/Webmail [git][mail]

by rubenwardy » Post

Some images:

Image

Image

Image
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

wziard
Member
Posts: 127
Joined: Mon Oct 29, 2018 19:12

Re: [Mod] Mail/Webmail [git][mail]

by wziard » Post

Is it possible to set it up in a way that all players can email the server admin (and vice versa), but not each other?

User avatar
rubenwardy
Moderator
Posts: 6977
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Mod] Mail/Webmail [git][mail]

by rubenwardy » Post

wziard wrote:Is it possible to set it up in a way that all players can email the server admin (and vice versa), but not each other?
This is certainly possible by modifying the mod, or by creating another mod, but there's no setting for this yet.

Here's a quick mod to make a priv for it:

Code: Select all

minetest.register_privilege("mail")

local old = mail.send
mail.send = function(src, dst, subject, body)
    if not minetest.check_player_privs(dst, { kick = true }) and 
            not minetest.check_player_privs(src, { mail = true }) then
        minetest.chat_send_player(src, "You are only allowed to mail moderators! Missing priv: mail")
        return false
    end

    return old(src, dst, subject, body)
end
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

wziard
Member
Posts: 127
Joined: Mon Oct 29, 2018 19:12

Re: [Mod] Mail/Webmail [git][mail]

by wziard » Post

Thanks. That's helpful.

User avatar
Athozus
New member
Posts: 3
Joined: Tue Dec 15, 2020 13:26
GitHub: Athozus
IRC: Athozus
In-game: Athozus
Location: Toulouse, France
Contact:

Re: [Mod] Mail/Webmail [git][mail]

by Athozus » Post

Update : the mail mod has now been upgraded a lot, and is on ContentDB (no longer needed to download from GitHub) :

https://content.minetest.net/packages/mt-mods/mail/

(this is a bit promotional :p)
Attachments
1.2.0
1.2.0
screenshot_20230625_215529.png (218.92 KiB) Viewed 1187 times
-- Athozus

Sokomine
Member
Posts: 4287
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Mail/Webmail [git][mail]

by Sokomine » Post

It's a very useful mod and a great help.
A list of my mods can be found here.

User avatar
Athozus
New member
Posts: 3
Joined: Tue Dec 15, 2020 13:26
GitHub: Athozus
IRC: Athozus
In-game: Athozus
Location: Toulouse, France
Contact:

Re: [Mod] Mail/Webmail [git][mail]

by Athozus » Post

Busy at the time, but 1.4.0 is quietly coming. A complete list of (planned) upcoming features are listed here.

You can always open an issue, pull request to add your work.

The biggest deal for this release is to fix database corruptions. The source of this bug was found and fixed, but a script to fix the impacted databases has to be developed.

For now, we have added non-player recipients (e.g advtrains), spam features, we've reworked settings page (now generated, the adding of new settings is very easy), and made many bug fixes.
-- Athozus

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests