Necesse

Necesse

Settlement Multiplayer - Anti-Grief
29 Comments
FPVSteezy Nov 3 @ 6:16pm 
appreciate you big time. I'll be testing the mod again tonight or tomorrow night. Probably tomorrow. But if I run into any issues I will hit you up.
.dot.  [author] Nov 3 @ 6:06pm 
I believe it's already fixed with yesterday's patch.
Anyway... there's a possibility it's caused by another mod or a corrupted save file too...
If the problem persists, find me on Discord (same nickname).
FPVSteezy Nov 3 @ 5:00pm 
Private chests, the one with golem in the thumbnail. I can link if needed.

but aside from that, its running on linux, no actions taken it just happens shortly after starting. and the mod config is the one you had in the comment


{
SETTINGS = {
allowPortals = false,
allowOpenDoors = false,
allowLadderDown = true,
allowLadderUp = false,
allowAdminInteract = false,
blockBuildOnSpawnTiles = 0 // Distance required from spawn (in tiles). Disabled by default (value 0)
}
}

I could add you if you'd like to give more details.
.dot.  [author] Nov 3 @ 4:55am 
Made a fix on the playermob damage checking.
.dot.  [author] Nov 3 @ 3:37am 
@FPVSteezy

Please provide more details so I can help you...

is it a dedicated Linux server?
what other mods the server uses besides this one?
what action was taken to cause the error?
what is the mod config?

Please open a new topic in the mod's discussion tab.
FPVSteezy Nov 2 @ 10:09pm 
11/3 1:01:02 AM [Error] [2025-11-03 06:01:02] (ERR) Error in server ticking:Copy
11/3 1:01:02 AM [Error] [2025-11-03 06:01:02] (ERR) java.lang.NullPointerException: Cannot invoke "necesse.entity.mobs.PlayerMob.getServerClient()" because the return value of "necesse.entity.mobs.Attacker.getFirstPlayerOwner()" is null[31m[2025-11-03 06:01:02]

after installing the mod and placing the config this is the error I keep getting and the server crashes. any help?
.dot.  [author] Nov 2 @ 10:37am 
@Kai

In my tests with a dedicated server on Linux (CentOS), the config files only got created automatically when I started a new world without using the "-world" parameter.
Not really sure why but anyway (it's not a mod issue I think)... you can just create the '.cfg' file manually... it'll work fine with an existing world.

The file path in my tests was this one... it might be a bit different for you...
"/home/necesse/.config/Necesse/cfg/mods/settlementmultiplayerfixed.cfg"

Here's the file content in case you want to create it manually:

{
SETTINGS = {
allowPortals = false,
allowOpenDoors = false,
allowLadderDown = true,
allowLadderUp = false,
allowAdminInteract = false,
blockBuildOnSpawnTiles = 0 // Distance required from spawn (in tiles). Disabled by default (value 0)
}
}
-=Kai=- Nov 2 @ 12:57am 
In the cfg folder i do only have banned.cfg, server.cfg, settings.cfg and the auth file. No mods folder.
-=Kai=- Nov 2 @ 12:55am 
There is no config file for me. I am running a bare metal server and managing via Pterodactyl and the path would be home/container/cfg, but there is not mods folder within the cfg folder and no config file.
.dot.  [author] Nov 1 @ 9:05am 
@Kai
The mod cfg file is located in the default cfg/mods folder... I didn't change that.

Try this link if you need more information about dedicated servers.
https://www.necessewiki.com/Multiplayer-Linux
.dot.  [author] Nov 1 @ 8:57am 
@Grimmrog_SIG
It's perfectly possible to implement the code to prevent visitors from entering private settlements, I just didn't find it necessary since all objects are blocked anyway.
-=Kai=- Nov 1 @ 2:19am 
Where can we find that cfg-file on a server?
Grimmrog_SIG Nov 1 @ 1:39am 
nice, however people can still enter settlements by following npc's
.dot.  [author] Oct 31 @ 6:05am 
On most computers the mod's .jar file is located at:
C:\Program Files (x86)\Steam\steamapps\content\1169040\3345910367

On my computer it's slightly different because I use another drive for games:
D:\SteamLibrary\steamapps\workshop\content\1169040\3345910367

However, the base path is the same:
..\steamapps\workshop\content\1169040\3345910367

So, if you’ve already subscribed to the mod, just locate that Steam directory on your system and you'll be able to copy the .jar to your dedicated.

--

I'm not a professional programmer (my background is in database administration), so I don’t usually work with GitHub or follow the same standards that experienced developers do (as I tend to handle things in my own crazy way).
Still, if you're curious about the mod's code, it's just a regular ".jar" file like any other and its contents can be easily viewed in the same way as the Necesse code.
3KyNoX Oct 31 @ 4:52am 
Got a github buddy? Would like to extract your mod (at least be able to identify mod files) from my steam Necesse folder to the server I've made on an Ubuntu box.

Thanks for your work.
Eddy Oct 29 @ 2:43pm 
thx you are :synchronous:
.dot.  [author] Oct 28 @ 5:30pm 
Added 4 options (cfg file) to customize the experience:
allowUsePortals, allowOpenDoors, allowUseLadderDown, allowUseLadderUp
Eddy Oct 28 @ 11:06am 
hey the mod is nice but to too inflexible the config is empty you need something like "can use portal network yes/no" "can use doors yes/no" "can talk to people yes/no"
.dot.  [author] Oct 27 @ 5:32pm 
Updated to 1.0.2.
If you encounter any errors, please post them in the "Discussions" section (2nd tab below the top title).
Ezekiel88 Oct 24 @ 3:05pm 
Any can confirm this works with 1.0 still?
Stall Oct 16 @ 3:27pm 
I dont think its working with 1.0 i cant open the game and it says this mod is the problem.
H0nk3y K0ng Aug 15 @ 7:53am 
i downloaded this for a dedicated server im trying to host and while testing people could break things and open chests even though it was claimed. how do i turn that off?
softword May 1 @ 11:23pm 
ok
.dot.  [author] May 1 @ 5:33am 
I was unable to simulate this error on my computer.

Please open a new topic in the "Discussions" tab, with the following...
- What operating system you are running on...
- If it's dedicated server or not...
- What mods are you running along with this... (maybe it's a conflict with some other mod)

Unfortunately, as I am traveling, I will only be able to fix this bug on Monday.
softword Apr 30 @ 10:40pm 
When I try to enter in another settlement of another player in console write this error:

https://pastebin.com/XcKQcib4
softword Apr 30 @ 9:47pm 
Wow so fast Tnx 🥰
.dot.  [author] Apr 30 @ 3:28pm 
Fixed
softword Apr 30 @ 2:35pm 
[2025-04-30 23:31:10] (ERR) Error loading mod patch class "settlementmultiplayer.patch.TravelingMerchantPatch" from likely outdated mod: Settlement Multiplayer - Fixed (v. 1.5.2)
[2025-04-30 23:31:10] (ERR) Type necesse.entity.mobs.friendly.human.humanShop.TravelingMerchantMob not present
PandaKingZuntow™ Mar 5 @ 10:51pm 
recent update broke this