mod-cleaner/README.md
2021-05-27 20:44:01 -07:00

1.5 KiB

Cleaner mod for Minetest


Description:

A Minetest mod that can be used to remove/replace unknown entities, nodes, & items. Originally forked from PilzAdam's clean mod.


Licensing:

MIT


Requirements:

  • Minetest 0.4.16 or newer
  • Depends: none

Usage:

There are three files in the world path that can be edited: clean_entities.json, clean_nodes.json, & clean_items.json. If they do not already exist with the server is started they will be created automatically.

They are formatted as follows:

{
	"remove":
	[
		"creatures:ghost",
		"creatures:chicken",
		"creatures:sheep",
		"creatures:skeleton",
		"creatures:zombie",
		"creatures:oerkki",
		"creatures:shark",
	],
	"replace":
	{
		"biofuel:biofuel":"default:leaves",
		"helicopter:heli":"default:copper_lump",
		"spawneggs:ghost":"alternode:key",
		"spawneggs:oerkki":"default:mese_crystal",
		"unifieddyes:airbrush":"default:coal_lump",
	},
}

remove key works for nodes & entities. replace key works for nodes & items. Their functions are self-explanatory.