Page 1 of 1

Messages and mailboxes

PostPosted: Fri Feb 22, 2013 21:15
by Noogah
I just had this idea that, on servers, it would be really nice if there were writable messages and mailboxes to leave them in.

In my head, the mailbox would be like a chest, locked to the person who made it, but others can deposit things (packages, letters, etc.)

I think this would be great, because a lot of times, you run across something that is really fantastic, and you would love to express your appreciation, make a comment, or leave something, but there isn't a way to do that unless the person who made it is online.

Additionally, letters could be a really good way to leave more information than you can with signs, etc., which don't have a lot of space.

PostPosted: Sat Feb 23, 2013 09:36
by rubenwardy
It would be great if you could write a message on a letter node, pick that node up and drop it into a dropbox/mail box and the message is maintained. Not sure if this would be possible.

PostPosted: Sat Feb 23, 2013 10:00
by 0gb.us
Noogah wrote:Additionally, letters could be a really good way to leave more information than you can with signs, etc., which don't have a lot of space.


Signs have been updated in the development version to have more space and multiple lines. So in the next release, lack of space won't be an issue.

PostPosted: Sat Feb 23, 2013 18:19
by Noogah
0gb.us wrote:
Noogah wrote:Additionally, letters could be a really good way to leave more information than you can with signs, etc., which don't have a lot of space.


Signs have been updated in the development version to have more space and multiple lines. So in the next release, lack of space won't be an issue.


Ah, good! But I still like the idea of letter/message nodes.

PostPosted: Sun Feb 24, 2013 01:56
by prestidigitator
Making a box that any player can drop into but only the "owner" can take from or move things around in should be simple. Look at the definition of "default:chest_locked" in the default mod. Base your node on this but change the "allow_inventory_put(...)" function to always return true.

Notifying a player who logs in that they have something in the box, or automatically giving it to them, is a little more complicated but still not too difficult.