Jump to content

Search the Community

Showing results for tags 'mod map server'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 2 results

  1. Hello Tried searching but I may not be using the correct terms. I have a PZ server running in a docker container. I have edited the world.ini file to include the mods I want to use, the following section have been edited Mods=tsarslib;amclub;AquatsarYachtClub;ATA_Jeep;isoContainers;RainCleansBlood;Super Bulldozer;Chestown;Fort Knox;lakeivytownship;KingsmouthKY Map=Kingsmouth;li_township;Fort Knox, KY by Woldren;Chestown;Muldraugh, KY WorkshopItems=2392709985;2778576730;2392987599;2636100523;2625625421;2956146279;2713275891;2840889213;1414568604;2252982049;2434339338 I have not adjusted my SpawnRegions.lua file, so it remains with having the default 4 regions. I am facing the issue of the game not allowing me to choose my spawn region, whenever I join it drops me into Char creation. I then spawn in Kingsmouth. This is a new world. I installed the container, it auto started. I stopped it, removed the world.db file, as well as the Saves/Multiplayer/world/ directory. I then took the local world.ini file and uploaded it to the location that the docker container reads from. Then restarted the docker container. The game spins up but drops me in like described above.
  2. I have just spent the better part of a week looking for resources on how to host The Walking Dead Map and Hyrdocraft mod on my private server. I was struck at how spread out the information was and how it made assumptions that you knew the context for the instructions. Add on top of that old threads that no longer apply, and I was left with a nightmare. I could see others shared my frustrations in forum posts. This is my contribution for anyone else wanting to set up a server. If you have more stuff to add/suggest, please comment and I will update this post. Note: I am using Windows 10. My assumption is that this guide will give Mac and Linux users general context to understand other instructions or give them enough of a base to figure it out. 1: File Path ( a much needed primer) Program Path: It is important to understand file paths. When you install through Steam, Project Zomboid is installed at: C:\Program Files (x86)\Steam\SteamApps\common\ProjectZomboid, BUT if you install through SteamCMD, then the file path for the program is likely: C:\pzserver (at least it was for me). This is where you will find the bat file that starts the server "StartSever64.bat." One folder deeper, in the PZServerSettings folder, you can find the bat file to set all sorts of settings for your server, "PZServerSettings.bat." Just double click the bat file to edit server settings. Personal/Server Data Path The first time you log into PZ and/or start a PZ server, it creates a personal folder for your local data/maps/characters and files for your server settings, local player, and basically everything unique to your Project Zomboid experience. This folder is located at C:\Users\YOURUSERNAME\Zomboid . Understanding those two locations is critical to understanding the instructions. 2: Getting Mods and Maps There should be several folders created in your Persona/Server Data Path (C:\Users\YOURUSERNAME\Zomboid) when you first log on. However, not all folders are immediately created. A critical needed folder is mods. What you want to do is start PZ and click on MODS in the lower left-hand corner, and then click on the "get mods here!" button in the lower right corner. . This will open up the community page for mods. I subscribed to both Hydrocraft and The Walking Dead Prison, so those will be my examples of installing mods and maps. *A mod changes how the game plays, like by adding new recipes, elements, etc. A map just places a new map in the existing world but does not change the game in any other meaningful way. Both mods and maps are called mods in the community forum and placed in the same folder (we will get to that). From the community page you can find a link to download the mod/map. It will download a zipped file. Once you download the mods you want unzip it into C:\Users\YOURUSERNAME\Zomboid\mods . The mod folder should now be there! Once the unzipped mod/map folder is in the mods folder you can reopen PZ, click on MODS in the lower left hand corner, and then you will see your mods. You can then click to enable to them on that same PZ spash screen. VERY IMPORTANT!!! Every person who logs onto your server needs the exact same mod/map unzipped into the mods folder. 3: Setting Up Server File First you want to go to C:\Program Files (x86)\Steam\SteamApps\common\ProjectZomboid\PZServerSettings and double-click "PZServerSettings.bat." That will open a dialog box that lets you set stuff like max players, passwords, pvp options, starting loot, erosion speed, zombie distribution--a bunch of stuff. What that actually does is edit some files in C:\Users\YOURUSERNAME\Zomboid\Server, notably servertest.ini and servertest_zombies.ini. The servertest.ini is the most important file you will edit at this point! 3a: Mods Mods are easy. In the servertest.ini file there is a line called "Mods=" All you have to do is first navigate to your recently downloaded mod and look for a file which gives you its' Mod name. Hydrocraft has a file called "mod.info," and opening it in notepad reveals the name as Hydrocraft. So in the Mods= line I would put in Hydrocraft. It would look like this: Mods=Hydrocraft. If you have multiple mods, then you separate their names with a semicolon. So it would look like Mods=mod1;mod2 . That's it! If everyone has the same mod in C:\Users\YOURUSERNAME\Zomboid\mods, then the mod should work! 3b:Maps Maps work very similar to mods. You unzip it in the same mods folder and look for the name. For the Walking Dead Prison mod, I found a file called "workshop.txt" that acted like the "mod.info" file in that is had the information I needed to get it working. The title, another name for name, is: The Walking Dead Prison v1.3 So, like I did with Hydrocraft, I needed to add the mod name to the Mods= line. I ended up with Mods=Hydrocraft;The Walking Dead V1.3 . With maps you also need to modify the WorkshopItems= line and the Maps= line. The WorkshopItems line was easy. The workshop.txt file in the Walking Dead Prison Mod folder said: id=524066677. The map name baffled me. I knew I needed it, but I didn't know what it was. Looking through the comments on the mod page, I saw iGitzBumpKinz post: @GN88 id=524066677 Map=TheWalkingDeadPrison Edit: EnigmaGrey (developer?) in another post said, "Now, go to the media/maps directory of each of the map mod. See the folder name for the map name? That's the actual name of the map --eg. Muldraugh KY" That is how to get the map name! So I added the id and the map to their respective lines in the servertest.ini file and ended up with Map=TheWalkingDeadPrison;Muldraugh, KY and WorkshopItems=524066677 . Conclusion So there you have it... 1: You download your mods and maps and unzip them in the mods folder in the Zomboid folder under your username on your computer 2: You set up your server settings with the PZServerSettings.bat file found in the PZServerSettings folder in your program file path. 3: Mods only need the servertest.ini Mods= to have the correct mod name. 4: Maps need the servertest.ini folder to reflect the Mods= , Map= and WorkshopItem= correct information. If there are more then one item/mod/map in a line, then it gets divided by a semicolon with no spaces. If everyone has the same mods in the same folders, then it should work! Misc If you want to learn how to port forward, this is a good YouTube video. Understand all routers look different, so you have to poke around a bit to find where to port forward. If you want to set up a server using SteamCMD then this is a good guide. If you want to make custom Spawn points, which I HIGHLY recommend, then read this post carefully. If you need the coordinates for your custom spawn points, then you probably know of the Project Zomboid Map project. Did you know on the overlay you can toggle on different community made maps and see where they are on the world map and get coordinates that way?! It is awesome. ***** Please let me know if I was wrong in something or if anything should be added. Sorry it is wordy, but this guide is for the noob who is frustrated and wants some context. Thank you! Personal Questions I hope a Developer or Commentor can clarify 1: What is the purpose of subscribing to the mod? It seems you have to manually download the mod anyway. Does subscribing keep it up to date, let you know what you are interested in like a bookmark, or will it automatically download mod in correct folder? Do we re-download it after each update? 2: Exactly what is the purpose of the "WorkshopItems= "line in the servertest.ini file? It seems I only need it for maps. If I put in a regular mod item# in there, will it break it or keep it updated or is that not necessary? 3: A lot of older guides, even as of three months ago, have us going into "/Steam/steamapps/workshop/" folder, but I don't think that is necessary anymore. Is it true as of build 33.20 that with mods and maps we just drop them in the Zomboid\mods folder and edit the servertest.ini? Or am I just lucky with the mod and map I tested? 4: Since I make custom spawn points so users can spawn in the same location, I am not familiar with how adding a generic spawn point is handled if you add a map to your server. Is there any editing on the lua files that needs to be edited so that users can choose the new map as a potential spawn location? Personally I just make a couple specific spawn locations with set coordinates so a group of players don't need to find each other after logging in for the first time.
×
×
  • Create New...