Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I'm having the same issue currently. Running a linux server and have the modconfig.lua file in the desired galaxy's folder, but every time i launch the server it says it find 0 mods in the modconfig file and I have checked the workshop folder which is empty.
Below is my current modconfig.lua
Any help in resolving this would be much appreciative.
modLocation = "" forceEnabling = false
local prefix = "/home/koonschi/.avorion/mods/" mods ={
{workshopid = "1819394387"},
{workshopid = "1751636748"},
{workshopid = "1751540023"},
{workshopid = "1819394387"},
{workshopid = "1822252441"},
{workshopid = "1819452708"},
{workshopid = "1722652757"},
{workshopid = "1765619430"},
}
Nope you should not have to the workshop folder gets made on its own when the server downloads the mods for you :) all u have to do is copy and paste what i gave you there and replace the mods ids with what u want in the modconfig.lua <----(like that no caps or anything) andit should be good to go up above is exactly how i have it on my server :).
No problem dude glad u got it working, happy gaming :)
how did you get it to work?
.. exchange **username** to what ever your Windows username is.
.. exchange **savegame** to what ever your savegame/galaxy name is.
Go to the following folder:
"C:\Users\**username**\AppData\Roaming\Avorion\galaxies\**savegame**\"
There you will find a "mods" folder.
Create a new file in your galaxies folder:
"modconfig.lua"
Copy/paste this into the new file:
There are two options:
1) server is using local stored mods
2) server is downloading / using Steam workshop mods
Using local mods is what you see above. Inside mods={} you have to enlist the used mods. Path means that you tell the server where to find the mods. The "prefix" behind "path =" means that the server has to use the "local prefix" from line 6.
To say it clear:
{path = prefix .. "mods/1793763687"},
.. is the same as:
"C:/Users/**username**/AppData/Roaming/Avorion/galaxies/**savegame**/mods/1793763687"
.. but with "prefix" the devs give us the ability to clean up our config file.
IMPORTANT: Windows is using \ to separate folders. This is unknown in unix / linux systems. So you have to exchange all \ from your galaxy- and mods-path to /.
This means, the following addres:
"C:\Users\**username**\AppData\Roaming\Avorion\galaxies\**savegame**\mods\1793763687"
.. will become:
"C:/Users/**username**/AppData/Roaming/Avorion/galaxies/**savegame**/mods/1793763687"
To get this working.. you need the mods! Go to Steam workshop and download your mods. My mods are:
1793763687 = Independent Turrets Full Damage
181651♥♥♥♥ = All Turrets Independent
Go to your Steam workshop folder
"Steam\SteamApps\workshop\content\445220\"
.. and copy the mod-folders to the above galaxy\mods folder:
"C:\Users\**username**\AppData\Roaming\Avorion\galaxies\**savegame**\mods\
Adjust the config file.. so that you have one path/prefix-line for each of your mods inside mods={}.
That's all. Start server. Connect to your server. The client should download / use these mods.
If you want option 2) using the Steam workshop.. then you have to write another config file:
You don't need the prefix and no path.
Let the "" at modLocation empty! This means the server will automatically download and store all needed mods from Steam workshop inside this folder:
"C:\Users\**username**\AppData\Roaming\Avorion\galaxies\**savegame**\workshop\"
You maybe need to create the "workshop"-folder inside your savegame/galaxy-folder. You also can use any other location. Then you need to add the path to modLocation. But don't forget about the / and \ inside the path.
IMPORTANT: If you also start your server manually by server.bat file.. then the server cannot connect to Steam. In this case it also cannot use / download Steam workshop mods. This means: You have to download and store the mods manually and add the path with prefix in the config! Otherwise the client will report wrong mod version number 0.0 and disconnect from your server instantly.