Avorion Adding Mods: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
Line 3: Line 3:
|description=Add Steam Workshop mods to an Avorion server: create modconfig.lua in your server's Saves folder over FTP, list each Workshop ID and start the server.
|description=Add Steam Workshop mods to an Avorion server: create modconfig.lua in your server's Saves folder over FTP, list each Workshop ID and start the server.
}}
}}
==Mod Installation==
==Mod installation==
Mods can be installed, however a file must be created in your FTP client to get them working.
You can add mods, but they only work after you create a mod file on the server over FTP.


# Log into your [[FTP Access|FTP]] client and stop the server.
# Log in to your server with an [[FTP Access|FTP]] program (FileZilla), and stop the server.
# Head into the '''''/Saves/00000''''' directory. (the 00000 will be your server ID, the number after GAME SERVER # on your server's page.)
# Open the '''''/Saves/00000''''' folder. The 00000 is your server ID, the number after GAME SERVER # on the Game Server page.
# Within that directory create a '''''modconfig.lua''''' file.
# In that folder, create a '''''modconfig.lua''''' file.
# Within the new file you created add the following and edit to your liking.
# Add these lines to the new file and edit them to your liking.
<pre>modLocation = "" -- Only needed if you mod location is something besides the default of .../galaxies/avorion/galaxy/mods/
<pre>modLocation = "" -- Only needed if you mod location is something besides the default of .../galaxies/avorion/galaxy/mods/
forceEnabling = false
forceEnabling = false
Line 29: Line 29:
     -- Note there is no comma on the last set of {}
     -- Note there is no comma on the last set of {}
}</pre>
}</pre>
:5. Save and upload back to your FTP client.
:5. Save the file and upload it back to the server.
:6. Start your server back up.
:6. Start your server.


You can [https://www.survivalservers.com/services/game_servers/avorion/ host your own Avorion server] with Survival Servers with instant setup.
[https://www.survivalservers.com/services/game_servers/avorion/ Rent an Avorion server] from Survival Servers with instant setup.

Latest revision as of 08:40, 17 November 2026

Mod installation

You can add mods, but they only work after you create a mod file on the server over FTP.

  1. Log in to your server with an FTP program (FileZilla), and stop the server.
  2. Open the /Saves/00000 folder. The 00000 is your server ID, the number after GAME SERVER # on the Game Server page.
  3. In that folder, create a modconfig.lua file.
  4. Add these lines to the new file and edit them to your liking.
modLocation = "" -- Only needed if you mod location is something besides the default of .../galaxies/avorion/galaxy/mods/
forceEnabling = false

mods = -- Mods installed server-side
{
    {workshopid = "1691539727"}, -- Workshop Mods
    {workshopid = "1691591293"},
    {path = prefix .. "mymod"}, -- Non-workshop mods. prefix should be replaced with the directory containing the mods
    {path = prefix .. "AnotherMod"}
    -- Note there is no comma on the last set of {}
}
allowed = -- List of allowed client-side mods
{
    {id = "1691539727"}, -- Workshop Mods
    {id = "1691591293"},
    {path = prefix .. "mymod"}, -- Non-workshop mods. prefix should be replaced with the directory containing the mods
    {path = prefix .. "AnotherMod"}
    -- Note there is no comma on the last set of {}
}
5. Save the file and upload it back to the server.
6. Start your server.

Rent an Avorion server from Survival Servers with instant setup.