The Janitor's Closet

License: CC-BY-NC-4.0

Game Version: 1.5.1

Downloads: 175,452

Author: linuxgurugamer

Mod Website: Forum Thread

Support this mod: Donate

Followers: 222

Information Changelog Stats

Janitor's Closet

You are a serious player. You have dozens if not hundreds of mods install. Your part list is extreme!

What do you do when the plumbing is clogged? You call the janitor. For the problem of too many parts, you use the Janitor's Closet

Description This mod will allow you to block parts from being displayed in the Editor, either on a soft basis or hard basis. The difference is that a soft basis doesn't do anything to the parts, it merely blocks the parts from being displayed. In this case, the parts are still loaded. This would be useful in an ongoing career, where you have ships with parts you don't use anymore, but are still active. A hard basis is where the files get renamed so that none of the parts or their assets will be loaded. This can speed up loading a game, but is potentially game-breaking, in that if you prune a part and it is in use on a vessel, the vessel will be deleted the next time you start the game. There is also the ability to export a list of all blocked parts, so that you can either import it into another game or send it to someone else.

Instructions

In the editor (VAB or SPH), hold the Alt key while clicking on a part. A two line menu will be shown, giving you the option to block the part in the scene you are currently in (VAB or SPH), or block it entirely. This does the soft blocking, where it isn't changed, but just blocked from displaying. There is a toolbar button, of a broom & dustbin. Hovering the mouse over it will display a popup menu:

ShowBlocked Unblock PermaPrune Export/Import

ShowBlocked will display a list of all parts blocked, and, if a soft basis, a button so you can unblock a single part Unblock will unblock all parts which are blocked via the soft basis PermaPrune will display a new menu with the following: Permanent Prune Undo Permanent Prune Cancel

Permanent Prune will permanently rename files to prevent them from being loaded.  It will only do this to parts which are blocked everywhere.
Undo Permanent Prune will undo all the permanently pruned files

Import/Export will display a new menu with the following: Export Import Cancel

Export will present a dialog where you can name the list of pruned parts you are exporting.  Export lists are always saved to the GameData/JanitorsCloset/PluginData directory, with a suffix of ".prnlst", and the full path is stored in the system clipboard after the export.
Import will present a file dialog where you can select a file for import.

Known Issues Clickthrough is a problem with the file selection dialog. It starts in the PluginData directory, but you can go anywhere to find a file. Again, it only displays files which have the suffix ".prnlst".

Version 0.3.4.3 for Kerbal Space Program 1.5.1

Released on 2018-11-03

Added code to detect the missing kerbals: kerbalEVAfemale, kerbalEVAVintage, kerbalEVAfemaleVintage

Download

Version 0.3.4.2 for Kerbal Space Program 1.5.1

Released on 2018-10-19

Version bump for 1.5 rebuild

Download

Version 0.3.4.1 for Kerbal Space Program 1.4.3

Released on 2018-06-16

Updated .version for all of 1.4
Added dependency checking for ClickThroughBlocker

Download

Version 0.3.4 for Kerbal Space Program 1.4.1

Released on 2018-03-17

Updated for 1.4.1 Added ClickThroughBlocker support Added Jenkins config

Download

Version 0.3.3 for Kerbal Space Program 1.3.1

Released on 2017-10-09

KSP 1.3.1 update

Download

Version 0.3.2 for Kerbal Space Program 1.3.0

Released on 2017-06-14

