[Mod] Advanced area protection [areas]
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
Here explains all the commands in detail.brunob.santos wrote:This mod seems very complicated. Explain better!
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
Yes. minetest.rotate_and_place ignored protection. I've fixed it here.TenPlus1 wrote:It seems that cactus and tree blocks can be placed in a protected areas without any problems, any idea why ??
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
Areas has no maximum or minimum size by default. And self-protection is limited to 50*100*50m^3 by default.freejack wrote:Ok it seems there is some lag between the update and the readme. I know it is not config.lau but settings.lau. I need to increase the max area to protect.
it says the max is 1024m^2, trying to increase it to 5000 or more. When I do it crashes on boot.
Do you mean Sokomine's markers mod?
It implements a GUI for areas and has a 1024m^2 hardcoded limit (although it's in a variable).
Last edited by ShadowNinja on Tue Jan 14, 2014 18:17, edited 1 time in total.
I may be missing something, but I follow the steps (using the chat commands) to create an area, set myself as the owner, and then use the protect command to prevent others from digging/building on it.
Now here's the problem: the area is listed as my area, but people are still able to build and dig on the area even after I use the /protect command.
Any suggestions?
Now here's the problem: the area is listed as my area, but people are still able to build and dig on the area even after I use the /protect command.
Any suggestions?
-
- Member
- Posts: 4287
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
The areas mod usually works pretty well and protecs reliably. Try my markers mod. It has a book and a marker stone that allow you to visualize the area. That way you can check if you protected the right place.
[Edit] Of course it might be that all your other players have extensive privs and are thus allowed to build in any area. Check if they got the areas-priv.
[Edit] Of course it might be that all your other players have extensive privs and are thus allowed to build in any area. Check if they got the areas-priv.
Last edited by Sokomine on Tue Jan 21, 2014 01:59, edited 1 time in total.
A list of my mods can be found here.
Sokomine wrote:The areas mod usually works pretty well and protecs reliably. Try my markers mod. It has a book and a marker stone that allow you to visualize the area. That way you can check if you protected the right place.
[Edit] Of course it might be that all your other players have extensive privs and are thus allowed to build in any area. Check if they got the areas-priv.
Oh, so if they have the areas priv, then they are able to build on protected areas?
-
- Member
- Posts: 4287
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Yes. Players with that priv are area maintainers and can build there regardless of ownership. Do not give the areas priv to normal players. Only give it to your moderators/trustworthy players.BRICK wrote: Oh, so if they have the areas priv, then they are able to build on protected areas?
A list of my mods can be found here.
Sokomine wrote:Yes. Players with that priv are area maintainers and can build there regardless of ownership. Do not give the areas priv to normal players. Only give it to your moderators/trustworthy players.BRICK wrote: Oh, so if they have the areas priv, then they are able to build on protected areas?
Okay, thanks! That clears up a lot of confusion...
This is a pretty cool mod. It protects from dig and place, but not from anything else. So, you get these usage scenarios:
1) Set up a public place where the area is protected by an admin, so anyone can store or use items, but they can't change what those items are or where they are placed.
2) Set up a private place where the area is owned by that particular owner, using locked doors and/or locked chests to protect places/items completely from other users.
It wasn't completely clear from the description that this was the case until I tried this out, myself. There's also a few caveats:
- Doesn't protect your area from TNT or mesecon pistons (might have to adjust those mods if you use them).
- Doesn't protect your area from flowing water or lava placed on some kind of ledge a griefer might decide to build at the border.
1) Set up a public place where the area is protected by an admin, so anyone can store or use items, but they can't change what those items are or where they are placed.
2) Set up a private place where the area is owned by that particular owner, using locked doors and/or locked chests to protect places/items completely from other users.
It wasn't completely clear from the description that this was the case until I tried this out, myself. There's also a few caveats:
- Doesn't protect your area from TNT or mesecon pistons (might have to adjust those mods if you use them).
- Doesn't protect your area from flowing water or lava placed on some kind of ledge a griefer might decide to build at the border.
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
TNT mods should check for protection, as should mesecons pistons, using the protection API in the engine. File a issue with those mods. (Although there isn't area protection checking in the engine yet...)gsmanners wrote:There's also a few caveats:
- Doesn't protect your area from TNT or mesecon pistons (might have to adjust those mods if you use them).
- Doesn't protect your area from flowing water or lava placed on some kind of ledge a griefer might decide to build at the border.
Lava and water are virtually impossible to protect from as liquids need to be handled in the engine for speed. You can protect a few extra nodes to prevent liquids from getting to your things, and you can make tall areas so that greifers can't stack up over the top.
-
- Member
- Posts: 4287
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Most servers at least disable lava buckets above ground. Water is easier to clean away, and in the rare occasions where lava above ground may do something good, asking a moderator to place it ought to be possible.
A list of my mods can be found here.
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
0.4.9 has a bug in client initialization, the TOCLIENT_HUD_ADD command is sent, but it's sent before the client is ready to handle it. Update to a recent git build, wait for 0.4.10, or downgrade.CraigyDavi wrote:The area owners on the HUD do not seem to be working.
This happened just after I updated server to version 0.4.9.
Would anyone know what the problem could be? The hud.lua file is there.
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
At the moment it seems to sometimes show the area owners on the HUD but rarely.ShadowNinja wrote:0.4.9 has a bug in client initialization, the TOCLIENT_HUD_ADD command is sent, but it's sent before the client is ready to handle it. Update to a recent git build, wait for 0.4.10, or downgrade.CraigyDavi wrote:The area owners on the HUD do not seem to be working.
This happened just after I updated server to version 0.4.9.
Would anyone know what the problem could be? The hud.lua file is there.
So I need to update the minetest version. I use a dev build from January the 26th. Do I need a newer version?
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
It's a race condition I believe, so your client might be ready in time, or might not.CraigyDavi wrote: At the moment it seems to sometimes show the area owners on the HUD but rarely.
It was fixed a few days after your build.CragyDavi wrote: So I need to update the minetest version. I use a dev build from January the 26th. Do I need a newer version?
Works ok, am somehow still able to place doors though...ShadowNinja wrote:Yes. minetest.rotate_and_place ignored protection. I've fixed it here.TenPlus1 wrote:It seems that cactus and tree blocks can be placed in a protected areas without any problems, any idea why ??
- CraigyDavi
- Member
- Posts: 582
- Joined: Sat Aug 10, 2013 13:08
- GitHub: davisonio
- IRC: davisonio
- In-game: CraigyDavi
- Location: Hampshire, UK
- Contact:
Ok thanks. I'll update it soon.ShadowNinja wrote:It was fixed a few days after your build.CraigyDavi wrote: So I need to update the minetest version. I use a dev build from January the 26th. Do I need a newer version?
Same here. People can place doors in protected areas.TenPlus1 wrote:Works ok, am somehow still able to place doors though...ShadowNinja wrote:Yes. minetest.rotate_and_place ignored protection. I've fixed it here.TenPlus1 wrote:It seems that cactus and tree blocks can be placed in a protected areas without any problems, any idea why ??
Last edited by CraigyDavi on Sun Feb 16, 2014 09:12, edited 1 time in total.
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
Fixed here.TenPlus1 wrote:Works ok, am somehow still able to place doors though...
Who is online
Users browsing this forum: Bing [Bot] and 15 guests