Mods / ServerSideModRemover

Tags: #QoL #Utility #Worldgen
Author: SilverValkyrie
Side: Server
Created: Jan 20th at 9:25 PM
Last modified: Feb 4th at 9:17 PM
Downloads: 99
Follow Unfollow 35

Recommended download (for Vintage Story 1.21.6-rc.1 - 1.21.6):
serversidemodremover_0.1.1.zip  1-click install


MAKE A BACKUP OF YOUR WORLDS

PLEASE MAKE A BACKUP 

 

YOU CAN BREAK YOUR WORLD

 

But leave a comment if this managed to fix your world :3 


Anyway hi

So you accidentally installed a mod and you have tons of ? blocks in your world now ? 

Well fear not now you can remove them! 

 


after installing , loading into a world, the mod will create a modconfig called  ServerSideModRemover.json there you need to set the ModDomain , thats the mod ID you want to remove.

Radius is in blocks, so all Blocks in the radius of a player get scanned and will be replaced with air. its set to 1280 now. It usually will take your viewdistance depending whats smaller 

IntervalMs is set to 30s on standart, thats the frequency the replace is called

Wasloaded (will) save the World id and the explored chunks. As of now i only made a quick fix to only fill the explored chunks during a play session. 
This will mark all chunks youve explored already as patched so that the replace doesnt get called unnecessary.

well this works by the taking the replace distance / 32 and then subtract 2 

so a view distance of 128(standart) will mark 2 chunks, the one youre standing in and the next one. 

 

Best way to fix your wold is running a prune and then using this mod to remove the remaining blocks that were left in your base


Please 
remove this mod after usage to prevent breaking your worlds

How do i find the modid ? 

Enable dev settings and then extended debug 

image

Next the item has this funky name with code:ModId:ItemId

image


OR 

look into the modinfo of the mod youre trying to remove 

Will this cause lag ? 

- Not anymore 

Does this work on a server ? 

- Yes this was first tested on the Ironfall Server and helped me remove herbs and spices from the world which caused lag. The players didnt notice much lag with these settings. 

This broke my world can i fix it ? 

- Please tell me you made a backup ... ? 


When can I remove this mod ?

look into the server-main.log and search for this kind of message, if you keep exploring visited places and no more notifications are popping up then there shouldnt be many ? blocks left

[Notification] ServerSideModRemover: player SilverValkyrie scanned domain '{insertTheModID}' radius 128. matches=7

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
0.1.1 serversidemodremover
1.21.6-rc.1 - 1.21.6
30 Feb 4th at 9:17 PM serversidemodremover_0.1.1.zip 1-click install

Remoed test.cs ups 

0.1.0 serversidemodremover
1.21.6-rc.1 - 1.21.6
27 Jan 29th at 4:06 PM serversidemodremover_0.1.0.zip 1-click install

The mod wasnt running async upsi 


now you can let it run with full viewdistance and no lag 

0.0.2 serversidemodremover
1.21.5 - 1.21.6
42 Jan 20th at 9:26 PM Empty serversidemodremover_0.0.2.zip 1-click install

7 Comments (oldest first | newest first)

SilverValkyrie , Feb 4th at 9:17 PM (modified Feb 4th at 9:19 PM)

Ouk weird in dev env. it worked. i updated the version so this works now 

 

Ouk, Feb 4th at 8:55 PM (modified Feb 4th at 9:23 PM)

Hi, i'm having this error:
[Error] [serversidemodremover] File 'test.cs' is not in the 'src/' subfolder.
I tried on server and SP too.
Probably becouse of this error there is no config after loading my world. Is there anything I can do?

Edit:

Version 0.0.2 works. Thank you very much for the mod! All blocks from CaveIn fix mod are gone!
For anyone looking for mod ID:
You can find it in modinfo.json too. In my case the modID was CaveinFix.

SilverValkyrie , Jan 29th at 2:41 PM

Oh thanks for the info, i added it to the description ShadowsEdge

ShadowsEdge, Jan 29th at 1:30 PM

Great mod! Lil complicated. Took me a bit to figure out what a "mod ID" is and where I can find it. Google saved the day!

DecaByte, Jan 21st at 11:17 PM

I could have used this a while back. There was this grass mod that I remeoved and left '?' all over. Had to start that world over after that. If this works, It's an well overdue & much needed mod! Thanks!

SilverValkyrie , Jan 21st at 6:40 AM

@MiraLeaps yeah i wrote this like 4 months ago and forgot to release it lol

MiraLeaps, Jan 20th at 11:05 PM

Omg I thought of writing something like this the other day haha. Good work