How to Setup Workshop-based FastDL

To setup FastDL all we need to do is make a Lua File, To do so go to your File Manager and Navigate to garrysmod/lua/autorun/server and click “New File”

and name the new file workshop.lua

Now click the pencil to edit

and add the following code

resource.AddWorkshop("ADDONID")

 

You will need to add this line of code for every Addon that you want the end-user to download.

To get your AddonID just copy the link of the Addon and grab the numbers after id=

So if my Addon link is http://steamcommunity.com/sharedfiles/filedetails/?id=99999999 my AddonID would be 99999999.

Now save your workshop.lua, Restart your server and then users will auto-download the Addons you put in your workshop.lua

  • garrysmod, fastdl
  • 5 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

How to Add a Workshop Collection to Your Server

First we’ll start by grabbing your WorkshopID, Your collection id is the numbers after the id= in...