2020-01-29 18:15:00 +01:00
2019-12-23 20:46:03 +01:00
2019-12-23 20:46:03 +01:00
2019-12-29 17:56:55 +01:00
2020-01-07 12:46:00 +01:00
2019-12-29 17:56:55 +01:00
2020-01-07 12:46:00 +01:00
2020-01-08 07:41:11 +01:00
2019-12-29 21:13:14 +01:00
2019-12-29 18:46:07 +01:00
2020-01-07 12:35:50 +01:00

mapcleaner

A mod for minetest

Overview

Removes unprotected map chunks on an online server

Rationale

Cleaning up unused an stale mapgen only blocks

Process

Runs in the background, checks and removes chunks from bottom to top.

Protected nodes

List of protected nodes:

protector:protect
protector:protect2
travelnet:travelnet
xp_redo:protector
priv_protector:protector
default:chest_protected
bones:bones
advtrains:dtrack_st
advtrains:dtrack_st_45
advtrains:dtrack_cr_60
group:save_in_at_nodedb

Safety range

  • Player distance: 5*80 blocks
  • For a chunk to be removed all surrounding chunks have to be unprotected

Chatcommands

  • /mapcleaner_status shows the current status (current position, statistics)
  • /mapcleaner_max_time [microseconds] shows or sets the max cpu-time per step
  • /mapcleaner_step_interval [seconds] shows or sets the seconds between intervals
  • /mapcleaner_run [true|false] show, start or stop the process

All settings are persisted across restarts

NOTE: by default the process is stopped and has to be started initially with /mapcleaner_run true

License

MIT

Description
No description provided
Readme 226 KiB
Languages
JavaScript 91.2%
Lua 4%
Mathematica 1.8%
Dockerfile 1.6%
Shell 1.1%
Other 0.3%