Dedicated Server: Difference between revisions
Appearance
Content deleted Content added
Blanked the page Tag: Blanking |
|||
Line 1: | Line 1: | ||
= Setting up a Dedicated Server = |
|||
This guide will walk you through the process of setting up a dedicated server for MARNE. Follow the instructions below step-by-step to ensure proper configuration and functionality of your server. |
|||
== Requirements == |
|||
Before setting up your dedicated server, make sure you have the following prerequisites: |
|||
* '''Hardware Requirements''': A mediocre PC should work just fine. |
|||
* '''Operating System''': Windows 10 or higher. |
|||
* '''Software Dependencies''': |
|||
** VC++ Redistributable ([https://aka.ms/vs/17/release/vc_redist.x64.exe latest version]) |
|||
** [https://github.com/CadeEvs/FrostyToolsuite/releases Frosty Tool Suite] (if you plan on hosting modded servers) |
|||
* '''MARNE Launcher''': Download the latest version from the [https://marne.io official MARNE download page]. |
|||
== Step 1: Downloading and Installing the Server == |
|||
# Make sure Battlefield 1 is installed. |
|||
# Download the latest files from the [https://marne.io official MARNE download page]. |
|||
== Step 2: Configuring the Server == |
|||
Once the game files are in place, you need to configure the server [[Settings]] according to your preferences: |
|||
=== Open the Configuration File === |
|||
* Create a '''ServerSettings.txt''' file inside the games root directory (e. g. C:\Programs (x86)\EA Games\Battlefield 1). |
|||
* Open the file with a text editor such as Notepad, Notepad++ or Visual Studio Code. |
|||
=== Edit Basic [[Settings]] === |
|||
Add or modify the following lines in the configuration file: |
|||
Server.ServerName "My Dedicated Server" |
|||
Server.AdministrationPassword "SuperSecurePassword123" |
|||
Server.ServerPassword "OptionalPassword" |
|||
Network.ServerPort 25200 |
|||
If your server is supposed to be visible inside your LAN only use this setting: |
|||
MARNE.LanMode true |
|||
'''Note:''' Always enclose values with spaces in quotation marks (e.g., `"My Dedicated Server"`). |
|||
=== Save the Configuration === |
|||
After editing the configuration file, save it and close the text editor. |
|||
== Step 3: Starting the Server == |
|||
# Launch '''[[Marne Launcher|MarneLauncher.exe]]'''. |
|||
# Click '''DEDICATED SERVER'''. |
|||
# You should now see a window where you can either connect to an existing instance or start a new one: Click '''START SERVER'''. |
|||
# Check the server console for any error messages. |
|||
# If the startup completes without issues, your server should now be live. |
|||
Alternatively, if you want to use the [https://github.com/CadeEvs/FrostyToolsuite/releases Frosty Mod Manager] to start the server: |
|||
# Open the '''Frosty Mod Manager''' from the Frosty Tool Suite. |
|||
# Select the Battlefield 1 game profile. |
|||
# Ensure that the mods you want are loaded and applied. |
|||
# Click '''Launch''' in Frosty Mod Manager. |
|||
# After launching, check that a new server console window appears—this indicates that the MARNE mod is active. |
|||
== Step 4: Testing and Connecting to the Server == |
|||
# On a secondary PC open up '''[[Marne Launcher|MarneLauncher.exe]]'''. |
|||
# Click '''START MARNE''' and then '''SERVER BROWSER'''. |
|||
# You should be able to find your server in the list. |
|||
# Join the server and ensure everything works as expected. |
|||
== Advanced Settings == |
|||
If you want to customize your server further, consider modifying the following options in the configuration file: |
|||
* '''Enabling/Disabling Specific Weapons:''' |
|||
SyncedBFSettings.EnableShotguns false |
|||
SyncedBFSettings.EnableHandguns true |
|||
* '''Enabling/Disabling Minimap/Name Tags:''' |
|||
SyncedBFSettings.EnableMinimap true |
|||
SyncedBFSettings.EnableNameTag true |
|||
* '''Adjusting Game Mechanics:''' |
|||
SyncedGame.MaxAllowedLatency 150 |
|||
SyncedGame.BulletDamageModifier 1.25 |
|||
* '''Customizing Server Rules:''' |
|||
SyncedBFSettings.OnlySquadLeaderSpawn false |
|||
SyncedBFSettings.DisableCombatSquadSpawn true |
|||
There's more server settings you can change to your liking, you can find an overview [[Settings|here]]. |
|||
== Troubleshooting == |
|||
If you encounter issues during setup or while running the server, check the following common problems: |
|||
=== Port Forwarding === |
|||
* Ensure that the server port (default: 25200) is correctly forwarded in your router settings. |
|||
=== Firewall Settings === |
|||
* Add exceptions for '''bf1.exe''' in your firewall to prevent connection issues. |
|||
=== Server Crashes === |
|||
* Review the logs located in the '''Logs''' folder for any errors or warnings. |
|||
* Make sure all software dependencies are up to date. |
|||
* A crash dump is located next to bf1.exe share it with a developer. |
|||
== Additional Resources == |
|||
For more information on advanced configuration or modding support, check out the following links: |
|||
* [https://marne.io/wiki Official MARNE Documentation] |
|||
* [https://discord.gg/qwwcWKshaC Battlefield 1 Modding Community] |
|||
* [https://discord.gg/5FMtwwQsNu Battlefield (General) Modding Community] |
|||
* [https://marne.io/discord MARNE Community Discord] |
|||
== Feedback and Support == |
|||
If you have any questions or need help, feel free to reach out to the community or check our [[Support Page]]. |