Add tooltip to show mod part is from when hovering over part in VAB partlist.
Added settings for mod tooltip. If disabled, then tooltip will be shown when modifier key is held down updated build script (apparently last version wasn't released properly)

Download

Version 0.3.1 for Kerbal Space Program 1.3.0

Released on 2017-06-13

Fixed bug where parts would be permenantly hidden if one or more filters were defined in the modfilter screen.
Added filtering by resource

Download

Version 0.3.0 for Kerbal Space Program 1.3.0

Released on 2017-05-26

Replaced depreciated call to GameEvents.onLevelWasLoaded with Unity SceneManagment calls Moved search filter initialization into coroutine because of 1.3 change Replaced Input.GetKey with ExtendedInput.GetKey

Download

Version 0.2.20 for Kerbal Space Program 1.2.2

Released on 2017-05-22

Fixed a nullref when a hidden icon had a null texture

Download

Version 0.2.19 for Kerbal Space Program 1.2.2

Released on 2017-05-11

Added check when loading blacklist to be sure part isn't pruned, avoids nullref

Download

Version 0.2.18 for Kerbal Space Program 1.2.2

Released on 2017-05-04

Fixed bug where the blocked part titles weren't being shown in the editor after leaving the editor and returning Added HideUnpurchased button to Mod Filter window

Download

Version 0.2.17.1 for Kerbal Space Program 1.2.2

Released on 2017-03-30

Removed horizontal scroll bar in ModFilterWindow

Download

Version 0.2.17 for Kerbal Space Program 1.2.2

Released on 2017-03-26

Found error in CRC calculations (was making a fixed texture of 38x38, instead of using the source textures size). This was causing some textures to come up with the same CRC, which breaks things Added try/catch to watch for duplicate CRC codes

Download

Version 0.2.16 for Kerbal Space Program 1.2.2

Released on 2017-03-24

Permanent fix to memory leak problem Fixed performance issue as well, where fps would drop by 20-40fps when toolbar was open

Download

Version 0.2.15.6 for Kerbal Space Program 1.2.2

Released on 2017-03-23

Fixed memory leak of multi megs a sec when the toolbar was displayed, by limiting the updating of the toolbar icons to once every 5 seconds

Download

Version 0.2.14.6 for Kerbal Space Program 1.2.2

Released on 2017-02-18

Fixed null ref which returned from an earlier fix, caused buttons to disappear on the JC toolbar

Download

Version 0.2.14.5 for Kerbal Space Program 1.2.2

Released on 2017-02-17

No changelog provided

Download

Version 0.2.14.4 for Kerbal Space Program 1.2.2

Released on 2017-02-17

Fixed problem with duplicate identifiers Added more default identifiers

Download

Version 0.2.14.3 for Kerbal Space Program 1.2.2

Released on 2017-02-16

    Fixed nullref when identifying buttons
    Added many identifiers to default identifier file

Download

Version 0.2.14.2 for Kerbal Space Program 1.2.2

Released on 2017-02-12

Really fixed those nullrefs

Download

Version 0.2.14.1 for Kerbal Space Program 1.2.2

Released on 2017-02-12

Fixed nullrefs (harmless) when no buttonidentifiers are found for a hovered-over button

Download

Version 0.2.14 for Kerbal Space Program 1.2.2

Released on 2017-02-12

Fixed problem with quickload and scene changes not properly resetting toolbar Added Identify menu item to be able to specify an identity for a button Added tooltips for buttons in the JCToolbar, for those buttons which have been identified

Download

Version 0.2.13 for Kerbal Space Program 1.2.2

Released on 2017-02-09

Fixed problem unhiding a hidden button

Download

Version 0.2.12.1 for Kerbal Space Program 1.2.2

Released on 2017-01-31

Fixed menu size to adjust for the blacklist option Added dialog to confirm blacklisting button

Download

Version 0.2.12 for Kerbal Space Program 1.2.2

Released on 2017-01-31

Fixed issue with SEP where hovering over a button caused flickering Full release

Many thanks to @Jebs_sy for his invaluable debugging

Download

Version 0.2.10.1 for Kerbal Space Program 1.2.2

Released on 2017-01-19

Added missing version file

Download

Version 0.2.10 for Kerbal Space Program 1.2.2

Released on 2017-01-14

Added code to save hidden buttons

Download

Version 0.2.9 for Kerbal Space Program 1.2.2

Released on 2017-01-13

Fixed problem with hidden buttons not being displayed

Download

Version 0.2.8 for Kerbal Space Program 1.2.2

Released on 2017-01-02

fixed issue with parts which had spaces inthe internal name

Download

Version 0.2.7 for Kerbal Space Program 1.2.2

Released on 2016-12-29

Fixed issue with Mapview not showing button folders Fixed issue with mapview and mods which show their buttons on the mapview only (ie: PreciseManeuver)

Download

Version 0.2.6 for Kerbal Space Program 1.2.2

Released on 2016-12-28

Added 10 buttons to Modfilter window, to save settings Fixed issue where if editor was exited with the mod filter window showing, it stayed showing Fixed issue where if menu popup was showing when exiting editor, it would be reshown when reentering

Download

Version 0.2.5 for Kerbal Space Program 1.2.2

Released on 2016-12-26

Added Settings page Toolbar Functionality enabled/disabled enable/disable Menu popup on mouseover for toolbar button folders Enable/disable popup menu in Editor Configurable time for hover menus

    If popup menu in editor is disabled, then right-click on button brings it up
    Removed the Unblock All from the popup menu
    Added new button to Show Blocked window, "Unblock All"
    Fixed bug on "Show Unblock" window, where individual item could not be unblocked
    Changed display from internal partname to the parttitle on the "Show Blocked" window

Download

Version 0.2.4 for Kerbal Space Program 1.2.2

Released on 2016-12-25

Fixed problem with buttons which responded to right-clicks Removed log spam

Download

Version 0.2.3 for Kerbal Space Program 1.2.2

Released on 2016-12-24

Fixed popups going away too fast Fixed hiding

Download

Version 0.2.2 for Kerbal Space Program 1.2.2

Released on 2016-12-23

Fixed popup and autohide of toolbar Fixed issue where some buttons were causing odd behaviour Removed log spam from mod filter Possible fix for blank line in Mod filter list

Download

Version 0.1.8 for Kerbal Space Program 1.2.2

Released on 2016-11-30

Removed limitation on width of displayable lines in the mod filter Added check for null part in the InitialPartScan(), needed in case other mods mess up during loading and put a null part into the loadedParts list

Download

Version 0.1.7 for Kerbal Space Program 1.2.1

Released on 2016-11-28

Fixed sort of sizes Added text "Adapter" to adapter sizes Moved initial window position right 100 pixels Added code so that window will have a minimum height of 10 buttons, and a maximum height of 20 Fixed sort so that: The line with "larger" appears at the end Lines beginning with "Adapter" appear after the other lines

Download

Version 0.1.6 for Kerbal Space Program 1.2.1

Released on 2016-11-27

Fixed problem with model usage not being detected. Replaced messy code with better identifiation of model & mesh files

Download

Version 0.1.5 for Kerbal Space Program 1.2.1

Released on 2016-11-27

Added filtering by size

Download

Version 0.1.4 for Kerbal Space Program 1.2.1

Released on 2016-11-24

Added option to filter by mod

Download

Version 0.1.3 for Kerbal Space Program 1.2.1

Released on 2016-11-18

Fixed bug where right-clicks were spawning parts in the editor Added code to update asssembly info with version Updated toolbar icon

Download

Version 0.1.2.1 for Kerbal Space Program 1.2.1

Released on 2016-11-02

No changelog provided

Download

Version 0.1.2 for Kerbal Space Program 1.2

Released on 2016-10-27

Fixed bug with PermaPrune, where it was pruning models and meshes which were still used by non-pruned parts

Download

Version 0.1.1 for Kerbal Space Program 1.2

Released on 2016-10-19

Fixed issue with permaprune

Download

Version 0.1.0 for Kerbal Space Program 1.2

Released on 2016-10-18

No changelog provided

Download

Version 0.0.5 for Kerbal Space Program 1.1.3

Released on 2016-09-13

Added code to check at game startup to see if files had been restored somehow. Usually would occur as a result of Steam updating files, or mod being updated Assumption is that if the file exists in an unpruned state, it is newer than the pruned file and will replace the pruned file

Download

Version 0.0.4 for Kerbal Space Program 1.1.3

Released on 2016-09-13

Fixed click-through issue with import screen Fixed title of import screen

Download

Version 0.0.3 for Kerbal Space Program 1.1.3

Released on 2016-09-12

Fixed problem when you permapruned some parts, and then tried to do some more Fixed a couiple of exceptions when parts aren't properly defined

Download

Version 0.0.2 for Kerbal Space Program 1.1.3

Released on 2016-09-12

Added ChangeLog & .gitignore
fixed issue with import, now import won't wipe out the current list

Download

Version 0.0.1 for Kerbal Space Program 1.1.3

Released on 2016-09-11

No changelog provided

Download

Stats for The Janitor's Closet

Downloads over time

    New followers per day

    Top Referrers

    1. spacedock.info
    2. www.google.com
    3. forum.kerbalspaceprogram.com
    4. www.spacedock.info
    5. www.bing.com
    6. duckduckgo.com
    7. www.google.co.uk
    8. yandex.ru
    9. kerbalspace.ru
    10. www.google.de

    Export Raw Stats

    Export Downloads

    Export Followers

    Export Referrals

    Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.