[B]Hi there[/B], I'm setting up a DarkRP server and I've a few questions, but first I need to you know that:
I'm new at this
I've a collection and the authkey
I appreciate any kind of your helping
I want to edit, mainly translate, all addons that I got
I'm willing to set up the whole server into WorkshopDL
I have researched these topics below, but didn't found anything usefull or I didn't manage to understand it
[B][I]Where we go[/I][/B]
[B]1)[/B] What is the purpose of using '+host_workshop_collection'?
also which kind of addons I should put in my collection?
[IMG]https://i.gyazo.com/d41408150512b38d74046197f5b23e71.png[/IMG]
[B]2)[/B] When using WorkshopDL it is guaranteed that users will get all addons, assuming that all addons needed are set as WorkshopDL, when connecting to my server?
so I don't hear that "I'm seeing red errors" bullshit;
[I]thanks![/I]
1a) To have auto updating workshop addons on your server
1b) The addons you want to appear on your server
2) Yes, unless the player has disabled downloads, assuming you actually set up the workshopDL addons correctly. +host_workshop_collection is NOT "WorkshopDL", it is solely to get workshop addons onto your server with auto updating. WorkshopDL is where you manually create a Lua script that makes addons to be forced downloaded by clients. Some addons do this for you, but it is rare.
Also make a workshop.lua in C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun , put in side this.
[lua]
if (SERVER) then
resource.AddWorkshop( "340180450" ) --Addon workshop id - for FasDL
end
[/lua]
[QUOTE=Robotboy655;50708817]1a) To have auto updating workshop addons on your server
1b) The addons you want to appear on your server
2) Yes, unless the player has disabled downloads, assuming you actually set up the workshopDL addons correctly. +host_workshop_collection is NOT "WorkshopDL", it is solely to get workshop addons onto your server with auto updating. WorkshopDL is where you manually create a Lua script that makes addons to be forced downloaded by clients. Some addons do this for you, but it is rare.[/QUOTE]
many thanks! [I]sorry for taking too long[/I]
[B]3)[/B] so I've to do this with all addons: add to the collection; put in my server's /addons folder, and set it's line (resource.AddWorkshop( "x" )) in \garrysmod\lua\autorun\server\workshop.lua, right?
[B]4)[/B] also it is normal to have the same addon in .gma and extracted in my /addons folder?
[IMG]https://i.gyazo.com/73674cb62f85a0f28172c4e38091bffa.png[/IMG]
[QUOTE=blueangel512;50708868]Also make a workshop.lua in C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun , put in side this.
[lua]
if (SERVER) then
resource.AddWorkshop( "340180450" ) --Addon workshop id - for FasDL
end
[/lua][/QUOTE]
[I]thank you blueangel[/I] :D
[B]5)[/B] I'm running a dedicated server, so it's \garrysmod\lua\autorun\server\workshop.lua, yes?
[b]6)[/b] also² how can I make a server content? like this one
[IMG]https://i.gyazo.com/116536562203a8c247e4d04c48a21998.png[/IMG]
sorry for that many questions, I wanna make sure that I'm doing it rightly
[I]thanks![/I]
up? :/
afaik, you don't need the .gma in your servers addons folder, just the extracted addon folder.
To create a content pack like the one you asked about, you just create a collection of addons in the steam workshop. And in your start.bat add +host_workshop_collection WORKSHOPID also you're going to need a steam authkey. Just go [URL="https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey"]here[/URL] to get one.
By the way your collection ID is in the link of the collection. It just says id=123123123.
As for the domain name, just by watching a tutorial you're supposed to put steamidfinder.com into the "Domain Name" text box
[QUOTE=Thane;50720058]afaik, you don't need the .gma in your servers addons folder, just the extracted addon folder.
To create a content pack like the one you asked about, you just create a collection of addons in the steam workshop. And in your start.bat add +host_workshop_collection WORKSHOPID also you're going to need a steam authkey. Just go [URL="https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey"]here[/URL] to get one.
By the way your collection ID is in the link of the collection. It just says id=123123123.
As for the domain name, just by watching a tutorial you're supposed to put steamidfinder.com into the "Domain Name" text box[/QUOTE]
.gma addons load faster.
As for content packs, I'd highly advice [b]against[/b] creating them to avoid infringing any copy rights, just force people to download the original addons.
[QUOTE=Thane;50720058]afaik, you don't need the .gma in your servers addons folder, just the extracted addon folder.
To create a content pack like the one you asked about, you just create a collection of addons in the steam workshop. And in your start.bat add +host_workshop_collection WORKSHOPID also you're going to need a steam authkey. Just go [URL="https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey"]here[/URL] to get one.
By the way your collection ID is in the link of the collection. It just says id=123123123.
As for the domain name, just by watching a tutorial you're supposed to put steamidfinder.com into the "Domain Name" text box[/QUOTE]
[I]thanks for helpin', Thane :D[/I]
[B]ok[/B] I don't need .gma in my server's /addons, but '+host_workshop_collection' keep downloading them (the addons in my collection) in .gma format to my /addons folder :/
as I said, I've a collection and the authkey; my start.bat =
[IMG]https://i.gyazo.com/a55b2f44121887da07f19a353a4d0773.png[/IMG]
[QUOTE=Robotboy655;50720074].gma addons load faster.
As for content packs, I'd highly advice [b]against[/b] creating them to avoid infringing any copy rights, just force people to download the original addons.[/QUOTE]
[B]ok[/B] I'll not create any content pack, but why '+host_workshop_collection' keep downloading them (the addons in my collection) in .gma format to my /addons folder?
[I]thanks again![/I]
anyone? :/
Workshop addons are in .gma format. Deal with it. Such addons are not meant to be (easily) edited and will load faster, especially when there are a lot of them. They are aimed for ease of use, you press a button, it downloads and installs for you.
[QUOTE=Stevensky;50710751]many thanks! [I]sorry for taking too long[/I]
[B]3)[/B] so I've to do this with all addons: add to the collection; put in my server's /addons folder, and set it's line (resource.AddWorkshop( "x" )) in \garrysmod\lua\autorun\server\workshop.lua, right?
[B]4)[/B] also it is normal to have the same addon in .gma and extracted in my /addons folder?
[IMG]https://i.gyazo.com/73674cb62f85a0f28172c4e38091bffa.png[/IMG]
[I]thank you blueangel[/I] :D
[B]5)[/B] I'm running a dedicated server, so it's \garrysmod\lua\autorun\server\workshop.lua, yes?
[b]6)[/b] also² how can I make a server content? like this one
[IMG]https://i.gyazo.com/116536562203a8c247e4d04c48a21998.png[/IMG]
sorry for that many questions, I wanna make sure that I'm doing it rightly
[I]thanks![/I][/QUOTE]
put it on the garrysmod\lua\autorun and it will work :)
Sorry, you need to Log In to post a reply to this thread.