From 5f2172a2c9ec7de6ef8824f53b3a0f482ab4699f Mon Sep 17 00:00:00 2001 From: Brandon Date: Mon, 1 Jul 2013 21:24:25 -0500 Subject: add sharearea *all so you can retain ownership but allow everybody to edit, chatplus message went land sells --- landsale.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'landsale.lua') diff --git a/landsale.lua b/landsale.lua index 245f5dd..1867b98 100644 --- a/landsale.lua +++ b/landsale.lua @@ -41,6 +41,11 @@ minetest.register_node("landrush:sale_block",{ landrush.save_claims() minetest.chat_send_player(claims[chunk].owner, "You now own this claim.") minetest.remove_node(pos) + + if ( chatplus ) then + table.insert(chatplus.players[owner].messages,"mail from : "..name.." has bought your claim at "..minetest.pos_to_string(pos).." for "..tostring(price)) + end + else minetest.chat_send_player(name,"Money transfer failed: "..transfer) end -- cgit v1.2.3