DayZ
Discover the best community content
Get the most out of DayZ with Steam Workshop. Find and install user-created mods, or create your own and upload it directly to Steam.
OG_GamerGuy 4 2024 年 8 月 5 日 上午 11:21
Workshop_Mod-NamesPleaseHelp
I have a question. Is there any way possible to require MOD Creators to name their mods with an 'underscore _', or a 'dash -', or even NO spaces at all, instead of blank spaces?

I am new to all this modding stuff so if I have missed something, please help.

I don't know about hosted servers but on my LAN test server when a mod is updated, I can find no way to find out which mod it is and therefor I have to manually update all my mods one by one. Which means I have to go through and rename all the mods that have spaces in them. I have 100 mods on my test server and it is crazy having to manually rename all the mods.

My server showed all mods were loaded in the mod list but it showed 99/1/0 meaning 1 mod was missing. I searched through the mod list and it showed nothing missing and they were all good, no repairs or anything needed. I checked and re-checked the mod list in my .bat file and everything was fine. I copied the mod list from my .bat file to the launcher several times. Nothing helped... Finally I re-copied all the mod folders from the workshop to my server folder, renamed them all and what do you know, it worked. 100 mods all green and good to go.

Just a thought, it sure would make my mod testing Sooooo much easier..!
最后由 OG_GamerGuy 编辑于; 2024 年 8 月 6 日 上午 9:59
< >
正在显示第 1 - 15 条,共 22 条留言
OG_GamerGuy 4 2024 年 8 月 6 日 上午 9:56 
So I found a solution to my problem... I went to my workshop items and then selected subscribed items, from there I went through the list and Favorited all the items on my server. Now I can just go there to my favorites and list them by Date Updated, check which ones were updated and then update files accordingly...

Still it would be nice to not have to rename the files at all but this work around works for me. Testing mods on my server is Sooooo much easier than it was before.

Thanks For Listening,
OG_GamerGuy,
Over and Out..!
最后由 OG_GamerGuy 编辑于; 2024 年 8 月 6 日 上午 10:27
_KC76_ 16 2024 年 9 月 9 日 下午 11:08 
You don't need to rename your mods. You just need to put quote marks around the -mod= section of your ServerStart.bat, like so:

"-mod=@CF;@VPPAdminTools;@ZomBerry Admin Tools;@VanillaPlusPlusMap;@KC76_Cookware;@KC76_GasBottles;@KC76_UniversalAttachments"
OG_GamerGuy 4 2024 年 9 月 9 日 下午 11:22 
引用自 _KC76_
You don't need to rename your mods. You just need to put quote marks around the -mod= section of your ServerStart.bat, like so:

"-mod=@CF;@VPPAdminTools;@ZomBerry Admin Tools;@VanillaPlusPlusMap;@KC76_Cookware;@KC76_GasBottles;@KC76_UniversalAttachments"


So my bat file is set up different... Mine is:

:: Mods
set mods=@CF;@DabsFramework;@VPPAdminTools; etc;etc;etc;

So would I put the quote marks like the following?

:: Mods
set "mods=@CF;@DabsFramework;@VPPAdminTools; etc;etc;etc;"

Thank you for the reply also...

OG
_KC76_ 16 2024 年 9 月 10 日 上午 7:20 
引用自 OG_GamerGuy
引用自 _KC76_
You don't need to rename your mods. You just need to put quote marks around the -mod= section of your ServerStart.bat, like so:

"-mod=@CF;@VPPAdminTools;@ZomBerry Admin Tools;@VanillaPlusPlusMap;@KC76_Cookware;@KC76_GasBottles;@KC76_UniversalAttachments"


So my bat file is set up different... Mine is:

:: Mods
set mods=@CF;@DabsFramework;@VPPAdminTools; etc;etc;etc;

So would I put the quote marks like the following?

:: Mods
set "mods=@CF;@DabsFramework;@VPPAdminTools; etc;etc;etc;"

Thank you for the reply also...

OG
No, you can't use quotes in the "SET" line, (which is Obsolete) .. just delete the "set mods" lines completely, and use the "-mod=@mod" in the Start Parameters section.
最后由 _KC76_ 编辑于; 2024 年 9 月 10 日 上午 7:21
_KC76_ 16 2024 年 9 月 10 日 上午 7:24 
Here is a complete Start Batch file from a Vanilla Chernarus server I run, for an example of the formatting:
@echo off :start ::Server name (This is just for the bat file) set serverName=Vanilla Chernarus ::Server files location set serverLocation="C:\_Steam\steamapps\common\DayZServer" ::Server Port set serverPort=2302 ::Server config set serverConfig=Vanilla_Chernarus_serverDZ.cfg ::Logical CPU cores to use (Equal or less than available) set serverCPU=2 ::Sets title for terminal (DONT edit) title %serverName% batch ::DayZServer location (DONT edit) cd "%serverLocation%" echo (%time%) %serverName% started. ::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=) start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% "-profiles=config" "-mod=@CF;@VPPAdminTools;@ZomBerry Admin Tools;@VanillaPlusPlusMap" -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck ::Time in seconds before kill server process (21600 = 6 hours) timeout 21590 taskkill /im DayZServer_x64.exe /F ::Time in seconds to wait before.. timeout 10 ::Go back to the top and repeat the whole cycle again goto start
OG_GamerGuy 4 2024 年 9 月 10 日 下午 4:13 
引用自 _KC76_
Here is a complete Start Batch file from a Vanilla Chernarus server I run, for an example of the formatting:
@echo off :start ::Server name (This is just for the bat file) set serverName=Vanilla Chernarus ::Server files location set serverLocation="C:\_Steam\steamapps\common\DayZServer" ::Server Port set serverPort=2302 ::Server config set serverConfig=Vanilla_Chernarus_serverDZ.cfg ::Logical CPU cores to use (Equal or less than available) set serverCPU=2 ::Sets title for terminal (DONT edit) title %serverName% batch ::DayZServer location (DONT edit) cd "%serverLocation%" echo (%time%) %serverName% started. ::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=) start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% "-profiles=config" "-mod=@CF;@VPPAdminTools;@ZomBerry Admin Tools;@VanillaPlusPlusMap" -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck ::Time in seconds before kill server process (21600 = 6 hours) timeout 21590 taskkill /im DayZServer_x64.exe /F ::Time in seconds to wait before.. timeout 10 ::Go back to the top and repeat the whole cycle again goto start


