
#BAROTRAUMA PORT FORWARD GUIDE MODS#
Note that the content package should be saved with the file name "filelist.xml" in the Mods folder, in this case "Mods/BestModEver/filelist.xml". The random events have also been changed - perhaps by adding a new event that spawns Cthulhu and removing the events that spawn monsters/items which aren't included in the mod. It would also use a modified version of the human characters and have all the monsters in the game replaced with Crawlers and Cthulhus. This content package would replace all the items in the game with whatever items are configured in the "Mods/BestModEver/items.xml" file.

See the "Content types" section for more info on which types of content cause compatibility issues. However, this does not apply to all types of content: for example, the clients can use mods that modify the UI or sounds without causing incompatibility with servers. When playing in multiplayer mode, the players generally need to have the same mods installed as the server, or they will be unable to join. You cannot use the vanilla content package, because modifying the vanilla content package would make your game incompatible with the other players. If you use the built-in character editor for creating a new character, you will have to select or create a content package for it. Note that if you just want to publish a custom submarine in the workshop, you don't need to worry about content packages – you can just select the submarine from the "Publish item" tab in the Workshop menu, and the game automatically creates a folder and content package for your mod. Please see the “XML” section later in this guide for further details. If you have no prior experience with the XML format, don’t worry – even though it may look intimidating at first, the format is pretty simple. The content packages are in a format called XML, as almost all other moddable content in Barotrauma. Any other content package can be considered a modification of the game content, that is, a "mod". By default the game uses a content package called “Vanilla 0.9”, which you can find in Content/Data/ContentPackages/Vanilla 0.9.xml. This includes items, structures, monsters, random events, level generation parameters, jobs and so on. With " Name" only a name for this new " Rule" must be entered, this can be freely selected.Content packages are essentially files that tell the game which content files to use and where they are located. In the " Profile" you can now select whether this rule should only be active for certain networks or for all networks.

Now you can choose whether the server should allow, allow only under certain conditions or block the connection with the port. With this new rule, the " Port" is selected as the " Rule type" and confirmed with " Next >ĭepending on the application " TCP" or " UDP" must now be selected.Īs soon as you have found out and selected which of the two is to be used for the desired application, you must now enter the port which is to be forwarded under " Determined local ports:". The port forwarding for the " Outgoing Rule" works the same way as for the " Incoming Rule", so in this example we only show the port forwarding for the " Incoming Rule".Īs soon as the " Inbound Rule" or " Outbound Rule" is selected in the firewall administration, a " New Rule" must be created for it.
