How to Add Mods to Your Necesse Server ​
In Necesse, mods are individual .jar files. Your server loads them from a dedicated folder that you fill via SFTP.
Caution
Stop your server before adding, updating or removing mods. Also create a backup first – mods can permanently change your world.
No automatic Workshop download
Your server cannot download mods from the Steam Workshop by itself. You always upload the .jar file of each mod manually.
Mind the start parameter
Necesse only reads the mods folder if the startup command of your server contains the parameter -mod ./mods. After the restart, check in the console whether your mods are listed. If they are missing, we are happy to add the parameter for you free of charge – just open a support ticket.
Obtain the mod file ​
Choose a mod
Look for the mod you want in the Necesse Steam Workshop or on the mod author's page.Get the
.jarfile
You need the plain.jarfile of the mod. If the author does not offer a direct download, subscribe to the mod in the Steam Workshop and start Necesse once – the game then downloads the mod and places the.jarfile in your local mods folder:%appdata%\Necesse\modsCheck the version
Make sure the mod matches the game version of your server. Mods built for a different version can prevent the server from starting.
Upload the mod ​
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Open the mods folder
Change into the following directory:/mods/Note
If the folder does not exist yet, create it in the root directory of your server. The name must be exactly
mods– your server runs on Linux and is case sensitive.Upload the
.jarfile
Upload the.jarfile directly into this folder. Do not create subfolders – the server only reads files that sit directly in the folder.Start the server
Start your server via the dashboard.Check the console
On startup your server lists the detected mods in the console. If your mod appears there, it was loaded.
Important
All mods that are not marked as clientside must be installed on the server and on every player's client in the same version. If such a mod is missing on one side or present in a different version, joining fails. Every player subscribes to the mod in the Steam Workshop and enables it in the game's mod menu. Mods the author marked as clientside can be used on your own – the server does not need them.
Remove mods ​
Stop the server
Stop your server via the dashboard.Delete the file
Delete the corresponding.jarfile from the/mods/folder.Start the server
Start your server again.
Caution
If you remove a mod that added blocks, items or enemies to the world, its content disappears from your world. When in doubt, restore a backup instead of simply deleting the mod.
Mods are not loaded
If your mod does not show up in the console after the restart, first check the spelling and the location of the file: it has to sit directly in /mods/ and end in .jar. If no mod is detected at all, the start parameter -mod ./mods is usually missing – contact us via a support ticket for that.
Note
After a game update, mods can become incompatible and prevent the server from starting. In that case update your mods or temporarily remove them from the /mods/ folder.