Thank you so much for your help...
OG
Firsken 2024 年 9 月 27 日 上午 12:34 
::Mods
set mods=@mods;@mod whatever;

::Launch Parameters
start "-mod=%mods%" <-- quotation there
_KC76_ 16 2024 年 9 月 27 日 上午 12:36 
引用自 Firsken
::Mods
set mods=@mods;@mod whatever;

::Launch Parameters
start "-mod=%mods%" <-- quotation there
No. This method will require mods to be renamed to remove spaces in their names.
Firsken 2024 年 9 月 27 日 上午 12:39 
引用自 _KC76_
引用自 Firsken
::Mods
set mods=@mods;@mod whatever;

::Launch Parameters
start "-mod=%mods%" <-- quotation there
No. This method will require mods to be renamed to remove spaces in their names.

Well, to be fair, I do rename the mod folders to only have 2-3 letters, usually capitals. Since DayZ tends to be annoying anyway, I just update the mods in normal launcher, repair them to be sure it actually updates them, then just copy/paste the content inside the mod folders to the folder in server.
最后由 Firsken 编辑于; 2024 年 9 月 27 日 上午 12:40
_KC76_ 16 2024 年 9 月 27 日 上午 12:43 
引用自 Firsken
引用自 _KC76_
No. This method will require mods to be renamed to remove spaces in their names.

Well, to be fair, I do rename the mod folders to only have 2-3 letters, usually capitals. Since DayZ tends to be annoying anyway, I just update the mods in normal launcher, repair them to be sure it actually updates them, then just copy/paste the content inside the mod folders to the folder in server.
How does that help the OP who wanted to avoid having to rename their mods, or jump thru hoops to update their server mods?

Using "set mods" is an outdated method, and there is no reason to do that extra work.
Firsken 2024 年 9 月 27 日 上午 12:50 
引用自 _KC76_
引用自 Firsken

Well, to be fair, I do rename the mod folders to only have 2-3 letters, usually capitals. Since DayZ tends to be annoying anyway, I just update the mods in normal launcher, repair them to be sure it actually updates them, then just copy/paste the content inside the mod folders to the folder in server.
How does that help the OP who wanted to avoid having to rename their mods, or jump thru hoops to update their server mods?

Using "set mods" is an outdated method, and there is no reason to do that extra work.

Because having a cluster F on launcher parameter line is better.
Clearly I was wrong about spacing, but my way still works fine...
In fact, it works better for me, rather than having to search the mess that would be if you're using more than 10 mods. It's not "obsolete" because it works. You just prefer your way and I prefer mine.
_KC76_ 16 2024 年 9 月 27 日 上午 1:03 
引用自 Firsken
引用自 _KC76_
How does that help the OP who wanted to avoid having to rename their mods, or jump thru hoops to update their server mods?

Using "set mods" is an outdated method, and there is no reason to do that extra work.

Because having a cluster F on launcher parameter line is better.
Clearly I was wrong about spacing, but my way still works fine...
In fact, it works better for me, rather than having to search the mess that would be if you're using more than 10 mods. It's not "obsolete" because it works. You just prefer your way and I prefer mine.
A cluster on line 7 verses a cluster on line 10, you still have a cluster of mods...:steamfacepalm:
It's obsolete, with respect to being "necessary" .. It is not "needed" in current game/server versions.
Your welcome to do yours however you like, the point is though, the OP was literally asking how to get away from YOUR method .. :steamfacepalm:
最后由 _KC76_ 编辑于; 2024 年 9 月 27 日 上午 1:06
OG_GamerGuy 4 2024 年 9 月 27 日 上午 2:02 
The " "s worked perfect for me. I don't have to do nothing but copy mod to my server and go. No renaming, no removing spaces, it's simple and fast. Thanks again _KC76 for the seloution...

OG...
When I add the "-mod..." it makes the server show no required mods.
引用自 Human Zaddy 44618
When I add the "-mod..." it makes the server show no required mods.

I think it has to do with how many mods you have. I can only have 32 mods on my server for some reason so if I put on 33 mods it shows no mods for me also. I really don't know what the limit thing is all about...
< >
正在显示第 1 - 15 条,共 22 条留言
每页显示数: 1530 50