This is another fork of glomie's protector mod (here).
As glomie's mod, it protects 5 blocks in all 6 directions.
It is also compatible with this mod: you can safely replace glomie's by this one, and this one by glomie's.
Changes are:
Multiple members per area (members can build within the area, but they can't remove or modify the protection block).
Admins can override protections with the "delprotect" privilege and by pressing shift while digging.
When you try to dig or build in a protected area, it says who the area belongs to.
A tool that allows to know who has protected the area, and who are the members.
Multiple members per area (members can build within the area, but they can't remove or modify the protection block).
When you try to dig or build in a protected area, it says who the area belongs to.
A tool that allows to know who has protected the area, and who are the members.
A new recipe: doesn't require moreores.
Removed the Y -1000 limit
Nice. All features I wanted.
Quick question: One of my servers currently used protector, with your modification to allow the sharing of areas. Can that be safely aliased to your new blocks, or is there some sort of incompatibility?
EDIT: I just realized the plugin name is the same, so an alias is not needed. But can the two be safely swapped?
Last edited by 0gb.us on Wed Dec 26, 2012 19:13, edited 1 time in total.
I built it as a separate plugin so I wouldn't be dumping more code on you to maintain. As a separate plugin, I can update it myself as necessary. However, if you actually want to maintain this code, you are more than welcome to integrate it with your main protector plugin. Just let me know, and I'll take down my download link.
EDIT: Oh, since your original plugin is under the WTFPL, this one is too.
Last edited by 0gb.us on Fri Dec 28, 2012 19:27, edited 1 time in total.
hey buddy, i think you forgot the little bit of code to add the craft item protector.node.... you have the stick but not the block, you may have it in your zip, not to sure but when i looked in gethub its not there... if you could fix that i would be grateful
Oblivion1500 wrote:hey buddy, i think you forgot the little bit of code to add the craft item protector.node.... you have the stick but not the block, you may have it in your zip, not to sure but when i looked in gethub its not there... if you could fix that i would be grateful
Thanks for reporting.
I really thought I had it, weird.
It is now fixed.
Last edited by Zeg9 on Tue Jan 08, 2013 16:38, edited 1 time in total.
Oblivion1500 wrote:sorry to have to let you know of another bug similar to the prev one, you need to make it so it makes 16 blocks, you only have it set to make 1.
I don't think that's a bug, but the intended recipe.
Glomie's protector is overly generous, and gives you sixteen, but Zeg9 probably fixed that.
EDIT: Sorry, typo.
Last edited by 0gb.us on Wed Jan 09, 2013 06:39, edited 1 time in total.
well i think 16 is a bit much anyway, you can make it so it gives say 8, and yea my mistake not a bug. The mod is great, i like the protection tool.. (i can run around and bang on my stuff and make sure its completely secure)
Really like this mod! Too bad it has such a small protection range. Can you make one that has 5x5x5 an other that is 25x25x25 and another that is 100x100x100. 100^3 uses mese block for recipe, 25^3 uses a mese crystal and 5^3 craft is good as is.
Also, can the admin or someone with adequate privs remove the protector node?
Someone did a mod that had a higher protection range. In my eyes, a larger range is questionable from the technical point of view - cubic is...cubic, so while searching 5^3/2 = 62.5 blocks at every dig/place seems to work fine, 100^3/2= 500000 is a diffrent number.....Considering how MT works, the chunk with your protection block might not even be loaded anymore when you fry your CPU after placing/digging a block.
If you want larger protections, use node_ownership. That works quite well and is far more efficient for such large areas. There are also other protection mods that might work and that function on mechanisms more suitable for large areas.
This is a great mod for servers! Just one thing I would suggest, you should make it possible to change the distance it protects. Let's say about 50 blocks max of protection. Other than that, great mod!
Luke123 wrote:This is a great mod for servers! Just one thing I would suggest, you should make it possible to change the distance it protects. Let's say about 50 blocks max of protection. Other than that, great mod!
- Luke
Increasing the protection range can be bad for performance (imagine checking a 5³ cube vs a 50³ cube; it would be 100 times slower).
Anyway, this is not a bad idea.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!
It would be a lot better with more protection range. But it is just not possible/reasonable.
Or it could store all protected areas in a file, but I am not sure it's a good idea...
Zeg9 wrote:It would be a lot better with more protection range. But it is just not possible/reasonable.
Or it could store all protected areas in a file, but I am not sure it's a good idea...
That's the basis of landclaim_0gb_us. It works on chunks however. A per-node lookup would be almost as bad as having Minetest look it up by checking nodes.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.