remove_unknown
Use this mod to remove unknown nodes from your minetest world.
If worldedit is installed, select a region and execute /rm.
Alternatively, you can use /rm <radius>
Privileges :
rm
Depends :
-- none --
Licence :
GNU LGPL v2.1
Browse code :
https://github.com/indriApollo/remove_unknown
Download :
https://github.com/indriApollo/remove_u ... master.zip
[mod] Remove unknown nodes [remove_unknown]
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
[mod] Remove unknown nodes [remove_unknown]
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
- rubenwardy
- Moderator
- Posts: 7026
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: London, United Kingdom
- Contact:
Re: [mod] Remove unknown nodes [remove_unknown]
There is no point using voxel manip when you use minetest.get_node. Unless you mean to force load the area.
- Krock
- Developer
- Posts: 4683
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: [mod] Remove unknown nodes [remove_unknown]
Exactly. The variable "nodes" in "remove_unknown.rm()" is never used.
Please choose one way to remove those unknown nodes and don't mix them together.
Please choose one way to remove those unknown nodes and don't mix them together.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [mod] Remove unknown nodes [remove_unknown]
Woops you are both right, I'm now using the voxel manipulator correctly (I hope :).
This mod was quickly written to help a server admin and was mostly copy-pasted from an other mod I've made that fixes the orientation of torches. Since you can't set param2 with voxelmanip and I was too lazy to write a for loop, I use iterp() on a selection and then minetest.get_node/set/remove.
But I realise now it's very inefficient :/
This mod was quickly written to help a server admin and was mostly copy-pasted from an other mod I've made that fixes the orientation of torches. Since you can't set param2 with voxelmanip and I was too lazy to write a for loop, I use iterp() on a selection and then minetest.get_node/set/remove.
But I realise now it's very inefficient :/
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3
- Bas080
- Member
- Posts: 398
- Joined: Mon May 21, 2012 15:54
- GitHub: bas080
- IRC: bas080
- In-game: bas080
- Location: Netherlands
Re: [mod] Remove unknown nodes [remove_unknown]
Would like to see this mod working correctly. Should be in default as it is really annoying having all these undefined nodes and nothing to do about it except define 'air' aliases for them.
- indriApollo
- Member
- Posts: 146
- Joined: Fri Sep 26, 2014 11:34
- GitHub: indriApollo
- IRC: indriApollo
- In-game: SudoAptGetPlay
- Location: Belgium
- Contact:
Re: [mod] Remove unknown nodes [remove_unknown]
This has nothing to do in default. Unknown nodes only appear when you mess with your mods.
My mod is more of a one-time tool for server admins who screw things up. (as I do regularly)
My mod is more of a one-time tool for server admins who screw things up. (as I do regularly)
My mods : The Cube minigame, Spleef minigame, Unbreakable screwdriver, Warp,Notifying doorbell
Serveur francophone : game.minetest-france.fr:30000 <3
Serveur francophone : game.minetest-france.fr:30000 <3