Page 1 of 2

How do you disable the bones mod in minetest 4.7?

PostPosted: Mon Jun 17, 2013 17:25
by JBR
How do you disable the bones mod in minetest 4.7?

PostPosted: Mon Jun 17, 2013 17:27
by Dan Duncombe
Select your world, click configure, click on 'bones' and make sure the checkbox 'enabled' is not ticked. It will then not use bones mod in that particular world.

PostPosted: Mon Jun 17, 2013 17:30
by JBR
yeah about that... bones doesn't exist i the configure gui and neither does it exist in the world.mt file, help?

PostPosted: Mon Jun 17, 2013 17:36
by Dan Duncombe
Then Maybe it isn't in your minetest altogether... Do you still get bones in game?

PostPosted: Mon Jun 17, 2013 17:39
by JBR
Dan Duncombe wrote:Then Maybe it isn't in your minetest altogether... Do you still get bones in game?


Yes and it's annoying for what i'm doing. In version 4.6 I could normally just remove it from the world.mt file but it's not even in there now :(

eidt:Also do you know any mods that remove any bone nodes, because they've kind of cluttered my place.

PostPosted: Mon Jun 17, 2013 17:47
by Dan Duncombe
Okay... I'm not sure. Maybe ask someone like PilzAdam. I don't have this problem with 0.4.7 stable- I can disable it whenever I want. Maybe backup all of your mods, and worlds, then re-download Minetest stable, reload your mods and worlds, and try again.

PostPosted: Mon Jun 17, 2013 17:48
by BrandonReese
Bones are part of minetest_game now, so I think you have to delete the bones folder in minetest_games/mods

PostPosted: Mon Jun 17, 2013 17:49
by Dan Duncombe
Good point- but I still thought you could disable it with the configure tab...

PostPosted: Mon Jun 17, 2013 17:50
by rubenwardy
Dan Duncombe wrote:Good point- but I still thought you could disable it with the configure tab...


No, you can only do that to mods in the {root}/mods folder.

PostPosted: Mon Jun 17, 2013 17:52
by JBR
So the only way to stop is to delete the bone mod folder temporary?

PostPosted: Mon Jun 17, 2013 17:55
by Nore
Or you can wait until this is merged: https://github.com/minetest/minetest_game/pull/177

PostPosted: Mon Jun 17, 2013 17:55
by rubenwardy
Yeah

or at the beginning of the bones/init.lua add "return" on its own line.

PostPosted: Mon Jun 17, 2013 17:58
by JBR
Ok. Does anyone know a mod to remove the bones from a game?

PostPosted: Mon Jun 17, 2013 17:59
by BlockMen
Or just use Minetest+ instead of minetest_game.

It has no bones mod, more features and many tewaked things.

PostPosted: Mon Jun 17, 2013 18:00
by JBR
BlockMen wrote:Or just use Minetest+ instead of minetest_game.

It has no bones mod, more features and many tewaked things.

No thanks, all I want is no bones I don't want to change anything else.

PostPosted: Mon Jun 17, 2013 18:02
by BlockMen
JBR wrote:
BlockMen wrote:Or just use Minetest+ instead of minetest_game.

It has no bones mod, more features and many tewaked things.

No thanks, all I want is no bones I don't want to change anything else.


Then go to /games/minetest_game/mods/ and delete the folder "bones"

PostPosted: Mon Jun 17, 2013 18:05
by JBR
BlockMen wrote:
JBR wrote:
BlockMen wrote:Or just use Minetest+ instead of minetest_game.

It has no bones mod, more features and many tewaked things.

No thanks, all I want is no bones I don't want to change anything else.


Then go to /games/minetest_game/mods/ and delete the folder "bones"


I know! Then I asked if you know any mods that remove all bones in a game?

PostPosted: Mon Jun 17, 2013 18:09
by Dan Duncombe
Maybe you could delete the bones folder, then use PilzAdam's unknown node cleanup mod to delete all of the unknown blocks, then re-install bones or leave it.

PostPosted: Mon Jun 17, 2013 18:13
by JBR
Dan Duncombe wrote:Maybe you could delete the bones folder, then use PilzAdam's unknown node cleanup mod to delete all of the unknown blocks, then re-install bones or leave it.


Good idea, thanks.

PostPosted: Mon Jun 17, 2013 18:15
by Dan Duncombe
The cleanup mod is http://forum.minetest.net/viewtopic.php?id=2777 in case you can't find it

Re: How do you disable the bones mod in minetest 4.7?

PostPosted: Sun Dec 14, 2014 03:46
by cornernote
This does the trick:

Code: Select all
minetest.register_abm({
    nodenames = {"bones:bones"},
    interval = 1,
    chance = 1,
    action = function(pos, node)
        minetest.env:remove_node(pos)
    end,
})

Re: How do you disable the bones mod in minetest 4.7?

PostPosted: Sun Dec 14, 2014 08:03
by Hybrid Dog
cornernote wrote:This does the trick:

Code: Select all
minetest.register_abm({
    nodenames = {"bones:bones"},
    interval = 1,
    chance = 1,
    action = function(pos, node)
        minetest.env:remove_node(pos)
    end,
})

I think this would remove the inventory of bones, too.

Re: How do you disable the bones mod in minetest 4.7?

PostPosted: Sun Dec 14, 2014 08:05
by cornernote
Do you mean all the items that were in the bones?

If you don't remove the inventory, what do you do with it?

Re: How do you disable the bones mod in minetest 4.7?

PostPosted: Sun Dec 14, 2014 10:18
by Hybrid Dog
cornernote wrote:Do you mean all the items that were in the bones?

If you don't remove the inventory, what do you do with it?

you could give it to the nearest player(s)

Re: How do you disable the bones mod in minetest 4.7?

PostPosted: Sun Dec 14, 2014 10:29
by Krock
Code: Select all
minetest.register_abm({
   nodenames = {"bones:bones"},
   interval = 1,
   chance = 1,
   action = function(pos, node)
      local meta = minetest.get_meta(pos)
      local inv = meta:get_inventory()
      
      for i = 1, inv:get_size("main") do
         local stack = inv:get_stack("main", i)
         if not stack:is_empty() then
            minetest.add_item(pos, stack)
         end
      end
      minetest.remove_node(pos)
   end
})


Drops the stuff. Solved.