Starbound
Ocen: 26
Using Workshop Mods On Servers
Autorstwa: Iminance
Simply dragging mods downloaded from the workshop into the server mods directory does not seem to work as the server doesn't read the contents.pak files. Here's how to get the server to read your subscribed mods.
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Creating a .bat to unpack the mods
Navigate first to the win32 folder within the Starbound folder. In my case it's at C:\Program Files (x86)\Steam\steamapps\common\Starbound\win32. Since this is where the asset_unpacker.exe is located by default, the .bat will refer to this one without the location of the unpacker needing to be specified. Create a new text file here and enter this (make sure you edit this to fit your directories):

asset_unpacker.exe "(directory of mod you are unpacking)" "C:\Program Files (x86)\Steam\steamapps\common\Starbound\mods\(any name you want)"

Replace all of the parenthesized text (except the (x86) of course if that is in your directory) with text that is relevant to the mod you are unpacking!
To find the directory of a mod, click the gear in the bottom left of Starbound's main menu and click on a mod to see its details. Navigate to this location and copy the directory entirely to use in the text above.
Example: C:\Program Files (x86)\Steam\steamapps\workshop\content\211820\729426722\contents.pak

Save this text file as a .bat when you are done.
Unpacking the mods
Double click on your newly created .bat and the mod should now work and be read by your server! Servers started by the starbound_server.exe in the win64 folder read from the mods folder by default, so the unpacked mods should instantly be in the right place.

If you wish to make your .bat unpack multiple mods at once, copy the entire code, hit enter at the very end of the first line, and paste it onto the next line. Change the directory to that of your next mod, and change the name of the folder that will be created.
Komentarzy: 10
Mo¡stDreams 31 lipca 2016 o 23:42 
I have a guide on the discussion thread here you might want to look into it (just credit where its due if you add anything to this guide)

http://steamproxy.com/app/211820/discussions/4/353915309331059503/
The Senate 31 lipca 2016 o 15:55 
its ok, i found out how to do it manually (its a bit tedious, though, but at least it works)
Iminance  [autor] 31 lipca 2016 o 13:42 
I'm not familiar at all with Linux so I don't think I could help, but I'm sure there is some sort of command prompt on Linux that could be used similarly to Windows' cmd.
The Senate 30 lipca 2016 o 19:21 
i have a linux server, how would i use this on it?
BeanSlinger419 30 lipca 2016 o 13:41 
your right iminance other people do need the same mod
Iminance  [autor] 30 lipca 2016 o 13:33 
No, just the server side needs to have the mods unpacked. Other players do need to be subscribed to the same mods on the workshop to use them I believe.
ItsOkDaddysHere 30 lipca 2016 o 7:45 
Do you have to have the assest unpacked on both sides?
BeanSlinger419 27 lipca 2016 o 16:06 
umm if this is not on a server and if you want mods with your buddy you will need each others mods
Lagunae69 27 lipca 2016 o 13:58 
thanks!!
Din0za 24 lipca 2016 o 19:02 
Thank you very much!