Workshop force Download

So it has been awhile since I’ve done anything with Garry’s Mod - I remember there was a way to make it so players download addons from workshop via a lua script I just don’t seem to find the syntax of the functions…

You need to make a file in your servers /garrysmod/lua/autorun/server named resource.lua and put in the workshop file id


resource.AddWorkshop("283407721")
resource.AddWorkshop("289996459")

After you do this you need to make sure that the .gma is in your servers addons and that should work