DayZ
SERVERSIDE safezone
33 Comments
NKWD Apr 3 @ 9:48am 
Everything works perfectly.
jcaspes Mar 13 @ 6:53am 
example with two zones
SAFEZONE_LOCATIONS = {"6974.0 388.0 11345.0", "7234.0 120.0 4850.0"};
jcaspes Mar 13 @ 1:44am 
@ever1knowsdave for multiple safe zone should be simpler to add coordinate in SAFEZONE_LOCATIONS array no ? whey did you suggest to add a separate file.. ?

also for information, here a temporary fixed version for 1.27 (waiting for owner to fix it)
https://github.com/jcaspes/dayz-safezone-script
Triss Merigold Mar 4 @ 10:52am 
REPACKING - its server side, why the heck would you ever need to, hell you dont even have to load it ! IMFAO hahahahahhahahah
Matrix0110 Feb 26 @ 10:20pm 
Needs an update no longer works with 1.27
every1knowsdave  [author] Feb 13 @ 2:14am 
updated discord link, yes richard just make a second file and line in init.c and ensure they dont have the same name / referece
[UK1]Richard Feb 13 @ 1:43am 
works minus the bleed effect no damage but still bleed/cut also how would i use this for 2 safezone locations would i just make a separate file and reads another line of code within the init.c file to do the second.
✗ | මචන් Feb 1 @ 3:33am 
bro discord link not work
✪ Toastbrot Dec 10, 2024 @ 3:15am 
not working actually ? i can get Fall damage and Die and i dont get any notifications.
DL Sep 26, 2024 @ 10:01am 
legend! thank so much for that, one question, everytime someone re log they getting the message that they are leaving the safezone, any chance someone know how to fix this ? not a big issue tho, thank u!
TheNoticer Sep 2, 2024 @ 12:07pm 
I did make another version built off of this. Mine works alongside expansion and reads the safezonesettings.json file to set the zones automatically. It also adds support for multiple zones.

https://steamcommunity.com/sharedfiles/filedetails/?id=3322944869
Gobbles Aug 29, 2024 @ 10:56pm 
Crash Report.... Line32 Unknown Code.

I created the Scripts folder in the correct area, I also Put your 1 line of code... excluding the include part lol, placed that exactly the same as your picture. Yet I keep getting the UNKNOWN CODE error. Line 32 is the line your code went into.
DL Jul 31, 2024 @ 11:36pm 
Legend!!! thank you comrade!
Capt. Vortex Jun 30, 2024 @ 11:10am 
every1knowsdave i love your work i respect you effort of helping people
the mod works great BUT
the server owners have to know that works to add ONLY 1 safe zone.
and it doesn't work for multiple zones!
unless if in future there is gonna be update.
[U4EA]Leeston Apr 25, 2024 @ 11:32am 
Thanks buddy, Floorless!
every1knowsdave  [author] Mar 3, 2024 @ 8:59am 
my pleasure to help
Gamb1t Feb 27, 2024 @ 12:33pm 
Thanks again Dave!
Jimmy 'The Gremlin' Feb 13, 2024 @ 9:54pm 
Excellent work, huge props
М͛е͛т͛а͛д͛о͛н͛ Feb 10, 2024 @ 8:41pm 
Whoa Award From Me :steamthumbsup:
every1knowsdave  [author] Feb 10, 2024 @ 5:26am 
VVentos im glad the mod is of good use to you, the bug with the suicide function is known and is indeed because the player is in god mode, i am researching if its possible to switch the f11 function off when in the safe zone
im pretty sure a countdown when leaving the safe zone would be a simple wait command and numbers for a countdown so i will try add that later today, id love to move the text to the top and make it larger, but atm i dont no how to do that ;)
i will try and get as many of these suggestions added to the mod as soon as i can
every1knowsdave  [author] Feb 10, 2024 @ 5:22am 
bobsta the scripts goes in dayzoffline.chenarusplus\scripts .. if its still not firing double check the init.c , there is a sample image included in the mod
Bobsta Feb 9, 2024 @ 9:19pm 
i have the scriprt were other folders are it has db env scripts
VVentos Feb 9, 2024 @ 3:05pm 
-REQUESTS-
1) When entering/exiting the Safezone, the warning text appears at the top, as in trader mode, not in chat.
2) After exiting the Safezone, it stops in god mode for the second we wrote and the time ends through a countdown, indicating to the player that they will no longer be safe.

-BUG-
1) When the player tries to commit suicide in the safe zone, he succeeds, but he has to lie on the ground and stand still without even closing his eyes. There is also no option to respawn when you press the Esc key. Relog is the only option, but I haven't been able to test it properly. Is it possible to turn off the suicide function in the safe zone instead? When you committed suicide in trader mode, you were dying straight away. But as far as I know, that's because he doesn't give players god mode.
VVentos Feb 9, 2024 @ 3:05pm 
Hi Dave, I managed to get your mod to work and tried it. I can say that it fulfills its function very well because it is based on a safezone, but there is a bug I caught and many features that I want to be added. First of all, you are probably familiar with the TRADER mode that Dr. Jones did. We had to use the big trader mode only for the safezone because it was the only mode to add a safezone to our server. However, the owner of Trader Mod does not give permission to repack
So, people can see that there is a Trader mode on the server. We are always exposed to sentences such as "where is the trader?" or "if there is a trader, I will not play". I would like you to add a few features that this mod has. I'm sure if you ask the creators of the mod for permission to look at how safezone works, they'll give permission. We will wipe our server after 12 days and we want to remove the trader mode and add this safe zone mode. We trust you as a whole team and players. :steamhappy:
every1knowsdave  [author] Feb 9, 2024 @ 9:07am 
Bobsta, if nothing is happening at all, you either have the script in the wrong folder / place or you haven't added the #include line (or added it incorrectly)
every1knowsdave  [author] Feb 9, 2024 @ 9:06am 
amac it works pretty well, ill update to it with some extra features in the future.. all will be optional
every1knowsdave  [author] Feb 9, 2024 @ 9:06am 
hoodie, ill work on referencing more things not to receive damage
Bobsta Feb 8, 2024 @ 9:41pm 
not working for me at all followed everything even left the cords as they were went there and nothing no message or nything
Amac1277 Feb 8, 2024 @ 4:19pm 
I'm apprehensive and ill give a thumbs up but im gonna test this out. This is exactly what server owners have been searching for if so...
H00die Feb 7, 2024 @ 1:26pm 
Would be amazing to add no damage to items such as tents, shelters or barrels to this. Works amazing though ty!
every1knowsdave  [author] Feb 7, 2024 @ 7:47am 
ahh it wont effect AI survivors only players, this doesnt sotp players form comitting damage only reciving it,, so players can still raise weapons and kill AI such as spawner surviors ;)
StormZz Feb 7, 2024 @ 7:16am 
You can shoot players and still harm/ kill them in the safezone. Survivor_'s at least when spawned it.
М͛е͛т͛а͛д͛о͛н͛ Feb 6, 2024 @ 4:21pm 
Lets gooooo! :steammocking: