Añadir mods en Avorion

De Survival Servers
Ir a la navegación Ir a la búsqueda

Instalación de mods

Se pueden instalar mods, pero para que funcionen hay que crear un archivo desde tu cliente FTP.

  1. Inicia sesión en tu cliente FTP y detén el servidor.
  2. Entra en el directorio /Saves/00000. (El 00000 será un conjunto aleatorio de números distinto para cada servidor.)
  3. Dentro de ese directorio, crea un archivo modconfig.lua.
  4. Dentro del nuevo archivo que creaste, añade lo siguiente y edítalo a tu gusto.
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. Guarda y vuelve a subirlo con tu cliente FTP.
6. Vuelve a iniciar tu servidor.

Puedes alojar tu propio servidor de Avorion con Survival Servers con configuración instantánea.