Remove Inventory Limits [JAVA][B42.16.0]
This is a *JAVA* mod, removing the hardcoded capacity limits.
(The Max Capacity is set 30000 now)
1. Find the file ProjectZomboid64.json in the game directory and open it with your favorite text editor e.g. Notepad.
To go to the game directory, in Steam, right-click on the Project Zomboid game and select "Manage"->"Browse local files".
2. Close to the top, there is a field called "classpath". Right below that, it says: ".", It should look roughly like this:
{
"mainClass": "zombie/gameStates/MainScreenState",
"classpath": [
".",
"projectzomboid.jar"
… // More below that is not relevant
3. Above the "." line mentioned above, add the following:
"<workshop directory>/<game version>/RemoveInventoryLimits.jar",
No backslashes are allowed. For all WIndows users, this means that you need to manually change the backslashes into forward slashes /.
Also, make sure to keep the same indentation as the other lines.
Finally, be sure to put the path within quotes " and end the line with a comma ,
The top of the json file should now look something like this:
{
"mainClass": "zombie/gameStates/MainScreenState",
"classpath": [
"C:/Program Files (x86)/Steam/steamapps/workshop/content/108600/3625921385/mods/RemoveInventoryLimits/42.14.0/RemoveInventoryLimits.jar",
".",
"projectzomboid.jar"
… // More below that is not relevant
4. Save the file.
5. Start the game using the default launch method, not alternate.
(See the screenshot otherwise)
(Linux path will be something like: "/home/<username>/.local/share/Steam/steamapps/workshop/content/108600/3625921385/mods/RemoveInventoryLimits/42.16.0/RemoveInventoryLimits.jar"
NOTE: Only works on newly generated objects, e.a. a new save, or new area’s load. Or have ANOTHER mod that plays around with setting weights on containers. ex. Dynamic backpack upgrades.
For Server Admins:
1 Open your dedicated server folder (the one containing java, jre64, natives, etc.). Go into the java folder. You should see projectzomboid.jar.
2 Find "<workshop directory>/<game version>/RemoveInventoryLimits.jar" and the zombie folder in the same location. Copy both into the server’s java folder. It should now contain RemoveInventoryLimits.jar, projectzomboid.jar, the zombie folder, and other existing files.
3 Open your server startup script (e.g., the Windows .bat file). Locate:
SET PZ_CLASSPATH=java/;java/projectzomboid.jar
Change it to (Windows uses semicolons):
SET PZ_CLASSPATH=java/RemoveInventoryLimits.jar;java/;java/projectzomboid.jar
4 Done. Clients must install the mod as well.
5 When the mod updates, overwrite the files accordingly.
Workshop ID: 3625921385
Mod ID: RemoveInventoryLimits