Project Zomboid

Project Zomboid

Not enough ratings
PhunZones
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
854.178 KB
21 Dec, 2024 @ 12:15pm
10 Aug @ 10:27am
63 Change Notes ( view )

Subscribe to download
PhunZones

Description
B41/B42 mod for customising game behaviours based on location

Features
  • Create and manage zones with unique properties
    • Title of area can be displayed to players when entering
    • Toggle PvP (unless PvP is disabled in your server ini)
    • Toggle zed spawning
    • Toggle safehouse creation
    • Toggle pickup and placement of objects in area
    • Toggle scrapping/dissassembling objects in area
    • Toggle fire spread (animation may briefly play).
    • Prevent players from entering zone
    • Toggle bandit spawning (for Bandits mod)
    • Toggle construction
    • Default zone can now be edited to set the global values (ideal for mods extending PhunZones functionality like PhunLewts)
    • and more!
  • Designed to be an extensive tool that can be used stand alone and/or by other mods (see Readme in repo for extending with other mods)
  • Friendly widget that helps players identify what area they are in (eg Louisville - Mall)
  • Comes pre-configured with loads of existng maps, along with tools to modify and/or create more
  • Designed for max performance
Mods that love PhunZones
[url]

See Github Repo[github.com] for info on customising or extending
[discord.gg]
Coded with love for our awesome PhunZoid[discord.gg] community. Repo and more info[github.com]

Workshop ID: 3388867450
Mod ID: phunzones
55 Comments
UburGeek  [author] 20 minutes ago 
Thanks for the feedback and suggestions. I may be misunderstanding you, but isn't editing the Default values the same as editing all values at once? Regardless, it makes me think a "copy" section could be useful.
Naup 4 hours ago 
I know that "Default Reduction" can override the drop rates for all loot zones, but since I want to configure three specific zones—No Loot / Rare Loot / Rich Loot—I still have to manually enter percentage values for every item type. This is not an urgent need, but I believe it could be very useful for server administrators who use this mod.

This suggestion should ideally be posted in the "PhunLewt" comment section, but I don’t want to trouble you, so I’m responding here instead.
Naup 4 hours ago 
Thank you. The edited "lua" file can now be read normally, and it no longer keeps reverting to the default settings.

I spent several hours using this mod, and I would like to suggest adding a new feature: the ability to edit the drop rates for all item types at once.

The reason is that when we set up loot zones with high and low drop rates, in practice we have to manually configure the percentage points for every single item type.

With the game’s default categories, this is usually just a matter of a few minutes. However, if a category-expanding mod or several other mods are installed, it takes considerably more time.

(Some mods tend to add their items under a “new category.”)
UburGeek  [author] 10 Aug @ 4:01pm 
Thanks for feedback Kapral, I will look to add a delete zone button. In the meantime, you could just delete from the lua/PhunZones.lua file (if you feel comfortable editing)
Kapral 10 Aug @ 1:38pm 
The mod is great, but there is not enough button to delete zones that are not needed, and over time, unnecessary zones on the server cannot be deleted.
UburGeek  [author] 10 Aug @ 10:30am 
Hey Naup, thanks for this report. I have just uploaded a fix that should hopefully address this.

Regarding your question about the files - custom modifications are stored in your lua/PhunZones.lua and lua/PhunLewt.lua files. If you are moving your configs between servers, simply uploading the files to your lua folder should be sufficient. However I would recommend that you shut down the game/server before you do this as those files are read when the server boots up
Naup 7 Aug @ 6:16am 
I encountered an issue that makes the feature unusable. After I "add zone" at any coordinate, as soon as I "Edit Region" and click "save", all newly added "zone" entries disappear.

This issue also occurs with the "PhunLewt" module, where the modified item drop rates get reverted as well.

I have not installed any other modules.

Additionally, when I migrate the "PhunZones.lua" or "PhunLewt.lua" files from the "lua" folder to a new server, how should I load the files themselves?
Ssaulabby 23 Jul @ 3:20pm 
yay, thanks UburGeek
UburGeek  [author] 23 Jul @ 12:34pm 
UburGeek  [author] 21 Jul @ 3:22am 
Hmmm. You are getting the error they quoted below when a zed wanders into a zed free zone? Can you get me your lua/PhunZones.lua file? It may be easier to send to me on discord if you're on there.