A Luanti (minetest) mod to remove & replace unknown entities, nodes, & items.
Find a file
2021-07-12 15:41:53 -07:00
docs Re-generate HTML docs 2021-07-12 09:02:51 -07:00
api.lua Minor cleanup 2021-07-12 15:36:01 -07:00
changelog.txt Add setting for enabling "unsafe" methods & commands 2021-07-12 15:41:53 -07:00
chat.lua Add chat commands 2021-07-12 15:40:30 -07:00
entities.lua Add API 2021-07-12 08:40:45 -07:00
init.lua Add setting for enabling "unsafe" methods & commands 2021-07-12 15:41:53 -07:00
items.lua Add API 2021-07-12 08:40:45 -07:00
LICENSE.txt Change license to MIT 2021-05-18 17:46:18 -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 Add API 2021-07-12 08:40:45 -07:00
README.md Link to API reference in README 2021-07-12 09:04:00 -07:00
settings.lua Add setting for enabling "unsafe" methods & commands 2021-07-12 15:41:53 -07:00
settingtypes.txt Add setting for enabling "unsafe" methods & commands 2021-07-12 15:41:53 -07:00
TODO.txt Add setting for enabling "unsafe" methods & commands 2021-07-12 15:41:53 -07:00

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.