Setting up a server for a school project.

krux
New member
 
Posts: 3
Joined: Tue Oct 16, 2018 18:59

Setting up a server for a school project.

by krux » Tue Oct 16, 2018 19:30

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?
 

dawgdoc
Member
 
Posts: 220
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: Setting up a server for a school project.

by dawgdoc » Wed Oct 17, 2018 03:40

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
 

krux
New member
 
Posts: 3
Joined: Tue Oct 16, 2018 18:59

Re: Setting up a server for a school project.

by krux » Wed Oct 17, 2018 20:34

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?
 

HONEYBOOBOOCHILD
Member
 
Posts: 52
Joined: Tue Apr 17, 2018 02:51

Re: Setting up a server for a school project.

by HONEYBOOBOOCHILD » Thu Oct 18, 2018 19:37

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/
 

krux
New member
 
Posts: 3
Joined: Tue Oct 16, 2018 18:59

Re: Setting up a server for a school project.

by krux » Thu Oct 18, 2018 20:23

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.
 

HONEYBOOBOOCHILD
Member
 
Posts: 52
Joined: Tue Apr 17, 2018 02:51

Re: Setting up a server for a school project.

by HONEYBOOBOOCHILD » Thu Oct 18, 2018 23:02

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!
 


Return to Servers



Who is online

Users browsing this forum: SirCJ and 12 guests