Space Engineers

Space Engineers

Clean Freak
71 kommentarer
Thraxus  [ophavsmand] 20. juni kl. 13:57 
See if the config file generated, then look at the log file.
Joker2105 20. juni kl. 13:38 
Hi.. how can i check that the mod is active?
Thraxus  [ophavsmand] 18. apr. kl. 6:36 
Static grids are all stations by game design, even if it was a ship turned static. Unfortunately there is no "station" designation on a grid, so being static inherently means "station".
Nalesh 16. apr. kl. 14:58 
When it says npc stations, does that mean all static grids, or specifically stations like economy stations, etc?
Thraxus  [ophavsmand] 8. dec. 2024 kl. 17:53 
To be determined. If they spawn as ships and not stations, possibly. I need reports that say it happens before I can say it happens though. Logs help a ton as well.
Thraxus  [ophavsmand] 5. dec. 2024 kl. 20:03 
It shouldn't - it's programmed to only care about prefabs. You can always check the logs though - I put every delete in there with the reason it was removed. A value of "None" means something other than CleanFreak did the delete.
Rooster 5. dec. 2024 kl. 19:55 
Will this delete the new drop boxes that drop when you break down something with an inventory? I lost some ore today twice when I took down an assembler and refinery. Vanilla debris cleanup is disabled
Thraxus  [ophavsmand] 8. nov. 2024 kl. 12:41 
Doesn't matter. Should work anywhere in the list.
Zeruel 8. nov. 2024 kl. 11:34 
And where does it go in the loading order?
Thraxus  [ophavsmand] 8. nov. 2024 kl. 10:28 
Yep. It basically does a better job at cleanup than vanilla, but uses the same ideas, so it is compatible with pretty much any mod and any server.
Zeruel 8. nov. 2024 kl. 10:13 
I understand, does it work with modular encounters?
Thraxus  [ophavsmand] 8. nov. 2024 kl. 7:31 
@brantje - You'd have to elaborate, but anything is possible.

@Zeruel - That's all in the configs, not sure off the top of my head, but maybe 20 minutes? There is a hit system on every cleaning, so a grid needs to fail a set of checks several times before it's removed. It's all configurable though.
Zeruel 6. nov. 2024 kl. 17:40 
How long does each cleaning take?
brantje 27. juli 2024 kl. 5:03 
Agree with @adirtynacho, would it be possible to implement a scrapyard mode? I'll be happy to contribute to the development of such feature.
Thraxus  [ophavsmand] 30. apr. 2024 kl. 17:29 
Well that's odd, but good to know! Thanks for the info :D
DrakoMT 25. apr. 2024 kl. 6:04 
So for me and my friends it works if you load the mod on an already existing save but if you start fresh in a new scenario that it world fails to load error comes up. But it's not a big issue just new game save , quit load the mod again and it works fine. Just in case it happens to someone else.
This mod is a life saver!
Thraxus  [ophavsmand] 23. apr. 2024 kl. 16:29 
Nope. It's on if it's installed. Uninstalling is the only thing that turns it off.
KGB_Vitkor 23. apr. 2024 kl. 11:39 
Tell me, is there a command to stop or start the mod while in the game?
Thraxus  [ophavsmand] 19. apr. 2024 kl. 18:17 
Mod Version 1.2 [Released 19 Apr 2024]
-- Added a new setting to allow bypassing the grid movement check when determining if a grid is valid for deletion or not.
-- Uploaded to Mod.IO
Thraxus  [ophavsmand] 11. apr. 2024 kl. 9:54 
@adirtynacho - sorry, I missed this. Hit me up on Discord, I may be able to make something work, but need a bit more info.

