Project: CarbonCleaner
Engine: Carbon (Rust Server)
Language: C#
Version: 1.0.0 — Author: RustFlash
Finds orphaned files in carbon/config/, carbon/data/, and carbon/lang/ based on the installed/loaded plugins and provides a sleek in-game CUI for selecting and deleting them.
Matching logic (plugin detection)
carbon/plugins (*.cs) and from the Carbon runtime (loaded plugins).Admin and CorePlugin are always treated as present.Scan areas
*.json and top-level folders whose base name does not correspond to a plugin.*.data/*.db) and top-level folders without a plugin match.lang/<LOCALE>/*.json whose base name does not correspond to a plugin.UI (CUI)
Three columns: CONFIG, DATA, LANG with count, file size, and checkboxes.
Select All for CONFIG/DATA, language sections can be expanded/collapsed for LANG.
Delete button shows number of selections; after deletion, automatic rescan.
Secure deletion
Deletes only within the carbon/ root (path is validated).
Supports files and folders (recursively).
Note:
*.dataand*.dbin the data root are not listed as orphaned (are skipped). This protects runtime databases.
/carboncleaner — Opens the UI (requires permission).carboncleaner.scan — Shows number/size of hits.carboncleaner.delete “<relativePath>|<relativePath>|...”carboncleaner.delete “config/Old.json|data/OldFolder|lang/en/Old.json”carbon/.carboncleaner.admin — required for all functions (chat/UI).carbon/plugins or the Carbon runtime.*.json & top-level folders without plugin match.*.data/*.db) & top-level folders without plugin match.lang/<LOCALE>/*.json without plugin match.