Wiring permissions
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«Wiring permissions» — материал мастерской Barotrauma. Моды, подлодки, предметы и новые задания для экипажа. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Ever wanted to allow rewiring stuff only to trusted people? Thats what this mod allows.
This is Serversided Lua mod which adds per player wiring permissions to Barotrauma. These permissions also get saved and become part of your normal permissions config file.
Clients joining your server don't need to have clientside lua or even have this mod enabled for it to work. This mod does not override enabled "Lock all default wires" or disabled "Allow rewiring" settings in Server Settings > Anti-Griefing. These options would still lock wires and prevent everyone from rewiring.
THE INTENDED CONFIGURATION WITH THIS MOD IS "Allow rewiring" Checked "Lock all default wires" Unchecked
To change client wiring permissions use:
giveperm "PlayerName" ChangeWiring
revokeperm "PlayerName" ChangeWiring
This mod prevents and logs: Adding new Wires and Rewiring Deattaching electrical components Changing properties of electrical components Changing anything inside of a circuit box
Only applies to friendly submarines/outposts, meaning players can still repair beacons or loot wreck electronics without needing permission
Mod provides clientside integration with vanilla interface for the new permission. If you have clientside lua then mod fully mimics how vanilla permissions behave, without clientside you can still use console commands above but new permission would not be visible in any menus. Menus such as manage menu, permissions changed announcement, and tab has a star if player has this permission. These additions are purely visual and mod would still 100% work without clientside lua.
This version of the mod would be visible in server modlist and joining clients would download it.
If you want to host vanilla server without it appearing in modlist you can use Serverside Only Version If you also directly install Lua for Barotrauma you can have Vanilla appearing server in browser with this still enabled.
Soucecode: https://github.com/Ydrec/Baro-wiringpermissions
You are free to do pull requests if you wanna change/fix the mod
Edorsments: Luatrauma Discord: https://discord.gg/f9zvNNuxu9
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.