[Mod] basic_protect [basic_protect]

User avatar
rnd
Member
 
Posts: 136
Joined: Sun Dec 28, 2014 12:24
IRC: ac_minetest
In-game: rnd

[Mod] basic_protect [basic_protect]

by rnd » Sat Nov 26, 2016 18:29

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

Image

Image
Attachments
protector2.jpg
protector2.jpg (123.8 KiB) Viewed 875 times
protector1.jpg
protector1.jpg (38.86 KiB) Viewed 875 times
Last edited by rnd on Sun Nov 27, 2016 07:23, edited 1 time in total.
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: [Mod] basic_protect [basic_protect]

by ExeterDad » Sat Nov 26, 2016 19:58

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?
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
rnd
Member
 
Posts: 136
Joined: Sun Dec 28, 2014 12:24
IRC: ac_minetest
In-game: rnd

Re: [Mod] basic_protect [basic_protect]

by rnd » Sun Nov 27, 2016 11:12

It prevents "digging" your way into protected area
 

ManElevation
Member
 
Posts: 213
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] basic_protect [basic_protect]

by ManElevation » Tue Dec 20, 2016 01:18

Thank you for this mod, looks great. im testing this now ;)
Hey there im going to be off minetest for a while because my company has been deleloping a game called Ground Conflict, if you wish to see some screenshots or have some info, than please join our discord server https://discord.gg/C9ygXJn
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 7 guests

cron