Minecraft wiki entry for Shelters, associated text: Simply put a chest/barrel on top of a fence post, then other players can give you gifts. Be wary of thieves! Alternatively, you can leave messages as books.