mod-cleaner/README.md

63 lines
1.5 KiB
Markdown
Raw Normal View History

2021-05-18 17:46:18 -07:00
## Cleaner mod for Minetest
---
2021-05-18 17:46:18 -07:00
### Description:
2021-05-26 21:25:02 -07:00
A [Minetest][] mod that can be used to remove/replace unknown entities, nodes, & items. Forked from [PilzAdam's ***clean*** mod][f.pilzadam].
---
### Licensing:
[MIT](LICENSE.txt)
2017-08-30 15:16:14 -07:00
---
2021-05-18 17:46:18 -07:00
### Requirements:
2017-08-30 15:16:14 -07:00
- Minetest 0.4.16 or newer
- Depends: none
---
2021-05-26 21:25:02 -07:00
### 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:
```json
{
"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.
2021-05-26 21:25:02 -07:00
---
### Links:
2021-05-26 22:16:09 -07:00
- [![ContentDB](https://content.minetest.net/packages/AntumDeluge/cleaner/shields/title/)][ContentDB]
2021-05-26 21:25:02 -07:00
- [Forum](https://forum.minetest.net/viewtopic.php?t=18381)
- [Git repo](https://github.com/AntumMT/mod-cleaner)
- [Changelog](changelog.txt)
- [TODO](TODO.txt)
2021-05-26 21:25:02 -07:00
[Minetest]: http://www.minetest.net/
[f.pilzadam]: https://forum.minetest.net/viewtopic.php?t=2777
2021-05-26 22:16:09 -07:00
[ContentDB]: https://content.minetest.net/packages/AntumDeluge/cleaner/