The buildings that slow you down, found and cleaned up.
DemoZ-Clean looks at the whole cluster at once: what is decaying, ownerless, spammed to block, or left as an abandoned draft.
- Each cluster of pieces shows on the map, in Z-ARK
- Nothing is destroyed without your say: a preview first, and the automatic clean-up is off by default
- The world is saved before every pass
- Protected tribes are never touched, and a tribe Z-Clean has never seen playing is never touched by the clean-up
What it looks like in Z-ARK
The whole cluster at once: decaying, ownerless, spam and abandoned drafts, each cluster of pieces with its tribe, server and position, ticked before anything is destroyed:
The clean-up settings, per server: automatic clean-up (off by default), days away per material, grace days and protected tribes:
Upgrading from 1.1.1 — read this first
- Update from Z-ARK 0.285.0 or newer. It keeps your settings, adds the new
Generalblock, removes the oldTextsblock and the old comment keys (names starting with an underscore) after a safety copy, and lists everything in the update report. - Your protections stay as they were:
Decay.ExemptTeams,Decay.ClusterActivityand every other value of yourconfig.jsonare kept, and the automatic clean-up (Decay.Enabled) stays as you set it. config.jsonnow holds the settings only. The plugin no longer writes to it, and the comments and the oldTextsblock that used to be in it are gone. The explanation of each setting is now inconfig.commented.json, shipped with the plugin (read it, do not rename it toconfig.json).- Z-Clean sends no text to players (it only answers RCON and writes to the log), so there is no text of yours to move. The
langfolder is shipped without text, only so that every Z- plugin has the same layout. - New setting
General.Enabled(defaulttrue). If it is missing from yourconfig.json, the plugin behaves as enabled, exactly like before. - The RCON replies are unchanged.
ZClean.Statusnow ends with| texts: …, the language files found. - Safer unloading, from 1.1.1, is kept.
How to get it
Z-Clean works with Z-ARK, our free server manager: the map and the clean-up are Z-ARK screens. Z-ARK installs the plugin from its dashboard, keeps its licence check up to date on its own and fetches each new version.
- Get Z-ARK (free): https://z-ark.fr/en/download/
- Licence: €3 / 3 months or €10 / year — https://z-ark.fr/en/#pricing
Updates come the same way: Z-ARK checks for new versions of this plugin and installs them from its dashboard. With Z-ARK 0.285.0 or newer, it keeps your settings, removes the old keys that are no longer used after a safety copy, and lists everything in the update report. Click Watch at the top of this page to be notified of every new version; what changed is listed in the Updates tab.
RCON commands
ZClean.Reload— re-readsconfig.jsonand thelangfolder, no restart. It answers "settings reloaded", or "reload failed, previous settings still in place" if the file cannot be read.ZClean.Status— version, last scan, report path, licence, destroy queue. It ends with| texts: …(the language files found).ZClean.Scan [force]— scans the structures and writesrapport.json.ZClean.Destroy <team> <x> <y> <z> <radius> [go]— destroys the structures of a tribe within a radius of a point. Withoutgoit is a preview: nothing is destroyed.ZClean.Sweep [go]— runs the decay sweep now. Withoutgoit is a preview.ZClean.Seen <team>— where the last activity of a tribe comes from (read only).
Configure (config.json)
config.json holds the settings only; it never contains a sentence read by players. Every setting is explained in config.commented.json, which comes with the plugin: read it before you change anything. A setting you leave out takes its shipped value.General.Enabled—falseputs the plugin to sleep without unloading it: timers silent, commands refused, onlyZClean.StatusandZClean.Reloadstill answer. The destroy queue in progress waits, nothing is lost. Not the same asDecay.Enabled.General.Language— language of the player texts. Z-Clean sends none today, so this changes nothing yet; it is kept so that every Z- plugin has the same config shape.Scan.ClassPaths— the game classes tried in order to find the structures in the world. Do not change unless a game update breaks the scan.Scan.MinSecondsBetweenScans— a scan asked sooner than this is refused (default 60;ZClean.Scan forceskips it).Decay.Enabled—truelets the daily sweep really destroy the structures of inactive tribes (needs a valid licence).false(default): the daily sweep only writes a preview;ZClean.Sweep gostill works by hand.Decay.InactiveDays— days without activity after which a structure becomes eligible, for any material not listed below (default 30).Decay.DaysPerMaterial— days without activity per material: thatch 4, wood 8, stone 15, metal 30, tek 40 (the material is guessed from the structure's class name).Decay.GraceDays— extra days added before anything is destroyed (default 3).Decay.ExemptTeams— tribe numbers that are never touched.Decay.ProtectIfBed— a piece within 3000 units of a bed of its own tribe is part of the base and is protected (defaulttrue).Decay.ProtectUtilities— oil pumps, sap taps, tree platforms and beehives are never destroyed (defaulttrue).Decay.SaveWorldBeforeSweep— a world save is sent just before a destroy or a sweep withgo(defaulttrue).Decay.SweepAtHour— hour of the day (0 to 23, server time) of the daily sweep (default 5).Decay.MaxDestroyedPerSweep— safety cap for one sweep (default 5000).Decay.DestroyTamedDinosToo— also destroy the tamed dinos of an inactive tribe (defaultfalse).Decay.ClusterActivity.Enabled/Folders— count a tribe's activity on every map of the cluster, by reading theactivity.jsonof the other maps' Z-Clean folders. Default off.
Configuration and texts
What lives where
config.json— the settings. You edit it (or Z-ARK does, from its screens: exempt tribes, cluster activity). The plugin never writes to it.config.commented.json— the same settings with an explanation for each one. Shipped with the plugin, replaced at each update. Read it, do not edit it, do not rename it toconfig.json(it contains comments).lang\en.json,fr.json,de.json,es.json— shipped with the plugin, replaced at each update: do not edit them. They hold no text today.lang\custom.json— your own texts, if one day the plugin has any. Never shipped, never overwritten by an update. Nothing to put there today.
Texts. None for players. If you ever add one in
lang\custom.json, the format is {"EN": {"Key": "text"}, "FR": {"Key": "texte"}}: a key you leave out keeps the shipped text, and a file that cannot be read is ignored with a warning in the log. A text meant for one player is sent in that player's language (the ZMenu flag, carried by Z-Bridge) when known, otherwise in General.Language.Compatibility
ARK: Survival Ascended dedicated servers on Windows (ARK 97 / Unreal Engine 5.8). Requires AsaApi 2.11 or newer.
External connections and data
- No network connection of its own. Z-Clean opens no connection and sends nothing anywhere: no web request, no telemetry, no update check.
- Licence check, done on your machine. The paid functions run only with a valid
licence.zarkfile in the plugin folder. Z-ARK writes it: a pass signed (Ed25519) for this machine, valid 7 days and renewed every day. The plugin checks the signature itself, offline, with a public key built in. To match the machine it reads the WindowsMachineGuid(registry, read-only), and it writeslicence.statenext to it (the latest date seen, to detect a clock moved back). Without a valid pass the paid functions stop and say why in the log and inZClean.Status; nothing is deleted and the server keeps running. - Files written, in its own folder:
activity.json(the last time each tribe was seen playing: tribe id and date),decay.jsonandrapport.json(the last scan: clusters of pieces per tribe, with position and counts). It never writesconfig.jsonor the files inlang. - Files read: its own
config.json, the files inlangandlicence.zark; with the optional cluster activity, theactivity.jsonof the other maps' Z-Clean folders (read-only), so a tribe playing on another map is not counted as gone. - No game hook, no external program started, no other data collected.
Dependencies and limitations
- Requires Z-ARK (free) and a Z-ARK licence; the map and the clean-up are Z-ARK screens.
- No other plugin is needed.
- It destroys structures, so it is built to be careful: a preview first, the world saved before every pass, small slices so the server never freezes, protected tribes never touched, automatic clean-up off by default.
Support
A question, a bug, an idea? Post it in the Discussion tab of this page, or use the form at https://z-ark.fr/en/plugin-support/ (no account needed). Please give the plugin version, your AsaApi version and what you saw. Z-ARK users can also write to us from Settings > Support in Z-ARK.
Built with AI, knowingly
Z-ARK and its plugins were written with an artificial intelligence, by someone from the trade who decides every feature, reviews it and tests it on a real cluster with real players before it reaches you.