Page 1 of 1

[mod request] Property

PostPosted: Sun Mar 25, 2012 08:02
by bgsmithjr
Similar to the node ownership mod. I cannot make it work properly and it requires that you patch minetest and compile it from source. Can someone make one easier to use?

PostPosted: Sun Mar 25, 2012 14:36
by RAPHAEL
From what I've seen with the node ownership all you have to do is edit the builtin.lua file, add the mod (create folder in mods folder named node_ownership then create a file in it called init.lua and paste in the contents of the init.lua in the node ownership post. Should work then. I've not patched anything and it works for me.

PostPosted: Mon Mar 26, 2012 09:35
by bgsmithjr
Thanks, I have got it working correctly, but I have a question, the first set of coordinates points to one block, the second set points to one block, does the new owner own just the two blocks, the shortest distance between those two blocks(a straight line) or a full 3d box?

PostPosted: Mon Mar 26, 2012 15:28
by RAPHAEL
bgsmithjr wrote:Thanks, I have got it working correctly, but I have a question, the first set of coordinates points to one block, the second set points to one block, does the new owner own just the two blocks, the shortest distance between those two blocks(a straight line) or a full 3d box?

The input coords in node_ownership are two opposite corners of an imaginary cube.


X=======================|
| |
| |
| |
========================X

X = coords you enter... HOWEVER keep in mind height and depth. By default on my server the property ownership goes down -50 blocks and up +100 blocks. So first coord would be one corner as shown above but the height coord with say 100. The second would have the height coord with say -50.