Garry's Mod

Garry's Mod

评价数不足
Workshop Download Simplifyer
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
2.299 KB
2018 年 2 月 3 日 上午 4:38
2020 年 2 月 5 日 下午 5:11
2 项改动说明 ( 查看 )

订阅以下载
Workshop Download Simplifyer

在 [ApDev] Rainbow Dash 的 2 个合集中
Aperture Development Addon Test Server
5 件物品
Cloudsdale Gaming Server
138 件物品
描述
Allows you to setup ressource.AddWorkshop within seconds.



The Workshop Download Simplifyer is nothing more then a small tool which simplifies the setup of the so called Workshop Client Download. You can simply add all your addons without the need to make a workshop.lua with thousends of lines with ressource.AddWorkshop.

This addon works pretty simple with 3 commands:

wsdl_addsingleaddon <addon id>

Adds the Addon with id <addon id> to the Workshop Client Download.

wsdl_remsingleaddon <addon id>

Removes the Addon with id <addon id> from the Workshop Client Download.

wsdl_setcollection <collection id>

Sets a whole collection with <collection id> as workshop client download. ( Allows easy management of addons to download by Clients )


Server restart is required after finishing of the addon setup.

This script uses the GPL 3.0 License Link[www.gnu.org]

-----------------------------------------------------------------------------------

Our Website: https://www.Aperture-Development.de/


Our Steam groups / Unsere Steam Gruppen
http://psteamcommunity.yuanyoumao.com/groups/Aperture-Development ( German/Deutsch )
http://psteamcommunity.yuanyoumao.com/groups/Aperture-Development-EN ( English/Englisch )
17 条留言
[ApDev] Rainbow Dash  [作者] 2020 年 12 月 7 日 下午 4:51 
No I cannot, and it most certainly doesn't. The addon work's by running the function resource.AddWorkshop on the server, adding the downloads to the workshop download list of GMod. Here some info on how the function works: https://wiki.facepunch.com/gmod/resource.AddWorkshop
After this function has been executedm there is no way of removing it from that list again. If you don't wan't that, you will have to find every place where that function has been defined and remove it from there. Changing default GMod behaviour is Out-of-Scope for this addon
>KB> >KEKSQUAD 2020 年 12 月 2 日 上午 11:27 
Can you add that feature in? N2 In-Game Workshop Downloader has it
[ApDev] Rainbow Dash  [作者] 2020 年 11 月 25 日 上午 11:27 
The addon does not remove addons from the workshop download that have been added by other addons or a workshop.lua file
>KB> >KEKSQUAD 2020 年 11 月 23 日 下午 4:20 
Bump
>KB> >KEKSQUAD 2020 年 11 月 18 日 上午 11:34 
Hey so not sure if this is intended or not, but the wsdl_remsingleaddon doesn't seem to be working. I think players are still downloading the WS addons even though I have a whole bunch of them in my server.cfg

wsdl_remsingleaddon 771487490
wsdl_remsingleaddon 1571918906
wsdl_remsingleaddon 159271441
wsdl_remsingleaddon 1525218777
wsdl_remsingleaddon 1596971443
wsdl_remsingleaddon 1603635147
wsdl_remsingleaddon 1804554591
wsdl_remsingleaddon 831680603
wsdl_remsingleaddon 104607228
wsdl_remsingleaddon 1832506692
wsdl_remsingleaddon 1919694756
wsdl_remsingleaddon 1919689921
[ApDev] Rainbow Dash  [作者] 2020 年 2 月 5 日 下午 5:12 
+|KB| >KEKSQUAD
Turns out I did something wrong in the files, I fixed the bug but I dont know how it even occured
>KB> >KEKSQUAD 2020 年 1 月 17 日 下午 12:41 
Well I'm thinking it could be the first reason now that I think about it
[ApDev] Rainbow Dash  [作者] 2020 年 1 月 17 日 下午 12:14 
If the workshop doenload doesnt work, they most likely have "cl_downloads 0" or you actually asked me if linked collections also get included in the workshop download ( which are not )
>KB> >KEKSQUAD 2020 年 1 月 12 日 下午 6:31 
Hey so this isn't actually working for players because I had one join and then reconnect a few times and it wasn't giving him the content
[ApDev] Rainbow Dash  [作者] 2020 年 1 月 3 日 上午 8:01 
+|KB| >KEKSQUAD
Yes, Linked collections are not included when you set a collection