Go to file
unknown f379cca457 make liquid list more game agnostic 2021-10-30 15:32:15 -04:00
.github/workflows add github workflow 2021-01-09 22:25:31 -05:00
.luacheckrc fix luacheck 2021-01-09 15:08:45 -05:00
LICENSE last time 2021-01-22 11:07:31 -05:00
depends.txt update readme, add technic cans support 2021-01-09 15:48:18 -05:00
init.lua make liquid list more game agnostic 2021-10-30 15:32:15 -04:00
mod.conf add mod.conf 2021-01-18 00:06:30 -05:00
readme.md make liquid list more game agnostic 2021-10-30 15:32:15 -04:00
settingtypes.txt add settings 2021-01-17 23:58:13 -05:00

readme.md

Minetest Liquid_Restriction Mod

ContentDB Luacheck License: MIT

restricts players from placing liquids via the node or bucket unless they have a the spill priv

About

born out of me not being able to find a good public spill mod. mod is ment for creative worlds. licensed under MIT.

Setup

download mod, make sure its named liquid_restriction

recommend settings for survival

lr_default = "interact"  
lr_advanced = "spill"  
lr_height = 0  
lr_renew = "true"  

-this config requires players to have the spill priv to use above 0

recommend settings for creative
leave at defaults

minetest.conf settings

  • lr_default (by default spill): default liquid_restriction priv
  • lr_advanced (by default server): advanced liquid_restriction priv
  • lr_height (by default 30): height for advanced priv use
  • lr_renew (by default false): if liquids are renewable or not

FAQ

buckets don't work(place liquid) when used.
please update the mod, this has since been fixed as of commit 1e33fd0

how do I use this mod for random liquid
this mod supports any liquid with the liquid of flowingliquid drawtype, to disable its override please add the liquid_blacklist group to the node. As for buckets or other on_place items, please submit a issue or PR at this time.