basic_protect divides the space into rectangle areas players can protect. Whenever player places protector area is claimed and protector is placed at "special position".
License: LGPL
Dependence: default
Download: https://github.com/ac-minetest/basic_protect/
------------------------------------------------------------------------------------
features:
- protected areas dont overlap, default area size is 20x20 horizontally and 40 vertically
- can add shared players, display protected area after punching the protector block
- can "effectively" keep out every trespasser digger (if they dont noclip cheat) by teleporting them to player selected nearby area
- very fast protection checks with caching (once position inside block is check it remembers protection status) independent of area size/number of areas
- very simple code without using complicated data structures
[Mod] basic_protect [basic_protect]
- rnd
- Member
- Posts: 220
- Joined: Sun Dec 28, 2014 12:24
- GitHub: ac-minetest
- IRC: ac_minetest
- In-game: rnd
[Mod] basic_protect [basic_protect]
- Attachments
-
- protector2.jpg (123.8 KiB) Viewed 315 times
-
- protector1.jpg (38.86 KiB) Viewed 315 times
Last edited by rnd on Sun Nov 27, 2016 07:23, edited 1 time in total.
1EvCmxbzl5KDu6XAunE1K853Lq6VVOsT
- ExeterDad
- Member
- Posts: 1717
- Joined: Sun Jun 01, 2014 20:00
- In-game: ExeterDad
- Location: New Hampshire U.S.A
Re: [Mod] basic_protect [basic_protect]
I will be checking this out. Thanks for releasing :)
Edit: Question. The teleport feature sends the "trespasser" away when attempting to dig protected nodes? Or literally for trespassing in a protected area?
Edit: Question. The teleport feature sends the "trespasser" away when attempting to dig protected nodes? Or literally for trespassing in a protected area?
HOMETOWN -Our little server. Keep the HOMETOWN chatter @ http://hometownserver.com - Our server map: http://media.hometownserver.com
- rnd
- Member
- Posts: 220
- Joined: Sun Dec 28, 2014 12:24
- GitHub: ac-minetest
- IRC: ac_minetest
- In-game: rnd
Re: [Mod] basic_protect [basic_protect]
It prevents "digging" your way into protected area
1EvCmxbzl5KDu6XAunE1K853Lq6VVOsT
- ManElevation
- Member
- Posts: 896
- Joined: Tue Aug 02, 2016 22:04
- GitHub: ManElevation
- IRC: ManElevation
- In-game: ManElevation
- Location: Madrid,Spain
Re: [Mod] basic_protect [basic_protect]
Thank you for this mod, looks great. im testing this now ;)
My Public Mods! Discord: Rottweiler Games#3368
Who is online
Users browsing this forum: Google [Bot] and 37 guests