DayZ
Darylarn Sep 3, 2022 @ 7:56pm
Adjusting Stamina Via JSON File
I found a really good tutorial online about how to change your stamina speed, which I followed to the tee (I think ;-) ) I did notice in the cfggameplay.json file it has "version 116" at the top of the file. Is this the DayZ version, should I change that to 118 (current version) and what is the correct syntax for the command? I tried every conceivable combination but could still not access the server via the game. Once I remove the use of that JSON I had access again, so I assume it's a syntax error not a set value error. Cheers.
< >
Showing 1-8 of 8 comments
Idaho Sep 4, 2022 @ 7:35am 
This is how I have mine set on my server:

},
"PlayerData": {
"disablePersonalLight": 1,
"StaminaData": {
"sprintStaminaModifierErc": 1,
"sprintStaminaModifierCro": 1,
"staminaWeightLimitThreshold": 7000,
"staminaMax": 170,
"staminaKgToStaminaPercentPenalty": 1.28,
"staminaMinCap": 5

It makes you able to carry a little more weight than default and you can sprint about twice as long as normal. Some servers make it so you can sprint forever, which I think is kinda silly.
Darylarn Sep 5, 2022 @ 2:06am 
Thanks. I set the sprint modifiers to 0.1 each and left the rest. My issue though is the JSON is stopping my server from being discovered and not playable until I remove JSON accessibility.
Idaho Sep 5, 2022 @ 7:44am 
Are you hosting your own server or using a hosting service?
Darylarn Sep 5, 2022 @ 3:15pm 
Using Nitrado. The tutorial was for a Nitrado service, so I expected to have it working, but not so.
etwas Sep 5, 2022 @ 4:11pm 
do u have the json file enabled in your server config?

enableCfgGameplayFile = 1;
Darylarn Sep 6, 2022 @ 2:04am 
Yeh I did. I'm really not sure where I went wrong. Will try again and see if that gets it going.
*Bry721909* Feb 28, 2024 @ 3:53pm 
Originally posted by Darylarn:
Yeh I did. I'm really not sure where I went wrong. Will try again and see if that gets it going.
Did you figure out a fix. I can't get my server to be seen either. I set it up as directed I believe. It's just my computer being used as a server. Nothing fancy but it isn't searchable as a LAN.
_KC76_ Feb 29, 2024 @ 1:17pm 
You would be better served by starting your own new thread, and include as much information as you can when asked about specific details .. this thread being 2 years old, even if it was related, which I suspect it is not, it would be outdated information, since the game has had updates and file changes made.

What I will say, is that you should NEVER be changing the Header of any Game files .. Do NOT change "version" information inside the file .. If you feel your file is outdated, then copy that file from the most recent version of the default Vanilla Chernarus or Enoch maps, and edit the lower portions as needed.. Again, DO NOT change the Version number manually.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Sep 3, 2022 @ 7:56pm
Posts: 8