Page 1 of 1

Setting up a server for a school project.

PostPosted: Tue Oct 16, 2018 19:30
by krux
Hi,

I have a problem. I'm trying out minetest to do a small porject in school but i need to remove the lava and water.
Is there a simple way to remove the blocks from everyone inventory or to stop them from flowing when used?

Re: Setting up a server for a school project.

PostPosted: Wed Oct 17, 2018 03:40
by dawgdoc
krux wrote:Hi,

I have a problem. I'm trying out minetest to do a small porject in school but i need to remove the lava and water.
Is there a simple way to remove the blocks from everyone inventory or to stop them from flowing when used?

Check the code in this mod by Maikerumine, he has it set up to prevent placing lava and water above 0 in altitude.
https://github.com/maikerumine/ESM5/blo ... igrief.lua

Re: Setting up a server for a school project.

PostPosted: Wed Oct 17, 2018 20:34
by krux
dawgdoc wrote:Check the code in this mod by Maikerumine, he has it set up to prevent placing lava and water above 0 in altitude.
https://github.com/maikerumine/ESM5/blo ... igrief.lua


That would be perfect, how do I use the code, can I put it in a excisting file or do I need to use the complete package?

Re: Setting up a server for a school project.

PostPosted: Thu Oct 18, 2018 19:37
by HONEYBOOBOOCHILD
copy paste that code into a text file and name "init.lua"
put init.lua into a folder called "antigrief"
put that folder into "mods" directory.
Sometimes minetest has more than 1 mods directory, just find the one with other mod folders in it and that's the right place. My build has minetest/mods = wrong/useless. So i use minetest/games/minetest_games/mods/

Re: Setting up a server for a school project.

PostPosted: Thu Oct 18, 2018 20:23
by krux
HONEYBOOBOOCHILD wrote:copy paste that code into a text file and name "init.lua"
put init.lua into a folder called "antigrief"
put that folder into "mods" directory.
Sometimes minetest has more than 1 mods directory, just find the one with other mod folders in it and that's the right place. My build has minetest/mods = wrong/useless. So i use minetest/games/minetest_games/mods/


Works perfect, altho I added river water bucket and river water source. Wasnt included in the code. Thanks for all the help.

Re: Setting up a server for a school project.

PostPosted: Thu Oct 18, 2018 23:02
by HONEYBOOBOOCHILD
krux wrote:
HONEYBOOBOOCHILD wrote:copy paste that code into a text file and name "init.lua"
put init.lua into a folder called "antigrief"
put that folder into "mods" directory.
Sometimes minetest has more than 1 mods directory, just find the one with other mod folders in it and that's the right place. My build has minetest/mods = wrong/useless. So i use minetest/games/minetest_games/mods/


Works perfect, altho I added river water bucket and river water source. Wasnt included in the code. Thanks for all the help.



Thanks, I did not think about river water and I'm using Valleys for a map. Derp!