Project Zomboid

Project Zomboid

SafehousePlus [B41]
73 Comments
Underdog 17 Aug @ 6:19am 
Tried this mod on multiplayer, but safehouses keeps disappearing (can't even be seen being added in server logs). I'm not sure why this happens, but seems to occur when there is a certain amount despite the limit having been increased.
Seeker 27 Jul @ 6:55am 
Olá Leo blz? Cara queria pedir algo para vc.
é a ideia de um mod tb de safehouse

Quando o último jogador da safehouse sair do servidor, a proteção só deve ativar após um tempo de espera aleatório entre, por exemplo, 15 e 40 minutos — valor ajustável pelo admin.
Isso evitaria o famoso "logout tático" pra escapar de ataque, mas ainda manteria a safehouse funcionando.

O mod pode usar o recurso vanilla DisableSafehouseWhenPlayerConnected=true, que já impede proteção quando alguém da safe está online.
O que ele precisa fazer é apenas aumentar o delay antes da safe ser reativada após todos deslogarem.

No fundo, o mod só precisa controlar esse tempo de espera extra. Se alguém topar fazer, fica aí a ideia!

se quiser doi ate um cafe para tu animar a fazer. e a autoria é toda sua. so quero isso no servidor.
Zed1996 26 Jul @ 2:56pm 
Can You Add This Mid-Vanilla Game? I've Tried It But It Changes Settings Back To Default On Hosting?
Gwainzy 13 Jul @ 4:08pm 
not sure why but when server restarts, peoples safehouses are unclaiming
CevaConCe 19 Jun @ 2:28pm 
Thnks very much for your aport to the community. I promes continue your work soldier :steamthis::steamthumbsup::etgconvict:
theleo  [author] 19 Jun @ 2:18pm 
Hey everyone, sorry the mod's code still needs some polishing, but I currently can't continue working on it. You have my permission to improve/extend it—just give credit
theleo  [author] 19 Jun @ 2:15pm 
You have my permission to modify/use this, as long as you give credit @CevaConCe
CevaConCe 19 Jun @ 1:55pm 
Where could i ask for a modification permission?
nicoj4f 24 Apr @ 3:01am 
Greetings, is it possible to add an area that you can claim yourself for normal players. For example a piece in the forest?
Leksandrov 14 Apr @ 10:37am 
Tell me, how can I find out how long it will take for a player's private account to disappear and when he last logged in?
Anh Giáo Riu 8 Apr @ 12:07pm 
I love this mod, look so modern and many features.
I try to implement a police faction for claiming instead of admins in my RP server, but there is no expand features in case people want to build more.
Deathstar 28 Mar @ 8:29am 
Is there at all a way to implement some kind of consent feature to stop people from adding strangers to their safehouses so they can 1. see them on the map and 2. disable friendly fire? We had some people abuse the fact that you can simply add anyone you want by name and they don't even know that it's happening
iDestin 23 Mar @ 12:31pm 
@theleo was curious on the incompatibilities, with Server Tweaker, am I able to just turn off some sandbox options to get both to work without completely repacking or have you made fixes on your end to include both since then? Thanks in advance.
Arthamyel 20 Mar @ 9:13am 
Olá.
No servidor MP que participo, está utilizando seu mod para gerir as safehouses, porém estamos com uma dificuldade para diferenciar e limitar dessa forma, MEMBRO DA SAFEHOUSE e PROPRIETÁRIO DA SAFEHOUSE.
A ideia é limitar apenas os proprietários, de forma que não possam, a não ser com VIP, reivindicar mais que uma safehouse no mapa, porém, como membro, poder participar de maneira ilimitada, seja da safe de amigos, da comunidade facção que o mesmo participa, etc.
De maneira mais sucinta seria: limitar o player de ser proprietário de safe, mas não limitar o mesmo player de ser membro de várias safes.
Creio que adicionar essa melhoria no sistema de limitação, poderá facilitar que o mod seja utilizado por mais servidores, visto que o mod é muito bom, e irá beneficiar à todos.
Ceedee 16 Mar @ 1:15pm 
All of my safehouses except for the first one I claimed are gone every time I log in.
theleo  [author] 16 Mar @ 5:32am 
@Nickels You need to access the sandbox settings in the admin user menu
theleo  [author] 16 Mar @ 5:29am 
@Breno Você precisa adicionar um ou mais tipos de salas que fazem parte das construções comerciais no filtro das opções sandbox. Isso afetará todas as construções com essas salas em todo o mapa, impedindo que sejam reivindicadas. No balão de dica da opção sandbox, coloquei um link do fórum do zomboid que lista o nome de todas as salas do jogo
Breno 15 Mar @ 2:31pm 
como eu devo usar o seu mod pra bloquear o clain nesse local https://imgur.com/a/7eFz2Jt no primeiro andar desse ponto de comercio se o jogador tomar as casas o comercio todo ai fica bloqueado até agora eu não achei o mod que desative as casas seguras em locais como esse no jogo
Nickels 9 Mar @ 2:35pm 
I'm new to modding this game, this is my only mod. How do I edit the settings? I can own a safehouse and join a friends at the same time but we cannot claim more than one each, how do we own more than one?
theleo  [author] 9 Mar @ 8:03am 
In the latest stable version, I haven't experienced any more issues of this kind on my server.
theleo  [author] 9 Mar @ 8:02am 
This could be a mod incompatibility issue. Some mods overwrite the safehouse UI code, which might cause it to not synchronize properly.
Midnightorder 9 Mar @ 7:27am 
Guess the issue where i have to reclaim the safehouse`s everytime I log in is because i am running the latest stable version ?
theleo  [author] 18 Feb @ 7:28am 
Guys, please consider leaving a like on the mod if you enjoyed it. It helps a lot!
theleo  [author] 17 Feb @ 6:21am 
@BOT Deagle, you make a very good point. I still plan to improve some aspects of the claim interface, and I might add a button to make it easier to add online players in future updates.
700$ For Desert Eagle 17 Feb @ 6:15am 
It is possible to has some menu to get all player online during that the time to easy adding into the safe In case that the server not show ther Username of the player?
theleo  [author] 17 Feb @ 3:38am 
@MIKEO I'm really glad to hear that you're enjoying the mod! I’d truly appreciate your help with the Japanese translation, and I’d love to see the mod available in other languages. I’ll create a dedicated discussion thread for submitting translations in other languages.
MIKEO 16 Feb @ 12:46pm 
@theleo
Thank you for creating such an amazing mod!
I would love to see a Japanese translation added. How can I help with that?
I've already localized the mod into Japanese and am using it on my end. If it would be helpful, I can send you the files. Let me know what works best for you!
theleo  [author] 15 Feb @ 9:51am 
@nicoj4f It's a bit complicated for me to set specific update times; I usually work on the mods whenever I have time available. If you want to add SafehousePlus to a modpack, you have my permission.
nicoj4f 15 Feb @ 6:24am 
@theleo Is it possible to stick to certain times for updates? :D The mod is now on a server with an average of 20 players.
So it would be cool if you could push the updates a few minutes before 6 / 12 / 18 / 0 o'clock. If not, it doesn't matter :D
theleo  [author] 15 Feb @ 4:44am 
@Deathstar, I fixed the safehouse respawn issue in the latest update—thanks for the feedback! Regarding the safehouses not syncing correctly, I haven't been able to reproduce the issue on my end yet, but I'll keep investigating. If you notice any patterns or specific conditions that trigger this bug, please let me know!
Deathstar 15 Feb @ 1:24am 
Me again :^)
Forwarding some things my players noticed:

1. Claiming safehouses can be janky, claimed safe houses sometimes disappear upon relog. (Moderator claimed safehouses for other people do not.)

2. Added members in a freshly claimed safehouse cannot see the safehouse they've been added to.

3. If you are a member of multiple safehouses, and have respawn at safehouse enabled for 2 or more of them, you will respawn to the first safehouse you enabled the setting in.
theleo  [author] 14 Feb @ 2:00pm 
@Deathstar You're welcome! Feel free to ask if you have any more questions.
theleo  [author] 14 Feb @ 1:55pm 
@nicoj4f I'm glad I could help you with the compatibility issue with Server Tweaker. If you have any other problems with the mod, let me know! :ridden_thumbsup:
Deathstar 14 Feb @ 1:51pm 
Thanks for the quick reply. I ask because I saw one of my players was able to claim a bar in Rosewood (vanilla, marked yellow on the map)
theleo  [author] 14 Feb @ 1:49pm 
@Deathstar The issue of residential areas is a limitation that depends on who created the mod map or the base game (vanilla). For a building to be considered residential, it needs to be defined as such during the creation of the map. For example, if a building was not specifically marked as non-residential, the mod will still allow players to claim that building, even if that was not the original intention (orange color on the map). In other words, the definition of how a building functions (whether it is residential or not) depends on the settings made in the map, and the mod simply follows these rules.
Deathstar 14 Feb @ 1:22pm 
Does your mod fully respect the server-side setting that restricts players to residential buildings only? Love the UI btw!
nicoj4f 14 Feb @ 1:20pm 
Thanks worked :D
nicoj4f 14 Feb @ 9:14am 
Okay thanks for the help :D
theleo  [author] 14 Feb @ 8:35am 
@nicoj4f Since ServerTweaker replaces parts of the code in ISSafehouseUI and ISUserPanelUI after the file is loaded, there isn't much I can do to ensure compatibility with other mods. One solution that might work is to create a modpack with the mod and then remove the files in the ./ServerTweaker/media/lua/client/legacy/UserPanel folder. This disables ServerTweaker's functionalities related to Safehouse and the User Panel, preventing conflicts.
nicoj4f 14 Feb @ 7:59am 
Sure. The Claimhouse Menu wont show up when booth Mods installed.
theleo  [author] 10 Feb @ 6:21pm 
I was really happy to hear that you liked it and that the mod is being useful to you, @nicoj4f! Could you give me more details about the issue you're having with Server Tweaker and how to reproduce it here?
nicoj4f 10 Feb @ 5:31pm 
Can you please fix the problems that the mod is having with Server Tweaker?

Bythe Way nice Mod. I love it. Can you edit the Group Menu Too. :D
theleo  [author] 8 Feb @ 12:00pm 
If you could give me some feedback after this latest update that adds the new VIP feature, I would be extremely grateful!
theleo  [author] 8 Feb @ 4:38am 
:spiffo: Hey everyone, if you like the mod, please consider hitting the like button. It really helps the mod stand out in the Workshop and encourages me to keep improving it for you all.
theleo  [author] 7 Feb @ 6:50am 
@SICK, I disabled the option to claim via the context menu because the way the game calculates claim validations does not support multiple safehouses or the additional filters from SafehousePlus.
theleo  [author] 7 Feb @ 3:00am 
@[3SP] BamBennos, could you please tell me in more detail how you are claiming the safehouse and how to reproduce this issue? Here, everything seems to be working normally.
theleo  [author] 7 Feb @ 2:59am 
@SICK, take a look at this latest update—it might help you and your players out.
BamBennos 7 Feb @ 2:39am 
I'm not able to create additional safehouses at all... i can claim a safehouse, but member won't see the safehouse even after i added them, and my safehouse disappears in the list of safehouses when i relog.
SiCK 6 Feb @ 9:37pm 
Hi theleo, my Players are not able to right click the ground to claim a safehouse. Can you fix that maybe?
theleo  [author] 5 Feb @ 2:07am 
@Sin’s Content It doesn't work in single-player mode; it's a multiplayer-only mod