Avorion: Mods hinzufügen

Aus Survival Servers
Zur Navigation springen Zur Suche springen

Mod-Installation

Mods können installiert werden, allerdings muss in deinem FTP-Client eine Datei erstellt werden, damit sie funktionieren.

  1. Melde dich in deinem FTP-Client an und stoppe den Server.
  2. Wechsle in das Verzeichnis /Saves/00000. (00000 ist eine zufällige Zahlenfolge, die bei jedem Server anders ist.)
  3. Erstelle in diesem Verzeichnis eine Datei modconfig.lua.
  4. Füge in der neu erstellten Datei Folgendes ein und passe es nach Belieben an.
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. Speichern und wieder über deinen FTP-Client hochladen.
6. Starte deinen Server wieder.

Du kannst bei Survival Servers deinen eigenen Avorion Server hosten – sofort einsatzbereit.