[Mod] Cleaner [0.4] [cleaner]

Post Reply
User avatar
AntumDeluge
Member
Posts: 167
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

[Mod] Cleaner [0.4] [cleaner]

by AntumDeluge » Post

Cleaner - Remove Unknown Entities & Nodes

Description:

A simple mod that can be used to remove unknown entities & nodes. Forked from PilzAdam's clean mod.

Major changes:
  • Changed license to CC0.
  • Reads entities to be cleaned from clean_entities.txt file in world path.
  • Reads nodes to be cleaned from clean_nodes.txt file in world path.
Usage:
  • Cleaning entities:
    • Edit clean_entities.txt file in world path & add desired entities to be removed, one per line.
  • Cleaning nodes:
    • Same as cleaning entities but with clean_nodes.txt file.
  • Not recommended:
    • Edit source code & add list of entities to old_entities table, or list of nodes to old_nodes table.
  • Note: Server/Game must be restarted for changes to take effect.
Requirements:
  • Minetest 0.4.16 or newer
  • Depends: none
Licensing: Links:

John_Constructor
Member
Posts: 76
Joined: Thu Jun 01, 2017 20:06
GitHub: John-Constructor
In-game: Nooberton
Location: On Minetest 24/7

Re: [Mod] Cleaner [0.4] [cleaner]

by John_Constructor » Post

This might be helpful! Definitely for those who have an ore mod and might want to disable it for their world.
Constructing mechs and wingless aircraft since 2016.

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Cleaner [0.4] [cleaner]

by azekill_DIABLO » Post

+1 definitivly needed

IanniPowerup!!!
Member
Posts: 100
Joined: Wed Nov 29, 2017 17:33
In-game: IanniPowerup
Contact:

Re: [Mod] Cleaner [0.4] [cleaner]

by IanniPowerup!!! » Post

doesnt work :(

User avatar
Grizzly Adam
Member
Posts: 252
Joined: Sat Aug 05, 2017 01:28
GitHub: Grizzly-Adam
Location: Lost in America
Contact:

Re: [Mod] Cleaner [0.4] [cleaner]

by Grizzly Adam » Post

Does work. Thank you.
Check out my Mods: BBQ Mod Crops Plus

User avatar
neko259
Member
Posts: 805
Joined: Sun Jun 19, 2011 06:51

Re: [Mod] Cleaner [0.4] [cleaner]

by neko259 » Post

It would be better to add not only nodes to remove but node substitutes too. Sometimes a node was renamed or moved to other mod and can be simply replaced.

mase
Member
Posts: 54
Joined: Tue Feb 21, 2017 20:16
In-game: mase

Re: [Mod] Cleaner [0.4] [cleaner]

by mase » Post

How can I get rid of whole node or entity groups, for example all zombies,
or all kind of trails from the trails mod?

bell07
Member
Posts: 599
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Cleaner [0.4] [cleaner]

by bell07 » Post

Please use register_lbm with run_at_every_load instead of register_abm to clean nodes. Should use less ressources.

User avatar
AntumDeluge
Member
Posts: 167
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

Re: [Mod] Cleaner [0.4] [cleaner]

by AntumDeluge » Post

Thank you bell07. I will check that out.

mase
Member
Posts: 54
Joined: Tue Feb 21, 2017 20:16
In-game: mase

Re: [Mod] Cleaner [0.4] [cleaner]

by mase » Post

Does this mod remove all unknown objects on server start, or only when a player is near?

User avatar
AntumDeluge
Member
Posts: 167
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

Re: [Mod] Cleaner [0.4] [cleaner]

by AntumDeluge » Post

mase wrote:Does this mod remove all unknown objects on server start, or only when a player is near?
As I understand it, only when a player is near. But it's been a while since I looked at the code.

Post Reply

Who is online

Users browsing this forum: freshreplicant, W3RQ01 and 6 guests