Barotrauma

Barotrauma

Wiring permissions
18 Comments
Ydrec  [author] 24 May @ 8:44am 
For testing you can run DedicatedServer.exe from your own Barotrauma folder then join that server via directconnect>localhost. Then you can change your own permissions from server console.
Ydrec  [author] 24 May @ 8:42am 
i dont alter locked state of objects. My mod sits in networking methods which catch interaction with electrical stuff and discard network packets as well as drop selected interface for sender of these packets if their client doesnt have necessary permissions. If wire or whatever is locked, then that person can't send wire interaction packet in the first place.

TLDR
Locked wires takes priority over my mod preventing anyone from changing wires. Unlocked wires is what youre supposed to use with this mod. Permissions are done completely serverside and client can not bypass it just because wire is unlocked.
vvhalefccd 24 May @ 5:13am 
not sure why its not working at all when I'm testing it. I've tried it with enable rewiring turned on/off. Maybe I can't rewire because I'm the host and can't change the permissions given to myself? It seems like it defaults my Host permissions to not allow rewiring
vvhalefccd 24 May @ 4:36am 
"This mod does not override "Lock all default wires" or "Allow rewiring" settings in Server Settings > Anti-Griefing. These options would still lock wires if enabled."

So what you're saying is that if you enable "allow rewiring" then everybody can rewire... so that would defeat the purpose of this mod. In that case I'll just turn that option OFF.

Thats what is sounds like you're saying but its hard to be sure. I'll ask straight-up... What EXACTLY did you put in the server settings to make it so only people you want to rewire can rewire.
Soulseeker 23 Apr @ 4:16am 
It has LUA activated and it say ChangeWiring permission not available
Ydrec  [author] 22 Apr @ 10:17am 
Seems to be fine from my tests? Check your server has lua and provide errors if it gives any.
Soulseeker 22 Apr @ 7:01am 
not working anymore?
Ydrec  [author] 24 Mar @ 1:44am 
Like other permissions, default is revoked unless player has "ChangeWiring" or "All" permissions
melelconquistador 23 Mar @ 12:35pm 
Do players have permissions revoked or enabled by default?
Ydrec  [author] 4 Jan @ 7:24pm 
Fixed lots of bugs so probably should work now.
Doridos 4 Jan @ 1:39am 
change wiring in permissions menu not working
Loafy 23 Dec, 2024 @ 8:02pm 
finally there will no be again situation when engie worked with wires
but someone sneakily rewired oxygen without saving
Ydrec  [author] 23 Dec, 2024 @ 11:46am 
ops fixed
Doridos 23 Dec, 2024 @ 8:57am 
it blocks not only wiring
Doridos 23 Dec, 2024 @ 8:56am 
Why taking diving suits and containers is not permitted? My friend cant take a container or diving suit wtf fix pls!!!!
xConscrypt 23 Dec, 2024 @ 6:51am 
holy guacamole
Profligate 22 Dec, 2024 @ 7:23am 
Holy shit
pinkduck 21 Dec, 2024 @ 5:49am 
Finally...

It's crazy this isn't in vanilla.