Necesse
Settlement Multiplayer - Anti-Grief
29 коментара
FPVSteezy 3 ноем. в 18:16 
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.  [автор] 3 ноем. в 18:06 
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 3 ноем. в 17:00 
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.  [автор] 3 ноем. в 4:55 
Made a fix on the playermob damage checking.
.dot.  [автор] 3 ноем. в 3:37 
@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 2 ноем. в 22:09 
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.  [автор] 2 ноем. в 10:37 
@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=- 2 ноем. в 0:57 
In the cfg folder i do only have banned.cfg, server.cfg, settings.cfg and the auth file. No mods folder.
-=Kai=- 2 ноем. в 0:55 
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.  [автор] 1 ноем. в 9:05 
@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.  [автор] 1 ноем. в 8:57 
@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=- 1 ноем. в 2:19 
Where can we find that cfg-file on a server?
Grimmrog_SIG 1 ноем. в 1:39 
nice, however people can still enter settlements by following npc's
.dot.  [автор] 31 окт. в 6:05 
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 31 окт. в 4:52 
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 29 окт. в 14:43 
thx you are :synchronous:
.dot.  [автор] 28 окт. в 17:30 
Added 4 options (cfg file) to customize the experience:
allowUsePortals, allowOpenDoors, allowUseLadderDown, allowUseLadderUp
Eddy 28 окт. в 11:06 
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.  [автор] 27 окт. в 17:32 
Updated to 1.0.2.
If you encounter any errors, please post them in the "Discussions" section (2nd tab below the top title).
Ezekiel88 24 окт. в 15:05 
Any can confirm this works with 1.0 still?
Stall 16 окт. в 15:27 
I dont think its working with 1.0 i cant open the game and it says this mod is the problem.
H0nk3y K0ng 15 авг. в 7:53 
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 1 май в 23:23 
ok
.dot.  [автор] 1 май в 5:33 
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 30 апр. в 22:40 
When I try to enter in another settlement of another player in console write this error:

https://pastebin.com/XcKQcib4
softword 30 апр. в 21:47 
Wow so fast Tnx 🥰
.dot.  [автор] 30 апр. в 15:28 
Fixed
softword 30 апр. в 14:35 
[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™ 5 март в 22:51 
recent update broke this