Go to file
Jordan Irwin 774b22a55b Use register_on_mods_loaded 2021-07-12 06:17:59 -07:00
LICENSE.txt Change license to MIT 2021-05-18 17:46:18 -07:00
README.md Increment version to 1.1 2021-05-27 20:44:01 -07:00
TODO.txt Add to TODO list 2021-07-12 06:06:01 -07:00
changelog.txt Use "register_lbm" with "run_at_every_load" instead of... 2021-05-27 20:42:04 -07:00
entities.lua Support replacing nodes 2021-05-18 20:50:14 -07:00
init.lua Add method for cleaning/replacing items 2021-05-26 20:54:43 -07:00
items.lua Use register_on_mods_loaded 2021-07-12 06:17:59 -07:00
misc_functions.lua Add some LuaDoc 2021-05-26 20:55:00 -07:00
mod.conf Increment version to 1.1 2021-05-27 20:44:01 -07:00
nodes.lua Use "register_lbm" with "run_at_every_load" instead of... 2021-05-27 20:42:04 -07:00

README.md

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.