Project Zomboid

Project Zomboid

42 ratings
In-game Map Auto Reset For Wipe(MP only)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
614.194 KB
Jan 2, 2024 @ 6:21pm
Jan 6, 2024 @ 8:40pm
7 Change Notes ( view )

Subscribe to download
In-game Map Auto Reset For Wipe(MP only)

Description
Summary
This mod automatically deletes the Player's map data anytime the reset ID changes on the server!

The server can change their reset ID in the ini file or through the in-game admin panel for server options.

This mod will reset player's in-game map when they join the server for the first time after installing the mod. If you do not want players to have their in-game map reset, please ensure the sandbox option for "In-game Map Auto Reset" has the same reset ID as the current reset ID on the server. This will ensure map reset happens naturally next wipe when the reset ID was changed but not the sandbox.

Credits
This mod was modified based on Braven's mod, Erase Map Data! And inspired by Cat, the server owner of Project Imperium.

This mod was originally developed for the MP server Project Imperium . We have tons of custom-made non-public mods that create a one-of-a-kind experience. Join as at Discord[discord.gg]. If this mod helps, please�?to show your support and make my day!

For tech nerds like me
The client side detects reset ID changes when the character is loaded to the server. Thus even if the reset ID was changed, the map reset only triggers when players rejoin the server. The map can be reset without a wipe, it is based on reset ID, which servers update per wipe anyway. Additionally, all reset IDs are stored on the server end to avoid client-side modifying the ID or skipping the map reset. Reset ID files are stored on the server Lua folder with the naming structure of ResetID_PlayerUserName. Any new players will have new reset ID files auto-generated. The server does not need to do anything except remember to change the reset ID per wipe. It is not recommended to reuse the reset ID from the previous wipes as Reset ID files only store the last reset ID used by that player.

Workshop ID: 3129971832
Mod ID: PI_EraseMapData
9 Comments
Guardian Nov 20, 2024 @ 6:04am 
Hi! I'd like to inquire as I don't want to assume... Will this mod allow a host to insert modded locations in explored areas? Thank you!
DeadlyKitten  [author] Jan 16, 2024 @ 5:06pm 
@ApexLegendsPlayer Glad to help!
DeadlyKitten  [author] Jan 16, 2024 @ 5:06pm 
@Josh This is different from Braven's mod because it only reset in-game map for players when the server want it to happen, not when player create a new character. This allows flexible control for in-game map reset!
DeadlyKitten  [author] Jan 16, 2024 @ 5:05pm 
@Braven Thanks so much for making such a great mod!
DeadlyKitten  [author] Jan 16, 2024 @ 5:03pm 
@ElWero this only reset the in-game map, not the actual map data. To reset a particular cell/chunk, simply replace the map file for that cell/chunk on the server side.
AndySuportPlayer Jan 10, 2024 @ 9:49am 
Thank you for this mod, works fine on my server.
Mr_Drozd Jan 9, 2024 @ 9:46pm 
How is this different from Braven's Erase Map Data? Is it only on server reset vs player death?
Braven Jan 8, 2024 @ 8:11pm 
SUPERSTAR MOD!
Gama2k Jan 8, 2024 @ 8:25am 
excuse me, sorry to ask but you know how to reset world without deleting player made bases and PJ?