@DrakoMT - nope, sounds like a mod issue on your end. I use this myself, and I only play solo. I can help you on Discord, but not Steam comments.
DrakoMT 11. apr. 2024 kl. 2:08 
World Fails to Load when you load this mod in survival mode :/
adirtynacho 21. mar. 2024 kl. 9:45 
Can you add support for having a area defined based on a block? That would help immensely in scrapyard survival? for example theres a scrap beacon mod thats included with it, and using that as a point to clean up grids from so that certain loose blocks ("debris") found around the floor at their homes aren't eaten up.
KLEYDOX 4. mar. 2024 kl. 2:53 
this mod is the best thing in the workshop
Menace 14. feb. 2024 kl. 8:16 
I'm so mad I never found this sooner
Thraxus  [ophavsmand] 14. feb. 2024 kl. 7:55 
Almost 4 years and still goin strong without needing an update! :D
Titan Nya 14. feb. 2024 kl. 3:23 
wait... This existed for a long time and I wasn't aware? Time to pop it and not have that many debris in the world and me trying to clean it up by hand... Well time for a new game anyway :p
ParGellen 12. feb. 2024 kl. 16:10 
This mod saved my game! Not even kidding! I just popped it on with default settings and about 30 minutes later things were smooth as butter and a bazzillion dead NPC markers were gone from my hud! Thank you!
Thraxus  [ophavsmand] 24. okt. 2023 kl. 15:22 
Awesome to hear! Thanks for the great review :crtamazed:
Drysyn 23. okt. 2023 kl. 2:36 
I run a server that has a lot of modular encounters, and factions killing each other, so a TONNE of wrecks, and this clean up mod makes my server keep running at full sim speed so a Massive thank you, your mod literally saves me days of manual clean up every week :)
Thraxus  [ophavsmand] 6. sep. 2023 kl. 23:45 
Anytime! Happy to hear it's helping you out! :D
CMDR Nick o7 4. sep. 2023 kl. 19:41 
Hahaha thanks bud, i had it running on default and its doing god’s work on my server. Thank you for this, it lightens the load on chores!
Thraxus  [ophavsmand] 1. sep. 2023 kl. 19:16 
There is a config file you can setup some rules in if you don't like the default way it behaves, but otherwise it's a set it and forget it mod. All work happens in the background; no giant red shiny buttons that say "DO NOT PUSH" included unfortunately!
CMDR Nick o7 1. sep. 2023 kl. 14:25 
does it do the delete in the background? how does it work? do i push a button? *shiny button?*
Thraxus  [ophavsmand] 9. juni 2023 kl. 12:23 
In general, you'll know it's working when there is a lot less junk around. However, if you're cleaning things up manually, it may still be working, just not aggressive enough for your liking. There is a config for the mod that will allow you to adjust that. It can be found in the storage folder in your save game folder in a folder called 2085051314.sbm_CleanFreak_Thraxus. If you want to know if the mod is working at all, check the storage folder in your app data directory (%appdata%/SpaceEngineers normally) for the 2085051314.sbm_CleanFreak_Thraxus directory and check my logs. CoreGeneral.log will tell you what CleanFreak did and why.

If you need more help, hop into my Discord (link in the mod desc) and drop me a line. Steam comments suck for back and forth discussions.
Lonnieb123 9. juni 2023 kl. 8:16 
I am sorry that I have to ask this question. How do I know it is working? I had to manually clean up my server today. Not sure if the mod is working. Do I need to configure it to turn it on? I am running it on a dedicated server. Thanks
Bluestar 25. mar. 2023 kl. 4:03 
I know there is a sleep mode but you still cant have 1000s of grids in the world without taking a hit
This could just help extend that abit more if it dosnt cause any major issues as you say
Bluestar 25. mar. 2023 kl. 3:59 
Its just something i wondered, instead of deleting things it saves them and puts them back. Could have rules on what it dose and dosnt work on like not saving random npc ships as they just respawn anyway unless it becomes neutral or player owned at some point

One thing it adds besides performance is auto grid saving, the system could save a number of backups. For example grids around the player could parodically save, with a max number of backups. If clang happens instead if having to reload you could try just pasting in a auto backup BP(which could be alot quicker then a reload specially for some worlds)

