Avorion Adding Mods: Difference between revisions
Jump to navigation
Jump to search
[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 | {{#seo: | ||
|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 | # Log in to your server with an [[FTP Access|FTP]] program (FileZilla), and stop the server. | ||
# | # Open the '''''/Saves/00000''''' folder. The 00000 is your server ID, the number after GAME SERVER # on the Game Server page. | ||
# | # In that folder, create a '''''modconfig.lua''''' file. | ||
# | # 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 | ||
{ | { | ||
{ | {id = "1691539727"}, -- Workshop Mods | ||
{ | {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 | :5. Save the file and upload it back to the server. | ||
:6. Start your server | :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.
- Log in to your server with an FTP program (FileZilla), and stop the server.
- Open the /Saves/00000 folder. The 00000 is your server ID, the number after GAME SERVER # on the Game Server page.
- In that folder, create a modconfig.lua file.
- 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.