Avorion : ajouter des mods
Aller à la navigation Aller à la recherche
Installation de mods
Les mods peuvent être installés, mais un fichier doit être créé dans votre client FTP pour qu’ils fonctionnent.
- Connectez-vous à votre client FTP et arrêtez le serveur.
- Rendez-vous dans le répertoire /Saves/00000. (le 00000 est une suite de chiffres aléatoire, différente pour chaque serveur.)
- Dans ce répertoire, créez un fichier modconfig.lua.
- Dans le nouveau fichier que vous avez créé, ajoutez ce qui suit et modifiez-le à votre convenance.
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. Enregistrez et renvoyez le fichier via votre client FTP.
- 6. Redémarrez votre serveur.
Vous pouvez héberger votre propre serveur Avorion chez Survival Servers avec installation instantanée.