The system could also be constricted to only save one thing at a time. So as you leave an area there could be 5 grids, the system saves 1 grid per every 5 minutes
Depends on how it works now i guess

Clean freak mod could work along side it to just get rid of things that obviously not needed like debris
Thraxus  [ophavsmand] 25. mar. 2023 kl. 2:42 
Yeah, but it comes at a cost. Essentially you'd have to save the prefab as serialized data in the sandbox, then respawn it. Both the save action and the respawn action will have performance hits associated with them relative to how complex the grid itself is.

It's not a bad idea, and it's been a while since I explored the performance of it (probably 4 years or so). Might be worth revisiting. In general though Keen has added a feature to grids that basically sleeps them when the player isn't close to them. They don't have zero performance hit to the game in this state, but their effect is pretty minimal.

Clean Freak is more aimed to remove grids that are close to the player and cause performance degradation, or garbage that's just flying endlessly through space and cluttering up the save. Items it removes would be within the view distance (typically) of a player, so temporarily removing them wouldn't really be an option.
Bluestar 25. mar. 2023 kl. 1:56 
This is something iv wondered for a wile
Could grids have silent blueprints be taken before there deleted and there cord noted
If a player leaves an area(no players in area) then a grid is 'saved' and removed
As a player comes back into that area a system/script respawns the grid from the saved blueprint back into the world as if it was never removed. As its saved each time all players leave its state(damage/inventory) would all be saved and put back when players return.

It would keep grids to a minimum in a radius around players, a server with players spread out less so but a single player game for sure

TBH this is probably how clean-up should work as it would make the world feel persistent always but only actually have things in the world when a player is actually there
Thraxus  [ophavsmand] 16. mar. 2023 kl. 20:01 
Anytime :)
Borkineer 16. mar. 2023 kl. 18:44 
cool, thank you for the quick reply :)
Thraxus  [ophavsmand] 16. mar. 2023 kl. 14:59 
Under the storage folder in the main directory that the saves directory is in.

Example:

\AppData\Roaming\SpaceEngineers\Storage\2085051314.sbm_CleanFreak_Thraxus\

Whereas Saves would be in:

\AppData\Roaming\SpaceEngineers\Saves\

The config file is in the specific save games storage folder though.
Borkineer 16. mar. 2023 kl. 13:09 
where is the log file generated? under storage folder in saves?
Dog 11. feb. 2023 kl. 7:07 
Awesome thanks again! :cozybethesda:
Thraxus  [ophavsmand] 11. feb. 2023 kl. 5:49 
You can use it along side the vanilla one. It won't hurt anything. If anything, Clean Freak compliments the vanilla routine.
Dog 11. feb. 2023 kl. 5:22 
Awesome mod! I'm very happy that you have the rule to never delete player grids! <3 Should I disable the default grid clean up stuff on my server and just use this, or should I use this alongside the default cleanup stuff?
Thraxus  [ophavsmand] 20. dec. 2022 kl. 16:23 
Sorry to hear that, but also happy to hear that at the same time, haha.

Thanks for keeping me updated!
Lord Zander 20. dec. 2022 kl. 16:12 
It wasn't CF.

I'm dumb and had the native trash removal settings set to delete a player's grids after 36 hours of inactivity. Not sure if that was on by default or if I set it that way at some point, but that was almost certainly what happened.
Lord Zander 15. dec. 2022 kl. 16:41 
That's good advice, I'll keep that in mind.
Thraxus  [ophavsmand] 14. dec. 2022 kl. 22:40 
I won't rule out CF - without concrete evidence one way or another, who knows what happened.

As a rule of thumb with any mod, always check the logs and forward them to the mod author when you encounter a bug. Without the logs, all we can do is play guessing games where we usually end up pointing the finger at something else. With the logs, we're more likely to be able to see the actual issue and help resolve it regardless who is at fault.