7 Days to Die

7 Days to Die

查看统计:
heusmich 2021 年 9 月 2 日 上午 2:40
Change mods that need a local installation to server-side mods
Hi @all,

For 7 Days to Die there are a lot of mods that are server-side only, so I can add them to the server and they are working for all users.
But there are also a lot of mods that have to be installed on the server and on the client, too. If they are only installed on the server but not on the client, then for example the picture will not be shown in the crafting menu although it is available in a folder within the mods folder.
So my question is, is there a possibility to change a mod that needs a local installation to a server-side mod? So for example change the link to the picture to my server location or some other configs that normally require a local installation.

I´m running two public servers where a lot of different users join, so I want to prevent that all the users have to download and install a few mods before they can join my servers.

Would love it if there would be a way to do this.
最后由 heusmich 编辑于; 2021 年 9 月 2 日 上午 2:43
< >
正在显示第 1 - 3 条,共 3 条留言
Crater Creator 2021 年 9 月 2 日 上午 6:03 
Hmm. It sounds like you’re talking about the item icons. I was remembering that these are one of the few things besides xml files that are transferred from server to client, but I may be remembering wrong.

Since your question concerns how mods work, I’m moving it to the Modding sub-forum.
doughphunghus 2021 年 9 月 2 日 上午 6:29 
Q: "is there a possibility to change a mod that needs a local installation to a server-side mod"

A: If its the icons then you can manually change the mod to use a vanilla game icon instead, and then use the "tint" property (in the XML) to make the icon have a different color. Its not "the best" and it may be very hard to find an icon that looks even close to what you want, but it will work. So if the mod had a cool "piece of ham" icon, you could just replace it in the XML with the raw meat or grilled meat icon and tint it yellow or pink or brown so its visually different than the vanilla game icons, and also kinda looks like it could be a piece of ham.

As an example: I have some mods that have a pen, and a pencil. I just used the icon for the dart trap ammo for both and colored/tinted the "pen" blue and the "pencil" yellow. Its not great, but it works to make it server side safe.

If there are any 3D models (in teh mods resources folder, they have extensions of unity.3D) then you cannot convert these
heusmich 2021 年 9 月 2 日 上午 7:33 
引用自 doughphunghus
Q: "is there a possibility to change a mod that needs a local installation to a server-side mod"

A: If its the icons then you can manually change the mod to use a vanilla game icon instead, and then use the "tint" property (in the XML) to make the icon have a different color. Its not "the best" and it may be very hard to find an icon that looks even close to what you want, but it will work. So if the mod had a cool "piece of ham" icon, you could just replace it in the XML with the raw meat or grilled meat icon and tint it yellow or pink or brown so its visually different than the vanilla game icons, and also kinda looks like it could be a piece of ham.

As an example: I have some mods that have a pen, and a pencil. I just used the icon for the dart trap ammo for both and colored/tinted the "pen" blue and the "pencil" yellow. Its not great, but it works to make it server side safe.

If there are any 3D models (in teh mods resources folder, they have extensions of unity.3D) then you cannot convert these

Yes, you´re right, it´s not the best of the best but it´s an option. I will check if I can find matching icons for the mods I want to install.
Thanks and have a nice day!
:-)
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50

发帖日期: 2021 年 9 月 2 日 上午 2:40
回复数: 3