Avorion Adding Mods

From Survival Servers
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 a random set of numbers different for each server.)
  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
{
    {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 {}
}
5. Save and upload back to your FTP client.
6. Start your server back up.