Hi all
i have make a little mod for MinetestForFun , maybe they can help you !
For protect Falling Nodes :
All falling node can be falling in protected zone ... I have fix it with rewirte __builtin:falling_node and some node :)
HOW IT'S WORK ?
Open the init.lua and edit the list of node
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
add_falling_protect_item("default:sand")
add_falling_protect_item("default:redsand")
add_falling_protect_item("default:gravel")
Exemple:
i want add my node for make it protect "jambon:avil" but i not have "default:redsand" , i edit by
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
add_falling_protect_item("default:sand")
add_falling_protect_item("default:gravel")
add_falling_protect_item("jambon:avil")
Now add the mod to your server and now falling block can only falling if it's your zone ! (if not you can get the drop)
For Protect Lava/Water (v0.2/v0.3 ) :
Tired about people place water or lava in your house ?
Open the init.lua and edit
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
-- Protect in realtime the lava flowing (can be slow)
PROTECT_LAVA_REALTIME = 1 -- 0 for OFF , 1 for ON
-- Protect in realtime the water flowing (can be very slow, because some water in this world :p)
PROTECT_WATER_REALTIME = 0 -- 0 for OFF , 1 for ON
Changelog:
v 0.3
- Remake of protect lava/water ... with config ! More fast :)
- Add protected zone (7block) for bukket
v 0.2
- Begin of protect lava/water ... Very slow at the moment ... use 0.1 if too slow for you !
V 0.1
- Protect about falling ( if you not have set the owner value in your node ... they turn to drop in falling)
If you have problem with this , say it :)