Avorion Adding Mods: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
StevenW (talk | contribs)
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Mod Installation==
{{#seo:
Mods can be installed, however a file must be created in your FTP client to get them working.
|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==
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 a random set of numbers different for each server.)
# 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 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"}
     -- 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.
 
[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.