Barotrauma

Barotrauma

Not enough ratings
Server Host Helper
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
18.541 KB
16 Aug, 2022 @ 7:41pm
18 Aug, 2022 @ 10:37pm
2 Change Notes ( view )

Subscribe to download
Server Host Helper

Description
Features
  • Adds a hotkey/keybind for the Server Log window, the default hotkey/keybind is the Z key
  • Adds save rollbacks
    • Each time you exit an area the current area gets saved with a different save name.
    • Really helps against griefers, now you're able to rollback to an ungriefed previous save.
  • Adds dynamic addition & removal of bots to fill up max player count
    • Bots get added for each missing player and when a player disconnects.
    • Bots get removed when a player connects.
  • Configuration GUI available for the above features

Setup
LuaCsForBarotrauma is required
You do not need to enable the mod when you've subscribed to it. It will run enabled or disabled for the purpose of Pure Vanilla Setup users not having a mod show up in their modlist.
You'll have to enable LuaCsForBarotrauma to get the bots and save backup features working.

Pure Vanilla Setup
If you want to keep your game as Vanilla, i.e. no mods showing up on your server's modlist on the server list, then you'll need to install LuaCsForBarotrauma from scratch: https://evilfactory.github.io/LuaCsForBarotrauma/lua-docs/manual/installing-lua-for-barotrauma-manually/

You can easily grab the from scratch files
luacsforbarotrauma_patch_windows_client.zip
and
luacsforbarotrauma_patch_windows_server.zip
from here: https://github.com/evilfactory/LuaCsForBarotrauma/releases
and extract to your Barotrauma game folder.

Configuration
Open console via F3 and type
shh
A list of possible hotkeys for the Server Log are available here: https://docs.monogame.net/api/Microsoft.Xna.Framework.Input.Keys.html

Save configuration when done and restart your game.

Save Folder Location
The rollback saves are saved in the same folder as your regular saves, feel free to rename them as needed.
%localappdata%/Daedalic Entertainment GmbH/Barotrauma/Multiplayer

Source Code
https://github.com/Davidj361/ServerHostHelper

Other mods made by me
Captain Navigation Terminal Hotkeys
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2851646527

Big thanks to Evil Factory for helping me.
9 Comments
Thrice 16 Mar, 2023 @ 8:36pm 
This still work in 1.0?
Pastah  [author] 14 Jan, 2023 @ 8:31am 
I didn't test this on a dedicated server. It might possibly work by manually changing the config files.
Noble 13 Jan, 2023 @ 7:39pm 
Will this work for dedicated server?
Pastah  [author] 7 Oct, 2022 @ 4:32pm 
Did you check %localappdata%/Daedalic Entertainment GmbH/Barotrauma/Multiplayer?
Is it a multiplayer game?
VelxraTV 6 Oct, 2022 @ 11:44am 
I dont see the save files?
ReiTheTrap 3 Oct, 2022 @ 10:02am 
doesnt work for me
Pastah  [author] 28 Sep, 2022 @ 7:38am 
Thanks dude!
VelxraTV 27 Sep, 2022 @ 4:49am 
epic mod here
Pastah  [author] 18 Aug, 2022 @ 10:37pm 
Fixed a bug regarding _CharacterData.xml not being correct, should be working now!