Minetest does not (natively) support right-click events with player objects. So I implemented the following callback for use on my server. It's an easy enough patch, so I figured I'd share it here since other users have asked for the code.

Nice idea. Could be useful for exchanging items without having to throw them to the ground or place into a chest, could be used to provide information about a player (name, experience gained, mobs killed, deaths, areas protected, ..), provide an admin interface etc.

Hope this gets merged! I'm also eager to see HTML-like formspec elements getting merged. With that, chats with mobs like in old point&click adventures are possible.