Giter Site home page Giter Site logo

email's Introduction

Hi, I'm rubenwardy ๐Ÿ‘‹

Iโ€™m a graduate from the University of Bristol and a core developer for Minetest, an open source voxel game engine.

I have a diverse range of interests, both technical and non-technical. Examples include full-stack development, game dev, and Android development. I've recently been spending a lot of time learning how to cook new things ๐Ÿ๐Ÿ”ฅ.

Note that I mostly use GitLab these days.

Make sure to take a look at my website, blog, or Mastodon!

email's People

Contributors

rubenwardy avatar sys4-fr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

email's Issues

Add group mail facility

Request from co-administrator

It would be really handy to have the possibility to send group mails. I feel this should only be available to basic_privs holders - unless you prefer to create a specific priv for this, which is probably the WTG.

Not quite sure how to do this - it probably requires the ability to create mail groups, so the command would be something like /group_mail <mailgroup> <msg> and some way of administering the groups - a subcommand would be cleanest, so /group_mail add|remove <mailgroup> <playername> or whatever syntax you prefer.

Put icon in less annoying place

This seems to clear most of the other screen furniture on PC and android. It needs a bit of fine tuning. Didn't bother with a PR as this seems so trivial.

function email.update_hud(player)
    local name = player:get_player_name()
    local inbox = email.get_inbox(name)

    if inbox and #inbox > 0 then
        if email.hud:exists(player, "email:text") then
            email.hud:change(player, "email:text", "text", #inbox .. " /inbox")
        else
            email.hud:add(player, "email:icon", {
                hud_elem_type = "image",
                name = "MailIcon",
                position = {x=0.49, y=0.83},
                text="email_mail.png",
                scale = {x=1,y=1},
                alignment = {x=0.5, y=0.5},
            })

            email.hud:add(player, "email:text", {
                hud_elem_type = "text",
                name = "MailText",
                position = {x=0.48, y=0.85},
                text= #inbox .. " /inbox",
                scale = {x=1,y=1},
                alignment = {x=0.5, y=0.5},
            })
        end
    else
        email.hud:remove(player, "email:icon")
        email.hud:remove(player, "email:text")
    end
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.