Avorion Adding Mods: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
m Add link to the game service page (internal linking sweep)
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
Line 1: Line 1:
{{#seo:
|title=Avorion Server Mods: Add Workshop Mods with modconfig.lua
|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.
Mods can be installed, however a file must be created in your FTP client to get them working.


# Log into your [[FTP Access|FTP]] client and stop the server.
# Log into your [[FTP Access|FTP]] client and stop the server.
# Head into the '''''/Saves/00000''''' directory. (the 00000 will be a random set of numbers different for each server.)
# Head into the '''''/Saves/00000''''' directory. (the 00000 will be your server ID, the number after GAME SERVER # on your server's page.)
# Within that directory create a '''''modconfig.lua''''' file.
# Within that directory create a '''''modconfig.lua''''' file.
# Within the new file you created add the following and edit to your liking.
# Within the new file you created add the following and edit to your liking.
Line 19: Line 23:
allowed = -- List of allowed client-side mods
allowed = -- List of allowed client-side mods
{
{
     {workshopid = "1691539727"}, -- Workshop Mods
     {id = "1691539727"}, -- Workshop Mods
     {workshopid = "1691591293"},
     {id = "1691591293"},
     {path = prefix .. "mymod"}, -- Non-workshop mods. prefix should be replaced with the directory containing the mods
     {path = prefix .. "mymod"}, -- Non-workshop mods. prefix should be replaced with the directory containing the mods
     {path = prefix .. "AnotherMod"}
     {path = prefix .. "AnotherMod"}

Revision as of 21:00, 14 October 2026

Mod Installation

Mods can be installed, however a file must be created in your FTP client to get them working.

  1. Log into your FTP client and stop the server.
  2. Head into the /Saves/00000 directory. (the 00000 will be your server ID, the number after GAME SERVER # on your server's page.)
  3. Within that directory create a modconfig.lua file.
  4. Within the new file you created add the following and edit 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 and upload back to your FTP client.
6. Start your server back up.

You can host your own Avorion server with Survival Servers with instant setup.