<UserControl x:Class="ServerManagerTool.ServerSettingsControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:mts="clr-namespace:Microsoft.Win32.TaskScheduler;assembly=Microsoft.Win32.TaskScheduler"
             xmlns:cctl="clr-namespace:ServerManagerTool.Common.Controls;assembly=ServerManager.Common"
             xmlns:cc="clr-namespace:ServerManagerTool.Common.Converters;assembly=ServerManager.Common"
             xmlns:clib="clr-namespace:ServerManagerTool.Common.Lib;assembly=ServerManager.Common"
             xmlns:cvr="clr-namespace:ServerManagerTool.Common.ValidationRules;assembly=ServerManager.Common"
             xmlns:com="clr-namespace:ServerManagerTool.Common;assembly=ServerManager.Common"
             xmlns:enum="clr-namespace:ServerManagerTool.Enums"
             xmlns:cenum="clr-namespace:ServerManagerTool.Enums;assembly=ArkServerManager.Common"
             xmlns:vm="clr-namespace:ServerManagerTool.Lib.ViewModel"
             xmlns:sys="clr-namespace:System;assembly=mscorlib"
             mc:Ignorable="d"
             d:DesignWidth="900"
             FocusManager.FocusedElement="{Binding ElementName=ProfileNameTextBox}"
             x:Name="SettingsControl">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="..\Globalization\en-US\en-US.xaml"/>
                <ResourceDictionary Source="..\Styles\Default.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <vm:DinoLevelIndexToDisplayLevelConverter x:Key="DinoLevelIndexToDisplayLevelConverter" />
            <vm:ExtinctionEventDateConverter x:Key="ExtinctionEventDateConverter"/>
            <vm:ExtinctionEventTimeIntervalConverter x:Key="ExtinctionEventTimeIntervalConverter"/>
            <vm:OfficialDifficultyValueConverter x:Key="OfficialDifficultyValueConverter" />
            <vm:PlayerLevelIndexToDisplayLevelConverter x:Key="PlayerLevelIndexToDisplayLevelConverter" />
            <vm:ResourceNameValueConverter x:Key="ResourceNameValueConverter" />
            <vm:TributeExpirationConverter x:Key="TributeExpirationConverter"/>

            <ObjectDataProvider x:Key="NPCSpawnContainerTypes" MethodName="GetValues" ObjectType="{x:Type sys:Enum}">
                <ObjectDataProvider.MethodParameters>
                    <x:Type TypeName="enum:NPCSpawnContainerType" />
                </ObjectDataProvider.MethodParameters>
            </ObjectDataProvider>

            <CollectionViewSource x:Key="DinosViewSource" Source="{Binding Settings.DinoSettings, ElementName=SettingsControl}" Filter="DinoMod_OnFilter" />
            <CollectionViewSource x:Key="EngramsViewSource" Source="{Binding Settings.EngramSettings, ElementName=SettingsControl}" Filter="EngramMod_OnFilter" />
            <CollectionViewSource x:Key="ResourcesViewSource" Source="{Binding Settings.HarvestResourceItemAmountClassMultipliers, ElementName=SettingsControl}" Filter="ResourceMod_OnFilter" />

            <ControlTemplate x:Key="ExpanderTemplateSE" TargetType="{x:Type Expander}">
                <Border BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" SnapsToDevicePixels="true" Padding="1" Margin="0,0,0,3" BorderBrush="Black">
                    <DockPanel Background="#FFEAE7E0">
                        <ToggleButton x:Name="HeaderSite" ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" Content="{TemplateBinding Header}" DockPanel.Dock="Top" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding FontWeight}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Margin="4,4,1,4" MinWidth="0" MinHeight="0" Padding="{TemplateBinding Padding}" Style="{StaticResource ExpanderDownHeaderStyle}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        <ContentPresenter x:Name="ExpandSite" DockPanel.Dock="Bottom" Focusable="false" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="10,0,0,0"/>
                    </DockPanel>
                </Border>
                <ControlTemplate.Triggers>
                    <Trigger Property="IsExpanded" Value="true">
                        <Setter Property="Visibility" TargetName="ExpandSite" Value="Visible"/>
                    </Trigger>
                    <Trigger Property="IsExpanded" Value="false">
                        <Setter Property="Visibility" TargetName="ExpandSite" Value="Collapsed"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Right">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Up">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Left">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="IsEnabled" Value="false">
                        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>
            <ControlTemplate x:Key="ExpanderTemplateSotF" TargetType="{x:Type Expander}">
                <Border BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" SnapsToDevicePixels="true" Padding="1" Margin="0,0,0,3" BorderBrush="Black">
                    <DockPanel Background="#FFEAE0E0">
                        <ToggleButton x:Name="HeaderSite" ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" Content="{TemplateBinding Header}" DockPanel.Dock="Top" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding FontWeight}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Margin="4,4,1,4" MinWidth="0" MinHeight="0" Padding="{TemplateBinding Padding}" Style="{StaticResource ExpanderDownHeaderStyle}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        <ContentPresenter x:Name="ExpandSite" DockPanel.Dock="Bottom" Focusable="false" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="10,0,0,0"/>
                    </DockPanel>
                </Border>
                <ControlTemplate.Triggers>
                    <Trigger Property="IsExpanded" Value="true">
                        <Setter Property="Visibility" TargetName="ExpandSite" Value="Visible"/>
                    </Trigger>
                    <Trigger Property="IsExpanded" Value="false">
                        <Setter Property="Visibility" TargetName="ExpandSite" Value="Collapsed"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Right">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Up">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Left">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="IsEnabled" Value="false">
                        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>
            <ControlTemplate x:Key="ExpanderTemplatePGM" TargetType="{x:Type Expander}">
                <Border BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" SnapsToDevicePixels="true" Padding="1" Margin="0,0,0,3" BorderBrush="Black">
                    <DockPanel Background="#E8E0EA">
                        <ToggleButton x:Name="HeaderSite" ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" Content="{TemplateBinding Header}" DockPanel.Dock="Top" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding FontWeight}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Margin="4,4,1,4" MinWidth="0" MinHeight="0" Padding="{TemplateBinding Padding}" Style="{StaticResource ExpanderDownHeaderStyle}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        <ContentPresenter x:Name="ExpandSite" DockPanel.Dock="Bottom" Focusable="false" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="10,0,0,0"/>
                    </DockPanel>
                </Border>
                <ControlTemplate.Triggers>
                    <Trigger Property="IsExpanded" Value="true">
                        <Setter Property="Visibility" TargetName="ExpandSite" Value="Visible"/>
                    </Trigger>
                    <Trigger Property="IsExpanded" Value="false">
                        <Setter Property="Visibility" TargetName="ExpandSite" Value="Collapsed"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Right">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Up">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="ExpandDirection" Value="Left">
                        <Setter Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left"/>
                        <Setter Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right"/>
                        <Setter Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}"/>
                    </Trigger>
                    <Trigger Property="IsEnabled" Value="false">
                        <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>

            <DataTemplate x:Key="PlayerLevelItemTemplate">
                <Border BorderBrush="Black" BorderThickness="1" Background="Beige">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="30"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="100"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="100"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                        </Grid.RowDefinitions>

                        <Button Grid.Column="0" Grid.Row="0" Width="22" Height="22" Click="RemovePlayerLevel_Click" Margin="2" >
                            <Image Margin="5,0,5,0" Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                        </Button>
                        <Label Grid.Column="1" Grid.Row="0" Content="{Binding LevelIndex, Converter={StaticResource PlayerLevelIndexToDisplayLevelConverter}, StringFormat=Level: {0}}" FontSize="15" FontWeight="Bold" VerticalAlignment="Center"/>
                        <Label Grid.Column="2" Grid.Row="0" Content="XP Required:" VerticalAlignment="Center"/>
                        <TextBox Grid.Column="3" Grid.Row="0" Text="{Binding XPRequired}" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
                        <Label Grid.Column="4" Grid.Row="0" Content="Engram Points:" VerticalAlignment="Center"/>
                        <TextBox Grid.Column="5" Grid.Row="0" Text="{Binding EngramPoints}" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
                    </Grid>
                </Border>
            </DataTemplate>
            <DataTemplate x:Key="DinoLevelItemTemplate">
                <Border BorderBrush="Black" BorderThickness="1" Background="Beige">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="30"/>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="100"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <Button Grid.Column="0" Grid.Row="0" Width="22" Height="22" Click="RemovePlayerLevel_Click" Margin="2" >
                            <Image Margin="5,0,5,0" Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                        </Button>
                        <Label Grid.Column="1" Grid.Row="0" Content="{Binding LevelIndex, Converter={StaticResource DinoLevelIndexToDisplayLevelConverter}, StringFormat=Level: {0}}" FontSize="15" FontWeight="Bold" VerticalAlignment="Center"/>
                        <Label Grid.Column="2" Grid.Row="0" Content="XP Required:" VerticalAlignment="Center"/>
                        <TextBox Grid.Column="3" Grid.Row="0" Text="{Binding XPRequired}" VerticalContentAlignment="Center" VerticalAlignment="Center"/>
                    </Grid>
                </Border>
            </DataTemplate>
        </ResourceDictionary>
    </UserControl.Resources>

    <Grid Background="{DynamicResource BeigeGradient}">
        <DockPanel x:Name="dockPanel">
            <Border DockPanel.Dock="Top" Margin="3" Padding="2" Style="{StaticResource BorderDarkStyle}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="36"/>
                        <RowDefinition Height="36"/>
                        <RowDefinition Height="36"/>
                        <RowDefinition Height="36"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="Auto" MinWidth="60"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>

                    <StackPanel Grid.Row="0" Grid.Column="0" DataContext="{Binding Profile}" Orientation="Horizontal" >
                        <Label Margin="2,0,0,0" VerticalAlignment="Center" Content="{DynamicResource ServerSettings_ProfileIdLabel}" ToolTip="{DynamicResource ServerSettings_ProfileIdTooltip}"/>
                        <Label VerticalAlignment="Center" Content="{Binding ProfileID}" ToolTip="{DynamicResource ServerSettings_ProfileIdTooltip}"/>
                    </StackPanel>
                    <Button Grid.Row="0" Grid.Column="1" Margin="2" Click="SettingFind_Click" Content="{StaticResource SettingFindButtonContent}" ToolTip="{DynamicResource ServerSettings_SettingFindButtonTooltip}"/>
                    <Button Grid.Row="0" Grid.Column="2" Grid.ColumnSpan="2" Margin="2" Click="CreateSupportZip_Click" Content="{StaticResource SupportZipButtonContent}" ToolTip="{DynamicResource ServerSettings_SupportZipButtonTooltip}"/>
                    <Button Grid.Row="0" Grid.Column="4" Margin="2" Click="SyncProfile_Click" Content="{StaticResource SyncProfileButtonContent}" ToolTip="{DynamicResource ServerSettings_SyncProfileButtonTooltip}"/>

                    <DockPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Margin="2" DataContext="{Binding Profile}" VerticalAlignment="Center" >
                        <Label DockPanel.Dock="Left" FontSize="15" Content="{DynamicResource ServerSettings_ProfileLabel}" ToolTip="{Binding ProfileToolTip}"/>
                        <TextBox x:Name="ProfileNameTextBox" VerticalContentAlignment="Center" SourceUpdated="ProfileName_SourceUpdated">
                            <Validation.ErrorTemplate>
                                <ControlTemplate>
                                    <StackPanel>
                                        <AdornedElementPlaceholder x:Name="textBox"/>
                                        <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                    </StackPanel>
                                </ControlTemplate>
                            </Validation.ErrorTemplate>
                            <TextBox.Text>
                                <Binding Path="ProfileName" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" NotifyOnSourceUpdated="True">
                                    <Binding.ValidationRules>
                                        <cvr:ProfileNameValidationRule ValidatesOnTargetUpdated="true" />
                                    </Binding.ValidationRules>
                                </Binding>
                            </TextBox.Text>
                        </TextBox>
                    </DockPanel>
                    <Button Grid.Row="1" Grid.Column="3" Margin="2" Content="{StaticResource ImportButtonContent}" ToolTip="{DynamicResource ServerSettings_ImportButtonTooltip}" Click="Load_Click" />
                    <Button Grid.Row="1" Grid.Column="4" Margin="2" Content="{StaticResource SaveButtonContent}" ToolTip="{DynamicResource ServerSettings_SaveButtonTooltip}" Command="{Binding SaveCommand, ElementName=SettingsControl}" CommandParameter="{Binding}" />

                    <Border Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Margin="2" DataContext="{Binding Profile}" Style="{StaticResource BorderFillLightStyle}">
                        <Grid VerticalAlignment="Center">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="1*"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="1*"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <Label  Grid.Column="0" FontSize="15" Content="{DynamicResource ServerSettings_InstalledVersionLabel}" ToolTip="{DynamicResource ServerSettings_InstalledVersionTooltip}"/>
                            <Label  Grid.Column="1" FontSize="15" Content="{Binding LastInstalledVersion, Converter={StaticResource InstalledVersionConverter}}" ToolTip="{DynamicResource ServerSettings_InstalledVersionTooltip}"/>
                            <Button Grid.Column="2" Click="PatchNotes_Click" ToolTip="{DynamicResource ServerSettings_PatchNotesTooltip}" Style="{StaticResource ButtonStyle1}">
                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Website.ico,Size=32}"/>
                            </Button>

                            <StackPanel Grid.Column="4" DataContext="{Binding Runtime, ElementName=SettingsControl}" Orientation="Horizontal" VerticalAlignment="Center">
                                <StackPanel.Style>
                                    <Style TargetType="{x:Type StackPanel}">
                                        <Setter Property="Visibility" Value="Visible"/>
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding TotalModCount}" Value="0">
                                                <Setter Property="Visibility" Value="Collapsed"/>
                                            </DataTrigger>
                                            <DataTrigger Binding="{Binding DisplayModInformation, ElementName=SettingsControl}" Value="False">
                                                <Setter Property="Visibility" Value="Collapsed"/>
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </StackPanel.Style>

                                <Label  FontSize="15" Content="{DynamicResource ServerSettings_OutOfDateModsLabel}" ToolTip="{DynamicResource ServerSettings_OutOfDateModsTooltip}"/>
                                <Label  FontSize="15" Content="{Binding OutOfDateModCount, FallbackValue=0}">
                                    <Label.Style>
                                        <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                            <Setter Property="Foreground" Value="Black"/>
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding OutOfDateModCount, FallbackValue=0, Converter={cc:GreaterThanIntValueConverter 0}}" Value="true">
                                                    <Setter Property="Foreground" Value="Red"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </Label.Style>
                                </Label>
                                <Button Grid.Column="2" Click="OutOfDateModUpdate_Click" ToolTip="{DynamicResource ServerSettings_OutOfDateModsButtonTooltip}" Style="{StaticResource ButtonStyle1}">
                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                </Button>
                            </StackPanel>

                            <Button Grid.Column="6" Click="ValidateProfile_Click" ToolTip="{DynamicResource ServerSettings_ValidateProfileTooltip}" Style="{StaticResource ButtonStyle1}">
                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Validate.ico,Size=32}"/>
                            </Button>
                            <Button Grid.Column="8" Click="OpenLogFolder_Click" ToolTip="{DynamicResource ServerSettings_OpenLogFolderTooltip}" Style="{StaticResource ButtonStyle1}">
                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Logs.ico,Size=32}"/>
                            </Button>
                        </Grid>
                    </Border>
                    <Button Grid.Row="2" Grid.Column="3" Grid.ColumnSpan="2" Margin="2" DataContext="{Binding Runtime}" Click="Upgrade_Click">
                        <Button.Style>
                            <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_UpgradeButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                        <Setter Property="Content" Value="{StaticResource UpgradeButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                        <Setter Property="Content" Value="{StaticResource InstallButtonContent}"/>
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_InstallButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </Button.Style>
                    </Button>

                    <Border Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Margin="2" DataContext="{Binding Profile}" ToolTip="{DynamicResource ServerSettings_InstallLocationTooltip}" Style="{StaticResource BorderFillLightStyle}">
                        <Grid VerticalAlignment="Center" >
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="1*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <Label Grid.Column="0" FontSize="15" Content="{DynamicResource ServerSettings_InstallLocationLabel}"/>
                            <TextBlock Grid.Column="1" FontSize="15" Text="{Binding InstallDirectory}" VerticalAlignment="Center"/>
                            <Button Grid.Column="2" Click="OpenServerFolder_Click" ToolTip="{DynamicResource ServerSettings_OpenServerFolderTooltip}" Style="{StaticResource ButtonStyle1}">
                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderOpen.ico,Size=32}"/>
                            </Button>
                        </Grid>
                    </Border>
                    <Button Grid.Row="3" Grid.Column="3" Grid.ColumnSpan="2" Margin="2" Content="{StaticResource LocationButtonContent}" DataContext="{Binding Runtime}" Click="SelectInstallDirectory_Click">
                        <Button.Style>
                            <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_SetLocationButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_SetLocationButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </Button.Style>
                    </Button>

                    <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" DataContext="{Binding Runtime}" >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>

                        <Border Grid.Column="0" Margin="2" ToolTip="{Binding ProfileLastStarted, ElementName=SettingsControl}" Style="{DynamicResource BorderFillLightStyle}">
                            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                                <Label FontSize="15" Content="{DynamicResource ServerSettings_StatusLabel}"/>
                                <Label FontSize="15" Content="{Binding StatusString}" MinWidth="100"/>
                            </StackPanel>
                        </Border>
                        <Border Grid.Column="1" Margin="2" Style="{DynamicResource BorderFillLightStyle}">
                            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                                <Label FontSize="15" Content="{DynamicResource ServerSettings_AvailabilityLabel}"/>
                                <Label FontSize="15" MinWidth="100">
                                    <Label.Style>
                                        <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding Availability}" Value="{x:Static enum:AvailabilityStatus.Unknown}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_Availability_Unknown}"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Availability}" Value="{x:Static enum:AvailabilityStatus.SetPublicIP}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_Availability_SetPublicIP}"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Availability}" Value="{x:Static enum:AvailabilityStatus.Unavailable}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_Availability_Unavailable}"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Availability}" Value="{x:Static enum:AvailabilityStatus.Waiting}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_Availability_Waiting}"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Availability}" Value="{x:Static enum:AvailabilityStatus.Available}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_Availability_Available}"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </Label.Style>
                                </Label>
                            </StackPanel>
                        </Border>
                        <Border Grid.Column="2" Margin="2" ToolTip="{DynamicResource ServerSettings_PlayersTooltip}" Style="{DynamicResource BorderFillLightStyle}">
                            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                                <Label FontSize="15" Content="{DynamicResource ServerSettings_PlayersLabel}"/>
                                <Label FontSize="15" Content="{Binding Players}"/>
                                <Label FontSize="15" Content="/" MinWidth="20"/>
                                <Label FontSize="15" Content="{Binding MaxPlayers}"/>
                            </StackPanel>
                        </Border>
                    </Grid>
                    <Button Grid.Row="4" Grid.Column="3" Margin="2" DataContext="{Binding Runtime}" Click="Start_Click">
                        <Button.Style>
                            <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                        <Setter Property="Content" Value="{StaticResource StopButtonContent}"/>
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_StopButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                        <Setter Property="Content" Value="{StaticResource StopButtonContent}"/>
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_StopButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                        <Setter Property="Content" Value="{StaticResource StopButtonContent}"/>
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_StopButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                        <Setter Property="Content" Value="{StaticResource StopButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                        <Setter Property="Content" Value="{StaticResource StartButtonContent}"/>
                                        <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_StartButtonTooltip}" />
                                        <Setter Property="IsEnabled" Value="True"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                        <Setter Property="Content" Value="{StaticResource StartButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                        <Setter Property="Content" Value="{StaticResource StartButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                    <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                        <Setter Property="Content" Value="{StaticResource StartButtonContent}"/>
                                        <Setter Property="IsEnabled" Value="False"/>
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </Button.Style>
                    </Button>
                    <Button Grid.Row="4" Grid.Column="4" Margin="2" DataContext="{Binding Profile}" Content="{StaticResource OpenRCONButtonContent}" ToolTip="{DynamicResource ServerSettings_RCONButtonTooltip}" Click="OpenRCON_Click">
                        <Button.Style>
                            <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                <Setter Property="Visibility" Value="Visible"/>
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding RCONEnabled}" Value="False">
                                        <Setter Property="Visibility" Value="Collapsed"/>
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </Button.Style>
                    </Button>
                    <Button Grid.Row="4" Grid.Column="4" Margin="2" DataContext="{Binding Profile}" Content="{StaticResource PlayerListButtonContent}" ToolTip="{DynamicResource ServerSettings_PlayerListButtonTooltip}" Click="OpenPlayerList_Click">
                        <Button.Style>
                            <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                <Setter Property="Visibility" Value="Visible"/>
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding RCONEnabled}" Value="True">
                                        <Setter Property="Visibility" Value="Collapsed"/>
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </Button.Style>
                    </Button>
                </Grid>
            </Border>

            <Border DockPanel.Dock="Top" Margin="3" Padding="0">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FFECE1D4"/>
                        <GradientStop Color="#FFEAE8E6" Offset="1"/>
                    </LinearGradientBrush>
                </Border.Background>
                <ScrollViewer DataContext="{Binding Profile}" VerticalScrollBarVisibility="Visible">
                    <StackPanel CanVerticallyScroll="True" ScrollViewer.VerticalScrollBarVisibility="Auto">

                        <Expander Name="SectionAdministration" IsExpanded="{Binding Config.SectionAdministrationIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_AdministrationSectionLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionAdministration, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.AdministrationSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="3*"/>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="3*"/>
                                    <ColumnDefinition Width="Auto"/>
                                    <ColumnDefinition Width="3*"/>
                                </Grid.ColumnDefinitions>

                                <GroupBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_NameAndPasswordsLabel}" Style="{StaticResource GroupBoxStyle}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                        </Grid.ColumnDefinitions>

                                        <Label   Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_ServerNameLabel}" ToolTip="{DynamicResource ServerSettings_ServerNameTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" Margin="1" Text="{Binding ServerName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" ToolTip="{DynamicResource ServerSettings_ServerNameTooltip}" VerticalContentAlignment="Center" SourceUpdated="ServerName_SourceUpdated" />
                                        <StackPanel Grid.Row="0" Grid.Column="4" Orientation="Horizontal">
                                            <Label  Content="{DynamicResource ServerSettings_ServerNameLengthLabel}" VerticalAlignment="Center">
                                                <Label.Style>
                                                    <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding ServerNameLengthToLong, FallbackValue=False}" Value="true">
                                                                <Setter Property="Foreground" Value="Red"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Label.Style>
                                            </Label>
                                            <Label  Content="{Binding ServerNameLength, FallbackValue=0}" VerticalAlignment="Center">
                                                <Label.Style>
                                                    <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding ServerNameLengthToLong, FallbackValue=False}" Value="true">
                                                                <Setter Property="Foreground" Value="Red"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Label.Style>
                                            </Label>
                                        </StackPanel>

                                        <Label   Grid.Row="1" Grid.Column="0" Content="{DynamicResource ServerSettings_ServerPasswordLabel}" ToolTip="{DynamicResource ServerSettings_ServerPasswordTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="1" Grid.Column="1" Name="HideServerPasswordTextBox" Text="{DynamicResource ServerSettings_HidePasswordText}"  ToolTip="{DynamicResource ServerSettings_HidePasswordTooltip}" GotFocus="HiddenField_GotFocus" Margin="1" Style="{StaticResource HiddenTextBoxStyle}"/>
                                        <TextBox Grid.Row="1" Grid.Column="1" Name="ServerPasswordTextBox" Text="{Binding ServerPassword}" ToolTip="{DynamicResource ServerSettings_ServerPasswordTooltip}" LostFocus="HiddenField_LostFocus" VerticalContentAlignment="Center" Visibility="Collapsed" Margin="1"/>

                                        <Label   Grid.Row="1" Grid.Column="2" Content="{DynamicResource ServerSettings_AdminPasswordLabel}" ToolTip="{DynamicResource ServerSettings_AdminPasswordTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="1" Grid.Column="3" Name="HideAdminPasswordTextBox" Text="{DynamicResource ServerSettings_HidePasswordText}" ToolTip="{DynamicResource ServerSettings_HidePasswordTooltip}" GotFocus="HiddenField_GotFocus" Margin="1" Style="{StaticResource HiddenTextBoxStyle}"/>
                                        <TextBox Grid.Row="1" Grid.Column="3" Name="AdminPasswordTextBox" Text="{Binding AdminPassword}" ToolTip="{DynamicResource ServerSettings_AdminPasswordTooltip}" LostFocus="HiddenField_LostFocus" VerticalContentAlignment="Center" Visibility="Collapsed" Margin="1"/>

                                        <Label   Grid.Row="1" Grid.Column="4" Content="{DynamicResource ServerSettings_SpectatorPasswordLabel}" ToolTip="{DynamicResource ServerSettings_SpectatorPasswordTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="1" Grid.Column="5" Name="HideSpectatorPasswordTextBox" Text="{DynamicResource ServerSettings_HidePasswordText}" ToolTip="{DynamicResource ServerSettings_HidePasswordTooltip}" GotFocus="HiddenField_GotFocus" Margin="1" Style="{StaticResource HiddenTextBoxStyle}"/>
                                        <TextBox Grid.Row="1" Grid.Column="5" Name="SpectatorPasswordTextBox" Text="{Binding SpectatorPassword}" ToolTip="{DynamicResource ServerSettings_SpectatorPasswordTooltip}" LostFocus="HiddenField_LostFocus" VerticalContentAlignment="Center" Visibility="Collapsed" Margin="1"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_NetworkingLabel}" Style="{StaticResource GroupBoxStyle}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                        </Grid.ColumnDefinitions>

                                        <DockPanel Grid.Row="0" Grid.Column="0">
                                        </DockPanel>
                                        <Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_LocalIPLabel}" ToolTip="{DynamicResource ServerSettings_LocalIPTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <ComboBox  Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" ItemsSource="{Binding ElementName=SettingsControl, Path=NetworkInterfaces}" SelectedValue="{Binding ServerIP}" SelectedValuePath="IPAddress" ToolTip="{DynamicResource ServerSettings_LocalIPTooltip}" Margin="1" PreviewMouseWheel="ComboBox_PreviewMouseWheel">
                                            <ComboBox.ItemTemplate>
                                                <DataTemplate>
                                                    <StackPanel Orientation="Horizontal">
                                                        <Label Content="{Binding IPAddress}"/>
                                                        <Label Content="{Binding Description}"/>
                                                    </StackPanel>
                                                </DataTemplate>
                                            </ComboBox.ItemTemplate>
                                        </ComboBox>
                                        <Button Grid.Row="0" Grid.Column="3" Width="22" Height="22" Margin="1" HorizontalAlignment="Left" Click="RefreshLocalIPs_Click" ToolTip="{DynamicResource ServerSettings_RefreshLocalIPTooltip}" Style="{StaticResource ButtonStyle1}">
                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                        </Button>

                                        <Label   Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" Content="{DynamicResource ServerSettings_ServerPortLabel}" ToolTip="{DynamicResource ServerSettings_ServerPortTooltip}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="1" Grid.Column="1" Margin="1" Width="100" VerticalContentAlignment="Center" HorizontalAlignment="Left" Text="{Binding ServerPort, Mode=TwoWay, Converter={cc:IntRangeValueConverter 1, 65535}, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" SourceUpdated="ServerPort_SourceUpdated" ToolTip="{DynamicResource ServerSettings_ServerPortTooltip}"/>

                                        <Label   Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" Content="{DynamicResource ServerSettings_ServerPeerPortLabel}" ToolTip="{DynamicResource ServerSettings_ServerPeerPortTooltip}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="1" Grid.Column="3" Margin="1" Width="100" VerticalContentAlignment="Center" HorizontalAlignment="Left" Text="{Binding ServerPeerPort}" ToolTip="{DynamicResource ServerSettings_ServerPeerPortTooltip}" IsEnabled="False"/>

                                        <Label   Grid.Row="1" Grid.Column="4" VerticalAlignment="Center" Content="{DynamicResource ServerSettings_QueryPortLabel}" ToolTip="{DynamicResource ServerSettings_QueryPortTooltip}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="1" Grid.Column="5" Margin="1" Width="100" VerticalContentAlignment="Center" HorizontalAlignment="Left" Text="{Binding QueryPort, Converter={cc:IntRangeValueConverter 1, 65535}}" ToolTip="{DynamicResource ServerSettings_QueryPortTooltip}"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="6" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <cctl:CheckBoxAndTextBlock IsChecked="{Binding RCONEnabled, Mode=TwoWay}" Text="{DynamicResource ServerSettings_RCONEnabledLabel}" ToolTip="{DynamicResource ServerSettings_RCONEnabledTooltip}"/>
                                    </GroupBox.Header>

                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                        </Grid.ColumnDefinitions>

                                        <Label    Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_RCONPortLabel}" ToolTip="{DynamicResource ServerSettings_RCONPortTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox  Grid.Row="0" Grid.Column="1" Margin="1,1,0,1" Text="{Binding RCONPort}" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_RCONPortTooltip}" IsEnabled="{Binding RCONEnabled}" Width="100" HorizontalAlignment="Left"/>

                                        <Label    Grid.Row="0" Grid.Column="2" Margin="20,0,0,0" Content="{DynamicResource ServerSettings_RCONLogBufferLabel}" ToolTip="{DynamicResource ServerSettings_RCONLogBufferTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox  Grid.Row="0" Grid.Column="3" Margin="1,1,0,1" Text="{Binding RCONServerGameLogBuffer}" ToolTip="{DynamicResource ServerSettings_RCONLogBufferTooltip}" IsEnabled="{Binding RCONEnabled}" VerticalContentAlignment="Center" Width="100" HorizontalAlignment="Left"/>

                                        <Button   Grid.Row="0" Grid.Column="5" Margin="1" Content="{StaticResource ResetRCONButtonContent}" ToolTip="{DynamicResource ServerSettings_RCONResetTooltip}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.RCONWindowExtents}" HorizontalAlignment="Right"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_MapsAndModsLabel}" Style="{StaticResource GroupBoxStyle}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="180"/>
                                            <ColumnDefinition Width="150"/>
                                            <ColumnDefinition Width="150"/>
                                            <ColumnDefinition Width="30"/>
                                            <ColumnDefinition Width="30"/>
                                            <ColumnDefinition Width="30"/>
                                            <ColumnDefinition Width="100*"/>
                                            <ColumnDefinition Width="30"/>
                                            <ColumnDefinition Width="30"/>
                                        </Grid.ColumnDefinitions>

                                        <Label   Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_MapPathLabel}" ToolTip="{DynamicResource ServerSettings_MapPathTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <ComboBox Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="6" Margin="1" Name="GameMapComboBox" ItemsSource="{Binding BaseGameMaps, ElementName=SettingsControl}" SelectedValue="{Binding ServerMap, Mode=TwoWay, UpdateSourceTrigger=Explicit}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" IsEditable="True" ToolTip="{DynamicResource ServerSettings_MapPathTooltip}" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel">
                                            <ComboBox.Style>
                                                <Style BasedOn="{StaticResource {x:Type ComboBox}}" TargetType="{x:Type ComboBox}">
                                                    <Setter Property="IsEnabled" Value="True"/>
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding PGM_Enabled}" Value="True">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </ComboBox.Style>
                                        </ComboBox>
                                        <Button Grid.Row="0" Grid.Column="7" Grid.ColumnSpan="2" Margin="5,1,0,0" DataContext="{Binding Runtime, ElementName=SettingsControl}" Click="ResetServer_Click">
                                            <Button.Style>
                                                <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_ResetServerButtonLabel}"/>
                                                    <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_ResetServerButtonTooltip}" />
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Button.Style>
                                        </Button>

                                        <Label   Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Content="{DynamicResource ServerSettings_TotalConversionLabel}" ToolTip="{DynamicResource ServerSettings_TotalConversionTooltip}" VerticalAlignment="Center" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <ComboBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Margin="1" Name="TotalConversionComboBox" ItemsSource="{Binding BaseTotalConversions, ElementName=SettingsControl}" SelectedValue="{Binding TotalConversionModId, Mode=TwoWay, UpdateSourceTrigger=Explicit}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" IsEditable="True" ToolTip="{DynamicResource ServerSettings_TotalConversionTooltip}" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                        <Button  Grid.Row="1" Grid.Column="3" Width="22" Height="22" Margin="5,1,0,0" ToolTip="{DynamicResource ServerSettings_FindTotalConversionMapNameTooltip}" HorizontalAlignment="Left" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.MapNameTotalConversionProperty}">
                                            <Button.Style>
                                                <Style BasedOn="{StaticResource ButtonStyle1}" TargetType="{x:Type Button}">
                                                    <Setter Property="Visibility" Value="Visible"/>
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                                            <Setter Property="Visibility" Value="Hidden"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding DisplayModInformation, ElementName=SettingsControl}" Value="False">
                                                            <Setter Property="Visibility" Value="Hidden"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Button.Style>
                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Find.ico,Size=32}"/>
                                        </Button>

                                        <Label   Grid.Row="2" Grid.Column="0" Content="{DynamicResource ServerSettings_ModIdsLabel}" Grid.ColumnSpan="2" ToolTip="{DynamicResource ServerSettings_ModIdsTooltip}" VerticalAlignment="Center"/>
                                        <TextBox Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="6" Margin="1" ToolTip="{DynamicResource ServerSettings_ModIdsTooltip}">
                                            <Validation.ErrorTemplate>
                                                <ControlTemplate>
                                                    <StackPanel>
                                                        <AdornedElementPlaceholder x:Name="textBox"/>
                                                        <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                                    </StackPanel>
                                                </ControlTemplate>
                                            </Validation.ErrorTemplate>
                                            <TextBox.Text>
                                                <Binding Path="ServerModIds">
                                                    <Binding.ValidationRules>
                                                        <cvr:IdListValidationRule ValidatesOnTargetUpdated="true" />
                                                    </Binding.ValidationRules>
                                                </Binding>
                                            </TextBox.Text>
                                        </TextBox>
                                        <Button  Grid.Row="2" Grid.Column="7" ToolTip="{DynamicResource ServerSettings_ModDetailsTooltip}" Click="OpenModDetails_Click">
                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Find.ico,Size=32}"/>
                                            <Button.Style>
                                                <Style BasedOn="{StaticResource ButtonStyle1}" TargetType="{x:Type Button}">
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding DisplayModInformation, ElementName=SettingsControl}" Value="False">
                                                            <Setter Property="Visibility" Value="Hidden"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Button.Style>
                                        </Button>
                                        <Button  Grid.Row="2" Grid.Column="8" DataContext="{Binding Runtime, ElementName=SettingsControl}" ToolTip="{DynamicResource ServerSettings_ModUpgradeTooltip}" Click="ModUpgrade_Click">
                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Download.ico,Size=32}"/>
                                            <Button.Style>
                                                <Style BasedOn="{StaticResource ButtonStyle1}" TargetType="{x:Type Button}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Button.Style>
                                        </Button>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_SavesLabel}" Style="{StaticResource GroupBoxStyle}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="Auto"/>
                                            <ColumnDefinition Width="Auto"/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_AutoSavesPeriodLabel}" Value="{Binding AutoSavePeriodMinutes}" Suffix="{DynamicResource ServerSettings_AutoSavesPeriodUnits}" VerticalAlignment="Center" Minimum="1" Maximum="720" LargeChange="10" SmallChange="1" TickFrequency="10" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_AutoSavesPeriodTooltip}"/>
                                        <Button Grid.Row="0" Grid.Column="1" Margin="10,2,2,2" Padding="5,2,5,2" Content="{DynamicResource ServerSettings_SaveBackupButtonLabel}" ToolTip="{DynamicResource ServerSettings_SaveBackupButtonTooltip}" Click="SaveBackup_Click"/>
                                        <Button Grid.Row="0" Grid.Column="2" Margin="10,2,2,2" Padding="5,2,5,2" DataContext="{Binding Runtime, ElementName=SettingsControl}" Click="SaveRestore_Click">
                                            <Button.Style>
                                                <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                                    <Setter Property="Content" Value="{DynamicResource ServerSettings_SaveRestoreButtonLabel}"/>
                                                    <Setter Property="ToolTip" Value="{DynamicResource ServerSettings_SaveRestoreButtonTooltip}" />
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Button.Style>
                                        </Button>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_MOTDLabel}" Style="{StaticResource GroupBoxStyle}" Foreground="{DynamicResource UnSyncedSetting}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="{Binding Config.MOTDHeight, ElementName=SettingsControl, FallbackValue=100, Mode=TwoWay}" MinHeight="100"/>
                                            <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="Auto"/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition />
                                        </Grid.ColumnDefinitions>

                                        <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal">
                                            <Label  Content="{DynamicResource ServerSettings_MOTDLineCountLabel}" VerticalAlignment="Center">
                                                <Label.Style>
                                                    <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding MOTDLineCountToLong, FallbackValue=False}" Value="true">
                                                                <Setter Property="Foreground" Value="Red"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Label.Style>
                                            </Label>
                                            <Label  Content="{Binding MOTDLineCount, FallbackValue=0}" VerticalAlignment="Center">
                                                <Label.Style>
                                                    <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding MOTDLineCountToLong, FallbackValue=False}" Value="true">
                                                                <Setter Property="Foreground" Value="Red"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Label.Style>
                                            </Label>
                                        </StackPanel>

                                        <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal">
                                            <Label  Content="{DynamicResource ServerSettings_MOTDLengthLabel}" VerticalAlignment="Center">
                                                <Label.Style>
                                                    <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding MOTDLengthToLong, FallbackValue=False}" Value="true">
                                                                <Setter Property="Foreground" Value="Red"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Label.Style>
                                            </Label>
                                            <Label  Content="{Binding MOTDLength, FallbackValue=0}" VerticalAlignment="Center">
                                                <Label.Style>
                                                    <Style BasedOn="{StaticResource {x:Type Label}}" TargetType="{x:Type Label}">
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding MOTDLengthToLong, FallbackValue=False}" Value="true">
                                                                <Setter Property="Foreground" Value="Red"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Label.Style>
                                            </Label>
                                        </StackPanel>

                                        <TextBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Text="{Binding MOTD, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" ToolTip="{DynamicResource ServerSettings_MOTDTooltip}" AcceptsReturn="True" TextWrapping="Wrap" MaxLength="4096" SpellCheck.IsEnabled="True" VerticalScrollBarVisibility="Auto" SourceUpdated="MOTD_SourceUpdated"/>

                                        <GridSplitter Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>

                                        <Label Grid.Row="3" Grid.Column="0" Margin="1" Content="{DynamicResource ServerSettings_MOTDDurationLabel}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Margin="1" Value="{Binding MOTDDuration}" Suffix="{DynamicResource ServerSettings_MOTDDurationUnits}" Minimum="1" Maximum="30" TickFrequency="5" SmallChange="1" LargeChange="5" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_MOTDDurationTooltip}" />

                                        <Label Grid.Row="4" Grid.Column="0" Margin="1" Content="{DynamicResource ServerSettings_MOTDIntervalEnabledLabel}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Margin="-2,1,1,1" Value="{Binding MOTDInterval}" Suffix="{DynamicResource ServerSettings_MOTDIntervalUnits}" Minimum="10" Maximum="1440" TickFrequency="60" SmallChange="10" LargeChange="60" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_MOTDIntervalTooltip}" />
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="6" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <cctl:CheckBoxAndTextBlock HorizontalAlignment="Left" IsChecked="{Binding EnableExtinctionEvent, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableExtinctionEventLabel}" ToolTip="{DynamicResource ServerSettings_EnableExtinctionEventTooltip}" />
                                    </GroupBox.Header>

                                    <Grid Margin="1" IsEnabled="{Binding EnableExtinctionEvent}">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="Auto"/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:AnnotatedSlider Grid.Column="0" Label="{DynamicResource ServerSettings_ExtinctionEventTimeIntervalLabel}" Value="{Binding ExtinctionEventTimeInterval, Converter={StaticResource ExtinctionEventTimeIntervalConverter}}" Suffix="{DynamicResource SliderUnits_Days}" Minimum="1" Maximum="1000" SmallChange="1" LargeChange="5" TickFrequency="5" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_ExtinctionEventTimeIntervalTooltip}" />
                                        <Label                 Grid.Column="1" Content="{Binding ExtinctionEventUTC, Converter={StaticResource ExtinctionEventDateConverter}}" ToolTip="{DynamicResource ServerSettings_ExtinctionEventUTCTooltip}" VerticalAlignment="Center"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="6" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_ServerOptionsLabel}"/>
                                            <Button Margin="20,0,0,0" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.ServerOptions}" ToolTip="{DynamicResource ServerSettings_ResetServerOptionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="1*"/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="0" Margin="20,1,5,1" Grid.ColumnSpan="2" Label="{DynamicResource ServerSettings_MaxPlayersLabel}" Value="{Binding MaxPlayers}" ToolTip="{DynamicResource ServerSettings_MaxPlayersTooltip}" VerticalAlignment="Center" Minimum="1" Maximum="250" LargeChange="25" SmallChange="10" TickFrequency="50" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="0"/>
                                        <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="0" Grid.Column="2" Margin="20,1,5,1" Grid.ColumnSpan="2" Label="{DynamicResource ServerSettings_EnableIdleTimeoutLabel}" Suffix="{DynamicResource ServerSettings_IdleTimeoutUnits}" Value="{Binding KickIdlePlayersPeriod}" ToolTip="{DynamicResource ServerSettings_IdleTimeoutTooltip}" Minimum="60" Maximum="7200" VerticalAlignment="Center" LargeChange="300" SmallChange="60" TickFrequency="300" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto"/>
                                        
                                        <DockPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4" HorizontalAlignment="Stretch">
                                            <cctl:CheckBoxAndTextBlock DockPanel.Dock="Left" Margin="5" VerticalAlignment="Center" IsChecked="{Binding EnableBanListURL, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseBanListLabel}" ToolTip="{DynamicResource ServerSettings_UseBanListTooltip}"/>
                                            
                                            <Button  DockPanel.Dock="Right" ToolTip="{DynamicResource ServerSettings_ResetBanlistTooltip}" Style="{StaticResource ButtonStyle1}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.BanListProperty}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                            </Button>

                                            <TextBox DockPanel.Dock="Left" Margin="1" Text="{Binding BanListURL}" ToolTip="{DynamicResource ServerSettings_BanListTooltip}" IsEnabled="{Binding EnableBanListURL}"/>
                                        </DockPanel>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding DisableValveAntiCheatSystem, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableVACLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableVACTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding UseBattlEye, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseBattlEyeLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseBattlEyeTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="4" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding DisablePlayerMovePhysicsOptimization, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisablePMVOptimizationLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisablePMVOptimizationTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="5" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding OutputServerLog, Mode=TwoWay}" Text="{DynamicResource ServerSettings_OutputServerLogLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_OutputServerLogTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="6" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding UseAllAvailableCores, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseAllAvailableCoresLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseAllAvailableCoresTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="7" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding UseCache, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseCacheLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseCacheTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="8" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding UseNoHangDetection, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseNoHangDetectionLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseNoHangDetectionTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="9" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding NoDinos, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoDinosLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoDinosTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="10" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding NoUnderMeshChecking, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoUnderMeshCheckingLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoUnderMeshCheckingTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="11" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding NoUnderMeshKilling, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoUnderMeshKillingLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoUnderMeshKillingTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="12" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding UseVivox, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseVivoxLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseVivoxTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="13" Grid.Column="0" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding AllowSharedConnections, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowSharedConnectionsLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowSharedConnectionsTooltip}"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="14" Grid.Column="0" Grid.ColumnSpan="4" Margin="5,5,5,0" IsChecked="{Binding ForceRespawnDinos, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ForceRespawnDinosLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ForceRespawnDinosTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="15" Grid.Column="0" Grid.ColumnSpan="4" Margin="5,5,5,0" IsChecked="{Binding EnableServerAutoForceRespawnWildDinosInterval, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableServerAutoForceRespawnWildDinosIntervalLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableServerAutoForceRespawnWildDinosIntervalTooltip}"/>

                                        <cctl:AnnotatedSlider Grid.Row="16" Grid.Column="0" Grid.ColumnSpan="4" Margin="20,1,5,1" Label="{DynamicResource ServerSettings_ServerAutoForceRespawnWildDinosIntervalLabel}" Value="{Binding ServerAutoForceRespawnWildDinosInterval, Converter={StaticResource SecondsToHoursConverter}}" Suffix="{DynamicResource SliderUnits_Hours}" Minimum="1" Maximum="720" SmallChange="1" LargeChange="24" TickFrequency="24" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_ServerAutoForceRespawnWildDinosIntervalTooltip}" IsEnabled="{Binding EnableServerAutoForceRespawnWildDinosInterval, FallbackValue=False}"/>

                                        <Label Grid.Row="17" Grid.Column="0" Margin="20,0,5,0" Grid.ColumnSpan="2" Content="{DynamicResource ServerSettings_AltSaveDirectoryNameLabel}" ToolTip="{DynamicResource ServerSettings_AltSaveDirectoryNameTooltip}" VerticalAlignment="Center" MinWidth="200" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox Grid.Row="17" Grid.Column="2" Margin="1,1,0,1" VerticalContentAlignment="Center" HorizontalAlignment="Stretch" ToolTip="{DynamicResource ServerSettings_AltSaveDirectoryNameTooltip}">
                                            <Validation.ErrorTemplate>
                                                <ControlTemplate>
                                                    <StackPanel>
                                                        <AdornedElementPlaceholder x:Name="textBox"/>
                                                        <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                                    </StackPanel>
                                                </ControlTemplate>
                                            </Validation.ErrorTemplate>
                                            <TextBox.Text>
                                                <Binding Path="AltSaveDirectoryName">
                                                    <Binding.ValidationRules>
                                                        <cvr:StringNoSpacesValidationRule ValidatesOnTargetUpdated="true" />
                                                    </Binding.ValidationRules>
                                                </Binding>
                                            </TextBox.Text>
                                        </TextBox>
                                        <Label Grid.Row="17" Grid.Column="3" Content="{DynamicResource ServerSettings_AltSaveDirectoryNameLabel2}" ToolTip="{DynamicResource ServerSettings_AltSaveDirectoryNameTooltip}" VerticalAlignment="Center"/>

                                        <Label Grid.Row="18" Grid.Column="0" Margin="20,0,5,0" Grid.ColumnSpan="2" Content="{DynamicResource ServerSettings_CrossArkClusterIdLabel}" ToolTip="{DynamicResource ServerSettings_CrossArkClusterIdTooltip}" VerticalAlignment="Center" MinWidth="200"/>
                                        <TextBox Grid.Row="18" Grid.Column="2" Margin="1,1,0,1" VerticalContentAlignment="Center" HorizontalAlignment="Stretch" Text="{Binding CrossArkClusterId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" ToolTip="{DynamicResource ServerSettings_CrossArkClusterIdTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="18" Grid.Column="3" Margin="5,1,0,0" IsEnabled="{Binding CrossArkClusterId, Converter={StaticResource HasStringValueConverter}, FallbackValue=false}" IsChecked="{Binding ClusterDirOverride, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ClusterDirOverrideLabel}" ToolTip="{DynamicResource ServerSettings_ClusterDirOverrideTooltip}" VerticalAlignment="Center" HorizontalAlignment="Left" UseLayoutRounding="False"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding DisableAntiSpeedHackDetection, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableAntiSpeedHackLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableAntiSpeedHackTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="2" Margin="20,1,5,1" Grid.ColumnSpan="2" Label="{DynamicResource ServerSettings_AntiSpeedHackBiasLabel}" Value="{Binding SpeedHackBias}" Suffix="{DynamicResource ServerSettings_AntiSpeedHackBiasUnits}" Minimum="0.0" Maximum="1.0" SmallChange="0.1" LargeChange="0.25" TickFrequency="60" LabelRelativeWidth="Auto" SliderRelativeWidth="15*" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_AntiSpeedHackBiasTooltip}" />
                                        <cctl:CheckBoxAndTextBlock Grid.Row="4" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding ForceDirectX10, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ForceDirectX10Label}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ForceDirectX10Tooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="5" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding ForceShaderModel4, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ForceShaderModel4Label}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ForceShaderModel4Tooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="6" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding ForceLowMemory, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ForceLowMemoryLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ForceLowMemoryTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="7" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding ForceNoManSky, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ForceNoManSkyLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ForceNoManSkyTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="8" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding UseNoMemoryBias, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseNoMemoryBiasLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseNoMemoryBiasTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="9" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding StasisKeepControllers, Mode=TwoWay}" Text="{DynamicResource ServerSettings_StasisKeepControllersLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_StasisKeepControllersTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="10" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding ServerAllowAnsel, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ServerAllowAnselLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ServerAllowAnselTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="11" Grid.Column="2" Margin="5,5,5,0" Grid.ColumnSpan="2" IsChecked="{Binding StructureMemoryOptimizations, Mode=TwoWay}" Text="{DynamicResource ServerSettings_StructureMemoryOptimizationsLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_StructureMemoryOptimizationsTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="12" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding Crossplay, Mode=TwoWay}" Text="{DynamicResource ServerSettings_CrossplayLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_CrossplayTooltip}">
                                            <cctl:CheckBoxAndTextBlock.Style>
                                                <Style TargetType="{x:Type cctl:CheckBoxAndTextBlock}">
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Null}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Running}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Updating}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                            <Setter Property="IsEnabled" Value="true"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </cctl:CheckBoxAndTextBlock.Style>
                                        </cctl:CheckBoxAndTextBlock>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="12" Grid.Column="3" Margin="5,5,5,0" IsChecked="{Binding EnablePublicIPForEpic, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnablePublicIPForEpicLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnablePublicIPForEpicTooltip}">
                                            <cctl:CheckBoxAndTextBlock.Style>
                                                <Style TargetType="{x:Type cctl:CheckBoxAndTextBlock}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Null}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Running}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Updating}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <MultiDataTrigger>
                                                            <MultiDataTrigger.Conditions>
                                                                <Condition Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}"/>
                                                                <Condition Binding="{Binding Crossplay}" Value="true"/>
                                                            </MultiDataTrigger.Conditions>
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </MultiDataTrigger>
                                                        <MultiDataTrigger>
                                                            <MultiDataTrigger.Conditions>
                                                                <Condition Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}"/>
                                                                <Condition Binding="{Binding Crossplay}" Value="true"/>
                                                            </MultiDataTrigger.Conditions>
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </MultiDataTrigger>
                                                        <MultiDataTrigger>
                                                            <MultiDataTrigger.Conditions>
                                                                <Condition Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}"/>
                                                                <Condition Binding="{Binding EpicOnly}" Value="true"/>
                                                            </MultiDataTrigger.Conditions>
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </MultiDataTrigger>
                                                        <MultiDataTrigger>
                                                            <MultiDataTrigger.Conditions>
                                                                <Condition Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}"/>
                                                                <Condition Binding="{Binding EpicOnly}" Value="true"/>
                                                            </MultiDataTrigger.Conditions>
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </MultiDataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </cctl:CheckBoxAndTextBlock.Style>
                                        </cctl:CheckBoxAndTextBlock>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="13" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding EpicOnly, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EpicOnlyLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EpicOnlyTooltip}">
                                            <cctl:CheckBoxAndTextBlock.Style>
                                                <Style TargetType="{x:Type cctl:CheckBoxAndTextBlock}">
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Null}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Running}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Updating}">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                            <Setter Property="IsEnabled" Value="true"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </cctl:CheckBoxAndTextBlock.Style>
                                        </cctl:CheckBoxAndTextBlock>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="6" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_ServerLogOptionsLabel}"/>
                                            <Button Margin="20,0,0,0" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.ServerOptions}" ToolTip="{DynamicResource ServerSettings_ResetServerLogOptionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="1*"/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding EnableServerAdminLogs, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableAdminLogsLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableAdminLogsTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding ServerAdminLogsIncludeTribeLogs, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ServerAdminLogsIncludeTribeLogsLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ServerAdminLogsIncludeTribeLogsTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding ServerRCONOutputTribeLogs, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ServerRCONOutputTribeLogsLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ServerRCONOutputTribeLogsTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding AllowHideDamageSourceFromLogs, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowHideDamageSourceFromLogsLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowHideDamageSourceFromLogsTooltip}"/>

                                        <StackPanel Grid.Row="0" Grid.Column="1" Margin="20,0,5,0" Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_MaxTribeLogsLabel}" ToolTip="{DynamicResource ServerSettings_MaxTribeLogsTooltip}" VerticalAlignment="Center"/>
                                            <TextBox Text="{Binding MaxTribeLogs}" Margin="10,1,0,1" VerticalContentAlignment="Center" Width="100" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_MaxTribeLogsTooltip}"/>
                                        </StackPanel>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding AdminLogging, Mode=TwoWay}" Text="{DynamicResource ServerSettings_LogAdminChatLabel}" ToolTip="{DynamicResource ServerSettings_LogAdminChatTooltip}" VerticalAlignment="Center" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding NotifyAdminCommandsInChat, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NotifyAdminCommandsInChatLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NotifyAdminCommandsInChatTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding TribeLogDestroyedEnemyStructures, Mode=TwoWay}" Text="{DynamicResource ServerSettings_TribeLogDestroyedEnemyStructuresLabel}" VerticalAlignment="Center" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_TribeLogDestroyedEnemyStructuresTooltip}"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="10" Grid.Column="0" Grid.ColumnSpan="6" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <cctl:CheckBoxAndTextBlock Name="EnableWebAlarmCheckbox" IsChecked="{Binding EnableWebAlarm, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableWebAlarmLabel}" ToolTip="{DynamicResource ServerSettings_EnableWebAlarmTooltip}" />
                                    </GroupBox.Header>

                                    <Grid IsEnabled="{Binding ElementName=EnableWebAlarmCheckbox, Path=IsChecked}">
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="25"/>
                                            <RowDefinition Height="25"/>
                                            <RowDefinition Height="Auto"/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition MinWidth="100" Width="Auto"/>
                                            <ColumnDefinition Width="200"/>
                                            <ColumnDefinition Width="1*"/>
                                        </Grid.ColumnDefinitions>

                                        <Label   Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_WebAlarmKeyLabel}" ToolTip="{DynamicResource ServerSettings_WebAlarmKeyTooltip}" VerticalAlignment="Center"/>
                                        <TextBox Grid.Row="0" Grid.Column="1" Margin="1" Name="HideWebKeyTextBox" Text="{DynamicResource ServerSettings_HidePasswordText}" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_HidePasswordTooltip}" Background="Wheat" IsReadOnly="True" GotFocus="HiddenField_GotFocus"/>
                                        <TextBox Grid.Row="0" Grid.Column="1" Margin="1" Name="WebKeyTextBox" Text="{Binding WebAlarmKey}" ToolTip="{DynamicResource ServerSettings_WebAlarmKeyTooltip}" Visibility="Collapsed" LostFocus="HiddenField_LostFocus"/>

                                        <Label   Grid.Row="1" Grid.Column="0" Content="{DynamicResource ServerSettings_WebAlarmUrlLabel}" ToolTip="{DynamicResource ServerSettings_WebAlarmUrlTooltip}" VerticalAlignment="Center"/>

                                        <TextBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Margin="1" Name="HideWebURLTextBox" Text="{DynamicResource ServerSettings_HidePasswordText}" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_HidePasswordTooltip}" Background="Wheat" IsReadOnly="True" GotFocus="HiddenField_GotFocus"/>
                                        <TextBox Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Margin="1" Name="WebURLTextBox" Text="{Binding WebAlarmUrl}" ToolTip="{DynamicResource ServerSettings_WebAlarmUrlTooltip}" Visibility="Collapsed" LostFocus="HiddenField_LostFocus"/>

                                        <TextBlock Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,0,5,0" Text="{DynamicResource ServerSettings_WebAlarmNote}" FontWeight="Bold" TextWrapping="WrapWithOverflow" IsEnabled="False"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="13" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_CommandLineLabel}" Style="{StaticResource GroupBoxStyle}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="10"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100"/>
                                        </Grid.ColumnDefinitions>

                                        <Label      Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Content="{DynamicResource ServerSettings_ProcessPriorityLabel}" ToolTip="{DynamicResource ServerSettings_ProcessPriorityTooltip}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <ComboBox   Grid.Row="0" Grid.Column="1" Name="ProcessPriorityComboBox" Margin="1" HorizontalAlignment="Left" VerticalContentAlignment="Center" MinWidth="150" Width="Auto" ItemsSource="{Binding ProcessPriorities, ElementName=SettingsControl}" SelectedValue="{Binding ProcessPriority}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" ToolTip="{DynamicResource ServerSettings_ProcessPriorityTooltip}" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>

                                        <Label      Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" Content="{DynamicResource ServerSettings_ProcessorAffinityLabel}" ToolTip="{DynamicResource ServerSettings_ProcessorAffinityTooltip}" Foreground="{DynamicResource UnSyncedSetting}"/>
                                        <TextBox    Grid.Row="0" Grid.Column="3" Margin="1" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" MinWidth="100" Width="Auto" Text="{Binding ProcessAffinity, Converter={StaticResource ProcessorAffinityConverter}}" ToolTip="{DynamicResource ServerSettings_ProcessorAffinityTooltip}" IsEnabled="False"/>
                                        <Button     Grid.Row="0" Grid.Column="4" Margin="1" Width="22" HorizontalAlignment="Left" Click="OpenAffinity_Click" Content="{DynamicResource ServerSettings_ProcessorAffinityButtonLabel}" ToolTip="{DynamicResource ServerSettings_ProcessorAffinityButtonTooltip}"/>

                                        <Label      Grid.Row="1" Grid.Column="0" Content="{DynamicResource ServerSettings_LauncherArgsLabel}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_LauncherArgsTooltip}"/>
                                        <TextBox    Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" Margin="1" Text="{Binding LauncherArgs}" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_LauncherArgsTooltip}"/>

                                        <cctl:CheckBoxAndTextBlock   Grid.Row="2" Grid.Column="1" Margin="1" IsChecked="{Binding LauncherArgsOverride, Mode=TwoWay}" Text="{DynamicResource ServerSettings_LauncherArgsOverrideLabel}" ToolTip="{DynamicResource ServerSettings_LauncherArgsOverrideTooltip}" VerticalAlignment="Center" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock   Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Margin="1" IsChecked="{Binding LauncherArgsPrefix, Mode=TwoWay}" IsEnabled="{Binding LauncherArgsOverride, Converter={StaticResource InvertBooleanConverter}}" Text="{DynamicResource ServerSettings_LauncherArgsPrefixLabel}" ToolTip="{DynamicResource ServerSettings_LauncherArgsPrefixTooltip}" VerticalAlignment="Center" HorizontalAlignment="Left"/>

                                        <Label      Grid.Row="3" Grid.Column="0" Content="{DynamicResource ServerSettings_ServerArgsLabel}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_ServerArgsTooltip}"/>
                                        <TextBox    Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Margin="1" Text="{Binding AdditionalArgs}" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_ServerArgsTooltip}"/>
                                        <Button     Grid.Row="3" Grid.Column="4" Margin="1" Content="{StaticResource ShowCmdButtonContent}" ToolTip="{DynamicResource ServerSettings_ShowCommandButtonTooltip}" Click="ShowCmd_Click"/>
                                    </Grid>
                                </GroupBox>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionAutomaticManagement" IsExpanded="{Binding Config.SectionAutomaticManagementIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <DockPanel>
                                    <TextBlock DockPanel.Dock="Left" Text="{DynamicResource ServerSettings_AutomaticManagementLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" DockPanel.Dock="Right" Content="{DynamicResource ServerSettings_NoAutoManagementButtonLabel}" Click="NeedAdmin_Click">
                                        <Button.Style>
                                            <Style BasedOn="{StaticResource {x:Type Button}}" TargetType="{x:Type Button}">
                                                <Style.Triggers>
                                                    <DataTrigger Binding="{Binding ElementName=SettingsControl, Path=IsAdministrator}" Value="False">
                                                        <Setter Property="Visibility" Value="Visible"/>
                                                    </DataTrigger>
                                                    <DataTrigger Binding="{Binding ElementName=SettingsControl, Path=IsAdministrator}" Value="True">
                                                        <Setter Property="Visibility" Value="Collapsed"/>
                                                    </DataTrigger>
                                                </Style.Triggers>
                                            </Style>
                                        </Button.Style>
                                    </Button>
                                </DockPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <StackPanel Margin="-8,0,2,0">
                                <GroupBox Header="{DynamicResource ServerSettings_ASMSettingLabel}" Style="{StaticResource GroupBoxStyle}">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>

                                        <Grid Grid.Row="0" >
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>

                                            <Grid.Style>
                                                <Style TargetType="{x:Type Grid}">
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding ElementName=SettingsControl, Path=IsAdministrator}" Value="False">
                                                            <Setter Property="IsEnabled" Value="False"/>
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding ElementName=SettingsControl, Path=IsAdministrator}" Value="True">
                                                            <Setter Property="IsEnabled" Value="True"/>
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </Grid.Style>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Margin="5,5,5,0" Text="{DynamicResource ServerSettings_AutoStartLabel}" IsChecked="{Binding EnableAutoStart, Mode=TwoWay}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_AutoStartTooltip}" HorizontalAlignment="Left"/>

                                            <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="5,5,5,0" IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}}" >
                                                <cctl:CheckBoxAndTextBlock Name="EnableAutoShutdown1Checkbox" IsChecked="{Binding EnableAutoShutdown1, Mode=TwoWay}" Content="{DynamicResource ServerSettings_EnableAutoShutdownLabel}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_EnableAutoShutdownTooltip}"/>
                                                <TextBox Margin="10,0,0,0" Width="60" Height="20" IsEnabled="{Binding EnableAutoShutdown1}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_EnableAutoShutdownTooltip}">
                                                    <Validation.ErrorTemplate>
                                                        <ControlTemplate>
                                                            <StackPanel>
                                                                <!-- Placeholder for the TextBox itself -->
                                                                <AdornedElementPlaceholder x:Name="textBox"/>
                                                                <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                                            </StackPanel>
                                                        </ControlTemplate>
                                                    </Validation.ErrorTemplate>
                                                    <TextBox.Text>
                                                        <Binding Path="AutoShutdownTime1">
                                                            <Binding.ValidationRules>
                                                                <cvr:TimeValidationRule ValidatesOnTargetUpdated="true" />
                                                            </Binding.ValidationRules>
                                                        </Binding>
                                                    </TextBox.Text>
                                                </TextBox>
                                                <StackPanel Orientation="Horizontal">
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[0], ElementName=SettingsControl, FallbackValue=Sun}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Sunday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[1], ElementName=SettingsControl, FallbackValue=Mon}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Monday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[2], ElementName=SettingsControl, FallbackValue=Tue}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Tuesday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[3], ElementName=SettingsControl, FallbackValue=Wed}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Wednesday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[4], ElementName=SettingsControl, FallbackValue=Thu}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Thursday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[5], ElementName=SettingsControl, FallbackValue=Fri}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Friday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[6], ElementName=SettingsControl, FallbackValue=Sat}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding ShutdownDaysOfTheWeek1, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Saturday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <cctl:CheckBoxAndTextBlock IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding UpdateAfterShutdown1, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UpdateAfterShutdownLabel}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_UpdateAfterShutdownTooltip}" FlowDirection="RightToLeft" Margin="10,0,0,0" />
                                                <cctl:CheckBoxAndTextBlock IsEnabled="{Binding EnableAutoShutdown1}" IsChecked="{Binding RestartAfterShutdown1, Mode=TwoWay}" Text="{DynamicResource ServerSettings_RestartAfterShutdownLabel}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_RestartAfterShutdownTooltip}" FlowDirection="RightToLeft" Margin="10,0,0,0" />
                                            </StackPanel>

                                            <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="5,5,5,0" IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}}" >
                                                <cctl:CheckBoxAndTextBlock Name="EnableAutoShutdown2Checkbox" IsChecked="{Binding EnableAutoShutdown2, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableAutoShutdownLabel}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_EnableAutoShutdownTooltip}"/>
                                                <TextBox Margin="10,0,0,0" Width="60" Height="20" IsEnabled="{Binding EnableAutoShutdown2}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_EnableAutoShutdownTooltip}">
                                                    <Validation.ErrorTemplate>
                                                        <ControlTemplate>
                                                            <StackPanel>
                                                                <!-- Placeholder for the TextBox itself -->
                                                                <AdornedElementPlaceholder x:Name="textBox"/>
                                                                <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                                            </StackPanel>
                                                        </ControlTemplate>
                                                    </Validation.ErrorTemplate>
                                                    <TextBox.Text>
                                                        <Binding Path="AutoShutdownTime2">
                                                            <Binding.ValidationRules>
                                                                <cvr:TimeValidationRule ValidatesOnTargetUpdated="true" />
                                                            </Binding.ValidationRules>
                                                        </Binding>
                                                    </TextBox.Text>
                                                </TextBox>
                                                <StackPanel Orientation="Horizontal">
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[0], ElementName=SettingsControl, FallbackValue=Sun}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Sunday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[1], ElementName=SettingsControl, FallbackValue=Mon}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Monday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[2], ElementName=SettingsControl, FallbackValue=Tue}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Tuesday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[3], ElementName=SettingsControl, FallbackValue=Wed}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Wednesday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[4], ElementName=SettingsControl, FallbackValue=Thu}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Thursday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[5], ElementName=SettingsControl, FallbackValue=Fri}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Friday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                    <StackPanel>
                                                        <Label    Content="{Binding CurrentCulture.DateTimeFormat.AbbreviatedDayNames[6], ElementName=SettingsControl, FallbackValue=Sat}" HorizontalAlignment="Center" Margin="0,-5,0,-5"/>
                                                        <CheckBox IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding ShutdownDaysOfTheWeek2, Mode=TwoWay, Converter={StaticResource FlagsEnumToBooleanConverter}, ConverterParameter={x:Static mts:DaysOfTheWeek.Saturday}}" HorizontalAlignment="Center"/>
                                                    </StackPanel>
                                                </StackPanel>
                                                <cctl:CheckBoxAndTextBlock IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding UpdateAfterShutdown2, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UpdateAfterShutdownLabel}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_UpdateAfterShutdownTooltip}" FlowDirection="RightToLeft" Padding="4,-1,0,0" Margin="10,0,0,0"/>
                                                <cctl:CheckBoxAndTextBlock IsEnabled="{Binding EnableAutoShutdown2}" IsChecked="{Binding RestartAfterShutdown2, Mode=TwoWay}" Text="{DynamicResource ServerSettings_RestartAfterShutdownLabel}" VerticalAlignment="Bottom" ToolTip="{DynamicResource ServerSettings_RestartAfterShutdownTooltip}" FlowDirection="RightToLeft" Padding="4,-1,0,0" Margin="10,0,0,0"/>
                                            </StackPanel>
                                        </Grid>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Margin="5,5,5,0" IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}}" IsChecked="{Binding EnableAutoBackup, Mode=TwoWay}" VerticalAlignment="Center" Text="{DynamicResource ServerSettings_PeriodicBackupsLabel}" ToolTip="{DynamicResource ServerSettings_PeriodicBackupsTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Margin="5,5,5,0" IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}}" IsChecked="{Binding EnableAutoUpdate, Mode=TwoWay}" VerticalAlignment="Center" Text="{DynamicResource ServerSettings_PeriodicUpdatesLabel}" ToolTip="{DynamicResource ServerSettings_PeriodicUpdatesTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="3" Margin="5,5,5,0" IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}}" IsChecked="{Binding AutoRestartIfShutdown, Mode=TwoWay}" VerticalAlignment="Center" Text="{DynamicResource ServerSettings_RestartIfShutdownLabel}" ToolTip="{DynamicResource ServerSettings_RestartIfShutdownTooltip}" HorizontalAlignment="Left"/>
                                    </Grid>
                                </GroupBox>
                            </StackPanel>
                        </Expander>

                        <Expander Name="SectionDiscordBot" IsExpanded="{Binding Config.SectionDiscordBotIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.DiscordBotEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_DiscordBotLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionDiscordBot, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DiscordBotSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" MinWidth="100"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto" MinWidth="100"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto" MinWidth="100"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>

                                <Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_DiscordBotChannelLabel}" ToolTip="{DynamicResource ServerSettings_DiscordBotChannelTooltip}" VerticalAlignment="Center"/>
                                <TextBox Grid.Row="0" Grid.Column="1" Margin="1" Text="{Binding DiscordChannelId, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DiscordBotChannelTooltip}" VerticalContentAlignment="Center" />

                                <Label Grid.Row="0" Grid.Column="2" Content="{DynamicResource ServerSettings_DiscordAliasLabel}" ToolTip="{DynamicResource ServerSettings_DiscordAliasTooltip}" VerticalAlignment="Center"/>
                                <TextBox Grid.Row="0" Grid.Column="3" Margin="1" ToolTip="{DynamicResource ServerSettings_DiscordAliasTooltip}" VerticalContentAlignment="Center">
                                    <Validation.ErrorTemplate>
                                        <ControlTemplate>
                                            <StackPanel>
                                                <AdornedElementPlaceholder x:Name="textBox"/>
                                                <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                            </StackPanel>
                                        </ControlTemplate>
                                    </Validation.ErrorTemplate>
                                    <TextBox.Text>
                                        <Binding Path="DiscordAlias" Mode="TwoWay">
                                            <Binding.ValidationRules>
                                                <cvr:StringNoSpacesValidationRule ValidatesOnTargetUpdated="true" />
                                            </Binding.ValidationRules>
                                        </Binding>
                                    </TextBox.Text>
                                </TextBox>
                                <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="4" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordClusterAlias, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordClusterAliasLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordClusterAliasTooltip}"/>

                                <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordBackup, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordBackupLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordBackupTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordUpdate, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordUpdateLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordUpdateTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordStart, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordStartLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordStartTooltip}"/>

                                <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordRestart, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordRestartLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordRestartTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordShutdown, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordShutdownLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordShutdownTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="4" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordStop, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowDiscordStopLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordStopTooltip}"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionServerDetails" IsExpanded="{Binding Config.SectionServerDetailsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_ServerDetailsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionServerDetails, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.ServerDetailsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" MinWidth="100"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto" MinWidth="100"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="Auto" MinWidth="100"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>

                                <GroupBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_BranchLabel}" DataContext="{Binding Runtime, ElementName=SettingsControl}" Visibility="{Binding Settings.SOTF_Enabled, ElementName=SettingsControl, Converter={StaticResource InvertBooleanToVisibilityConverter}}">
                                    <GroupBox.Style>
                                        <Style BasedOn="{StaticResource GroupBoxStyle}" TargetType="{x:Type GroupBox}">
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                    <Setter Property="IsEnabled" Value="True"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                    <Setter Property="IsEnabled" Value="true"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </GroupBox.Style>

                                    <Grid DataContext="{Binding Settings, ElementName=SettingsControl}">
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100" />
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100" />
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100" />
                                            <ColumnDefinition Width="1*"/>
                                        </Grid.ColumnDefinitions>

                                        <Label    Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_BranchNameLabel}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_BranchNameTooltip}"/>
                                        <ComboBox Grid.Row="0" Grid.Column="1" Margin="1" Name="BranchComboBox" ItemsSource="{Binding BaseBranches, ElementName=SettingsControl}" SelectedValue="{Binding BranchName, Mode=TwoWay, UpdateSourceTrigger=Explicit}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" IsEditable="True" ToolTip="{DynamicResource ServerSettings_BranchNameTooltip}" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                        <Label    Grid.Row="0" Grid.Column="2" Content="{DynamicResource ServerSettings_BranchPasswordLabel}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_BranchPasswordTooltip}"/>
                                        <TextBox  Grid.Row="0" Grid.Column="3" Name="HideBranchPasswordTextBox" Text="{DynamicResource ServerSettings_HidePasswordText}"  ToolTip="{DynamicResource ServerSettings_HidePasswordTooltip}" GotFocus="HiddenField_GotFocus" Margin="1" Style="{StaticResource HiddenTextBoxStyle}"/>
                                        <TextBox  Grid.Row="0" Grid.Column="3" Name="BranchPasswordTextBox" Text="{Binding BranchPassword}" ToolTip="{DynamicResource ServerSettings_BranchPasswordTooltip}" LostFocus="HiddenField_LostFocus" VerticalContentAlignment="Center" Visibility="Collapsed" Margin="1"/>
                                    </Grid>
                                </GroupBox>

                                <GroupBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="6" Header="{DynamicResource ServerSettings_EventLabel}" DataContext="{Binding Runtime, ElementName=SettingsControl}" Visibility="{Binding Settings.SOTF_Enabled, ElementName=SettingsControl, Converter={StaticResource InvertBooleanToVisibilityConverter}}">
                                    <GroupBox.Style>
                                        <Style BasedOn="{StaticResource GroupBoxStyle}" TargetType="{x:Type GroupBox}">
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Null}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Running}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                    <Setter Property="IsEnabled" Value="True"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Updating}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Status}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                    <Setter Property="IsEnabled" Value="true"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </GroupBox.Style>

                                    <Grid DataContext="{Binding Settings, ElementName=SettingsControl}">
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto" MinWidth="100" />
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100" />
                                            <ColumnDefinition Width="1*"/>
                                            <ColumnDefinition Width="Auto" MinWidth="100" />
                                            <ColumnDefinition Width="1*"/>
                                        </Grid.ColumnDefinitions>

                                        <Label    Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_EventNameLabel}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_EventNameTooltip}"/>
                                        <ComboBox Grid.Row="0" Grid.Column="1" Margin="1" Name="EventComboBox" ItemsSource="{Binding BaseEvents, ElementName=SettingsControl}" SelectedValue="{Binding EventName, Mode=TwoWay, UpdateSourceTrigger=Explicit}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" IsEditable="True" ToolTip="{DynamicResource ServerSettings_EventNameTooltip}" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>

                                        <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="6" Margin="5,0,5,0" Text="{DynamicResource ServerSettings_EventNote}" FontWeight="Bold" TextWrapping="WrapWithOverflow" IsEnabled="False"/>
                                    </Grid>
                                </GroupBox>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionRules" IsExpanded="{Binding Config.SectionRulesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_RulesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionRules, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.RulesSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <StackPanel>
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding EnableHardcore, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableHardcoreLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableHardcoreTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding EnablePVP, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnablePvPLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnablePvPTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding EnableCreativeMode, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableCreativeModeLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableCreativeModeTooltip}"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableFriendlyFirePvE, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisablePvEFriendlyFireLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisablePvEFriendlyFireTooltip}" />
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding AllowCaveBuildingPvE, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnablePvECaveBuildingLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnablePvECaveBuildingTooltip}"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding EnableCryoSicknessPVE, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableCryoSicknessPVELabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableCryoSicknessPVETooltip}"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableFriendlyFirePvP, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisablePvPFriendlyFireLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisablePvPFriendlyFireTooltip}" />

                                        <cctl:CheckBoxAndTextBlock Grid.Row="4" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding EnableExtraStructurePreventionVolumes, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableExtraStructurePreventionVolumesLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableExtraStructurePreventionVolumesTooltip}"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="5" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableLootCrates, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableLootCratesLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableLootCratesTooltip}" />
                                        <cctl:CheckBoxAndTextBlock Grid.Row="5" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding AllowCrateSpawnsOnTopOfStructures, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowCrateSpawnsOnTopOfStructuresLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowCrateSpawnsOnTopOfStructuresTooltip}" />
                                        <cctl:CheckBoxAndTextBlock Grid.Row="5" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding RandomSupplyCratePoints, Mode=TwoWay}" Text="{DynamicResource ServerSettings_RandomSupplyCratePointsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_RandomSupplyCratePointsTooltip}" />

                                        <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="3" Label="{DynamicResource ServerSettings_SupplyCrateLootQualityMultiplierLabel}" Value="{Binding SupplyCrateLootQualityMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="5" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_SupplyCrateLootQualityMultiplierTooltip}" />

                                        <cctl:CheckBoxAndTextBlock Grid.Row="7" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding EnableNoFishLoot, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableNoFishLootLabel}" ToolTip="{DynamicResource ServerSettings_EnableNoFishLootTooltip}" HorizontalAlignment="Left"/>

                                        <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="3" Label="{DynamicResource ServerSettings_FishingLootQualityMultiplierLabel}" Value="{Binding FishingLootQualityMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="5" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_FishingLootQualityMultiplierTooltip}" />

                                        <cctl:CheckBoxAndTextBlock Grid.Row="9" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding UseCorpseLocator, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseCorpseLocatorLabel}" ToolTip="{DynamicResource ServerSettings_UseCorpseLocatorTooltip}" HorizontalAlignment="Left" />
                                        <cctl:CheckBoxAndTextBlock Grid.Row="9" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding PreventSpawnAnimations, Mode=TwoWay}" Text="{DynamicResource ServerSettings_PreventSpawnAnimationsLabel}" ToolTip="{DynamicResource ServerSettings_PreventSpawnAnimationsTooltip}" HorizontalAlignment="Left" />
                                        <cctl:CheckBoxAndTextBlock Grid.Row="9" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding AllowUnlimitedRespecs, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowUnlimitedRespecsLabel}" ToolTip="{DynamicResource ServerSettings_AllowUnlimitedRespecsTooltip}" HorizontalAlignment="Left" />

                                        <cctl:CheckBoxAndTextBlock Grid.Row="10" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding AllowPlatformSaddleMultiFloors, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowPlatformSaddleMultiFloorsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowPlatformSaddleMultiFloorsTooltip}" />

                                        <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="0" Grid.ColumnSpan="3" Label="{DynamicResource ServerSettings_PlatformSaddleBuildAreaBoundsMultiplierLabel}" Value="{Binding PlatformSaddleBuildAreaBoundsMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="5" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_PlatformSaddleBuildAreaBoundsMultiplierTooltip}" />
                                        <cctl:AnnotatedSlider Grid.Row="12" Grid.Column="0" Grid.ColumnSpan="3" Label="{DynamicResource ServerSettings_MaxGateFrameOnSaddlesLabel}" Value="{Binding MaxGateFrameOnSaddles}" Minimum="0" Maximum="10" SmallChange="1" LargeChange="5" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_MaxGateFrameOnSaddlesTooltip}" />
                                    </Grid>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="EnableDifficultyOverrideCheckbox" IsChecked="{Binding EnableDifficultyOverride, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableDifficultyOverrideLabel}" ToolTip="{DynamicResource ServerSettings_EnableDifficultyOverrideTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel IsEnabled="{Binding ElementName=EnableDifficultyOverrideCheckbox, Path=IsChecked}">
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_OverrideOfficialDifficultyLabel}" Value="{Binding OverrideOfficialDifficulty, Converter={StaticResource OfficialDifficultyValueConverter}}" Suffix="{DynamicResource SliderUnits_Levels}" Minimum="30" Maximum="1200" SmallChange="1" LargeChange="5" TickFrequency="30" ToolTip="{DynamicResource ServerSettings_OverrideOfficialDifficultyTooltip}" />
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_DifficultyOffsetLabel}" Value="{Binding DifficultyOffset, Converter={cc:DoubleRangeValueConverter 0.01}}" Minimum="0.01" Maximum="10.0" SmallChange="0.01" LargeChange="0.1" TickFrequency="0.5" ToolTip="{DynamicResource ServerSettings_DifficultyOffsetTooltip}" />
                                        </StackPanel>
                                    </GroupBox>

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_DestroyTamesOverLevelClamp﻿Label}" Value="{Binding DestroyTamesOverLevelClamp}" Suffix="{DynamicResource SliderUnits_Levels}" Minimum="0" Maximum="5000" SmallChange="1" LargeChange="5" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DestroyTamesOverLevelClamp﻿Tooltip}" />

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock IsChecked="{Binding EnableTributeDownloads, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableTributeLabel}" ToolTip="{DynamicResource ServerSettings_EnableTributeTooltip}"/>
                                        </GroupBox.Header>

                                        <Grid IsEnabled="{Binding EnableTributeDownloads}">
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding PreventDownloadSurvivors, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoSurvivorDownloadsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoSurvivorDownloadsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding PreventDownloadItems, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoItemDownloadsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoItemDownloadsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding PreventDownloadDinos, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoDinoDownloadsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoDinoDownloadsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding CrossARKAllowForeignDinoDownloads, Mode=TwoWay}" Text="{DynamicResource ServerSettings_CrossARKAllowForeignDinoDownloadsLabel}" HorizontalAlignment="Left" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_CrossARKAllowForeignDinoDownloadsTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <Label Content="{DynamicResource ServerSettings_TributeUploadLabel}"/>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding PreventUploadSurvivors, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoSurvivorUploadsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoSurvivorUploadsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding PreventUploadItems, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoItemUploadsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoItemUploadsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding PreventUploadDinos, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoDinoUploadsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoDinoUploadsTooltip}"/>

                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_MaxTributeDinosLabel}" Suffix="{DynamicResource SliderUnits_Dinos}" Value="{Binding MaxTributeDinos}" ToolTip="{DynamicResource ServerSettings_MaxTributeDinosTooltip}" Minimum="0" Maximum="200" VerticalAlignment="Center" LargeChange="5" SmallChange="1" TickFrequency="10"/>

                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_MaxTributeItemsLabel}" Suffix="{DynamicResource SliderUnits_Items}" Value="{Binding MaxTributeItems}" ToolTip="{DynamicResource ServerSettings_MaxTributeItemsTooltip}" Minimum="0" Maximum="200" VerticalAlignment="Center" LargeChange="5" SmallChange="1" TickFrequency="10"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <Label Content="{DynamicResource ServerSettings_ClusterTributeLabel}"/>
                                        </GroupBox.Header>

                                        <Grid IsEnabled="{Binding CrossArkClusterId, Converter={StaticResource HasStringValueConverter}, FallbackValue=false}">
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="4*"/>
                                                <ColumnDefinition Width="12*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding NoTransferFromFiltering, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NoTransferFromFilteringLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NoTransferFromFilteringTooltip}"/>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5,5,5,5" IsChecked="{Binding OverrideTributeCharacterExpirationSeconds, Mode=TwoWay}" Text="{DynamicResource ServerSettings_OverrideTributeCharacterExpirationSecondsLabel}" HorizontalAlignment="Left" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_OverrideTributeCharacterExpirationSecondsTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="1" Margin="1" IsEnabled="{Binding OverrideTributeCharacterExpirationSeconds}" Value="{Binding TributeCharacterExpirationSeconds, Converter={StaticResource TributeExpirationConverter}}" Suffix="{DynamicResource SliderUnits_Minutes}" Minimum="1" Maximum="20000" SmallChange="1" LargeChange="5" TickFrequency="60" LabelRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_OverrideTributeCharacterExpirationSecondsTooltip}" />
                                            <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Margin="5,5,5,5" IsChecked="{Binding OverrideTributeItemExpirationSeconds, Mode=TwoWay}" Text="{DynamicResource ServerSettings_OverrideTributeItemExpirationSecondsLabel}" HorizontalAlignment="Left" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_OverrideTributeItemExpirationSecondsTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="1" Margin="1" IsEnabled="{Binding OverrideTributeItemExpirationSeconds}" Value="{Binding TributeItemExpirationSeconds, Converter={StaticResource TributeExpirationConverter}}" Suffix="{DynamicResource SliderUnits_Minutes}" Minimum="1" Maximum="20000" SmallChange="1" LargeChange="5" TickFrequency="60" LabelRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_OverrideTributeItemExpirationSecondsTooltip}" />
                                            <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="0" Margin="5,5,5,5" IsChecked="{Binding OverrideTributeDinoExpirationSeconds, Mode=TwoWay}" Text="{DynamicResource ServerSettings_OverrideTributeDinoExpirationSecondsLabel}" HorizontalAlignment="Left" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_OverrideTributeDinoExpirationSecondsTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="1" Margin="1" IsEnabled="{Binding OverrideTributeDinoExpirationSeconds}" Value="{Binding TributeDinoExpirationSeconds, Converter={StaticResource TributeExpirationConverter}}" Suffix="{DynamicResource SliderUnits_Minutes}" Minimum="1" Maximum="20000" SmallChange="1" LargeChange="5" TickFrequency="60" LabelRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_OverrideTributeDinoExpirationSecondsTooltip}" />

                                            <cctl:CheckBoxAndTextBlock Grid.Row="4" Grid.Column="0" Margin="5,5,5,5" IsChecked="{Binding OverrideMinimumDinoReuploadInterval, Mode=TwoWay}" Text="{DynamicResource ServerSettings_OverrideMinimumDinoReuploadIntervalLabel}" HorizontalAlignment="Left" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_OverrideMinimumDinoReuploadIntervalTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="1" Margin="1" IsEnabled="{Binding OverrideMinimumDinoReuploadInterval}" Value="{Binding MinimumDinoReuploadInterval, Converter={StaticResource TributeExpirationConverter}}" Suffix="{DynamicResource SliderUnits_Minutes}" Minimum="1" Maximum="20000" SmallChange="1" LargeChange="5" TickFrequency="60" LabelRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_OverrideMinimumDinoReuploadIntervalTooltip}" />
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="EnableIncreasePvPRespawnInterval" IsChecked="{Binding IncreasePvPRespawnInterval, Mode=TwoWay}" Text="{DynamicResource ServerSettings_PvPRespawnLabel}" ToolTip="{DynamicResource ServerSettings_PvPRespawnTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel  IsEnabled="{Binding ElementName=EnableIncreasePvPRespawnInterval, Path=IsChecked}">
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_IntervalCheckPeriodLabel}" Value="{Binding IncreasePvPRespawnIntervalCheckPeriod}" Suffix="{DynamicResource ServerSettings_IntervalCheckPeriodUnits}" Minimum="0" Maximum="1800" SmallChange="60" LargeChange="300" TickFrequency="60" ToolTip="{DynamicResource ServerSettings_IntervalCheckPeriodTooltip}" />
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_IntervalMultiplierLabel}" Value="{Binding IncreasePvPRespawnIntervalMultiplier}" Suffix="{DynamicResource ServerSettings_IntervalMultiplierUnits}" Minimum="0.01" Maximum="10" SmallChange="0.5" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_IntervalMultiplierTooltip}" />
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_IntervalBaseLabel}" Value="{Binding IncreasePvPRespawnIntervalBaseAmount}" Suffix="{DynamicResource ServerSettings_IntervalBaseUnits}" Minimum="0" Maximum="1800" SmallChange="60" LargeChange="300" TickFrequency="60" ToolTip="{DynamicResource ServerSettings_IntervalBaseTooltip}" />
                                        </StackPanel>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="EnablePreventOfflinePvP" IsChecked="{Binding PreventOfflinePvP, Mode=TwoWay}" Text="{DynamicResource ServerSettings_PreventOfflinePvPLabel}" ToolTip="{DynamicResource ServerSettings_PreventOfflinePvPTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel IsEnabled="{Binding ElementName=EnablePreventOfflinePvP, Path=IsChecked}">
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_PreventOfflinePvPIntervalLabel}" Value="{Binding PreventOfflinePvPInterval}" Suffix="{DynamicResource ServerSettings_PreventOfflinePvPIntervalUnits}" Minimum="0" Maximum="3600" SmallChange="60" LargeChange="300" TickFrequency="60" ToolTip="{DynamicResource ServerSettings_PreventOfflinePvPIntervalTooltip}" />
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_PreventOfflinePvPConnectionInvincibleIntervalLabel}" Value="{Binding PreventOfflinePvPConnectionInvincibleInterval}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="1" Maximum="3600" SmallChange="5" LargeChange="60" TickFrequency="60" ToolTip="{DynamicResource ServerSettings_PreventOfflinePvPConnectionInvincibleIntervalTooltip}" />
                                        </StackPanel>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="EnableAutoPvETimer" IsChecked="{Binding AutoPvETimer, Mode=TwoWay}" Text="{DynamicResource ServerSettings_PvEScheduleLabel}" ToolTip="{DynamicResource ServerSettings_PvEScheduleTooltip}"/>
                                        </GroupBox.Header>

                                        <Grid IsEnabled="{Binding ElementName=EnableAutoPvETimer, Path=IsChecked}">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition/>
                                                <ColumnDefinition/>
                                                <ColumnDefinition/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Column="0" IsChecked="{Binding AutoPvEUseSystemTime, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseServerTimeLabel}" HorizontalAlignment="Left" Margin="5,0,0,0" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_UseServerTimeTooltip}"/>
                                            <StackPanel Grid.Column="1" Orientation="Horizontal">
                                                <Label   Content="{DynamicResource ServerSettings_StartTimeLabel}" ToolTip="{DynamicResource ServerSettings_StartTimeTooltip}" VerticalAlignment="Center"/>
                                                <TextBox FontSize="12" Width="100" Margin="5,1,0,1" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_StartTimeTooltip}" >
                                                    <Validation.ErrorTemplate>
                                                        <ControlTemplate>
                                                            <StackPanel>
                                                                <!-- Placeholder for the TextBox itself -->
                                                                <AdornedElementPlaceholder x:Name="textBox"/>
                                                                <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                                            </StackPanel>
                                                        </ControlTemplate>
                                                    </Validation.ErrorTemplate>
                                                    <TextBox.Text>
                                                        <Binding Path="AutoPvEStartTimeSeconds" Converter="{StaticResource ResourceKey=SecondsToTimeValueConverter}">
                                                            <Binding.ValidationRules>
                                                                <cvr:TimeValidationRule ValidatesOnTargetUpdated="true" />
                                                            </Binding.ValidationRules>
                                                        </Binding>
                                                    </TextBox.Text>
                                                </TextBox>
                                            </StackPanel>
                                            <StackPanel Grid.Column="2" Orientation="Horizontal">
                                                <Label Content="{DynamicResource ServerSettings_StopTimeLabel}" ToolTip="{DynamicResource ServerSettings_StopTimeTooltip}" VerticalAlignment="Center"/>
                                                <TextBox FontSize="12" Width="100" Margin="5,1,0,1" VerticalContentAlignment="Center" ToolTip="{DynamicResource ServerSettings_StopTimeTooltip}" >
                                                    <Validation.ErrorTemplate>
                                                        <ControlTemplate>
                                                            <StackPanel>
                                                                <!-- Placeholder for the TextBox itself -->
                                                                <AdornedElementPlaceholder x:Name="textBox"/>
                                                                <TextBlock Text="{Binding [0].ErrorContent}" Background="Red" Foreground="White"/>
                                                            </StackPanel>
                                                        </ControlTemplate>
                                                    </Validation.ErrorTemplate>
                                                    <TextBox.Text>
                                                        <Binding Path="AutoPvEStopTimeSeconds" Converter="{StaticResource ResourceKey=SecondsToTimeValueConverter}">
                                                            <Binding.ValidationRules>
                                                                <cvr:TimeValidationRule ValidatesOnTargetUpdated="true" />
                                                            </Binding.ValidationRules>
                                                        </Binding>
                                                    </TextBox.Text>
                                                </TextBox>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxNumberOfPlayersInTribeLabel}" Value="{Binding MaxNumberOfPlayersInTribe}" Suffix="{DynamicResource ServerSettings_MaxNumberOfPlayersInTribeUnits}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="5" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_MaxNumberOfPlayersInTribeTooltip}" />
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TribeNameChangeCooldownLabel}" Value="{Binding TribeNameChangeCooldown}" Minimum="1" Maximum="300" SmallChange="1" LargeChange="5" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Minutes}" ToolTip="{DynamicResource ServerSettings_TribeNameChangeCooldownTooltip}" />
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TribeSlotReuseCooldownLabel}" Value="{Binding TribeSlotReuseCooldown, Converter={StaticResource SecondsToMinutesConverter}}" Minimum="0" Maximum="300" SmallChange="1" LargeChange="5" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Minutes}" ToolTip="{DynamicResource ServerSettings_TribeSlotReuseCooldownTooltip}" />

                                    <cctl:CheckBoxAndTextBlock Margin="5" IsChecked="{Binding AllowTribeAlliances}" Text="{DynamicResource ServerSettings_AllowTribeAlliancesLabel}" ToolTip="{DynamicResource ServerSettings_AllowTribeAlliancesTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxAlliancesPerTribeLabel}" Value="{Binding MaxAlliancesPerTribe}" IsEnabled="{Binding AllowTribeAlliances, FallbackValue=False}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10"  ToolTip="{DynamicResource ServerSettings_MaxAlliancesPerTribeTooltip}" />
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxTribesPerAllianceLabel}" Value="{Binding MaxTribesPerAlliance}" IsEnabled="{Binding AllowTribeAlliances, FallbackValue=False}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10"  ToolTip="{DynamicResource ServerSettings_MaxTribesPerAllianceTooltip}" />

                                    <GroupBox Header="{DynamicResource ServerSettings_TribeWarfareLabel}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Column="0" Margin="5,5,5,0" Name="AllowTribeWarPvECheckbox"  IsChecked="{Binding AllowTribeWarPvE, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowTribeWarfareLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowTribeWarfareTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Column="1" Margin="5,5,5,0" IsEnabled="{Binding ElementName=AllowTribeWarPvECheckbox, Path=IsChecked}" IsChecked="{Binding AllowTribeWarCancelPvE, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowCancelTribeWarfareLabel}" ToolTip="{DynamicResource ServerSettings_AllowCancelTribeWarfareTooltip}" HorizontalAlignment="Left"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="EnableAllowCustomRecipes" IsChecked="{Binding AllowCustomRecipes, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowCustomRecipesLabel}" ToolTip="{DynamicResource ServerSettings_AllowCustomRecipesTooltip}" />
                                        </GroupBox.Header>

                                        <StackPanel  IsEnabled="{Binding ElementName=EnableAllowCustomRecipes, Path=IsChecked}">
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_CustomRecipeEffectivenessMultiplierLabel}" Value="{Binding CustomRecipeEffectivenessMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_CustomRecipeEffectivenessMultiplierTooltip}" />
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_CustomRecipeSkillMultiplierLabel}" Value="{Binding CustomRecipeSkillMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_CustomRecipeSkillMultiplierTooltip}" />
                                        </StackPanel>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="EnableDiseasesCheckbox" IsChecked="{Binding EnableDiseases, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableDiseasesLabel}" ToolTip="{DynamicResource ServerSettings_EnableDiseasesTooltip}" />
                                        </GroupBox.Header>

                                        <Grid IsEnabled="{Binding ElementName=EnableDiseasesCheckbox, Path=IsChecked}">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding NonPermanentDiseases, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NonPermanentDiseasesLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_NonPermanentDiseasesTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock Name="OverrideNPCNetworkStasisRangeScaleCheckbox" IsChecked="{Binding OverrideNPCNetworkStasisRangeScale, Mode=TwoWay}" Text="{DynamicResource ServerSettings_NPCNetworkStasisRangeScaleLabel}" ToolTip="{DynamicResource ServerSettings_NPCNetworkStasisRangeScaleTooltip}" />
                                        </GroupBox.Header>

                                        <Grid IsEnabled="{Binding ElementName=OverrideNPCNetworkStasisRangeScaleCheckbox, Path=IsChecked}">
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                                <RowDefinition Height="Auto"/>
                                            </Grid.RowDefinitions>

                                            <cctl:AnnotatedSlider Grid.Row="0" Margin="1" Label="{DynamicResource ServerSettings_NPCNetworkStasisRangeScalePlayerCountStartLabel}" Value="{Binding NPCNetworkStasisRangeScalePlayerCountStart}" Suffix="{DynamicResource SliderUnits_Players}" VerticalAlignment="Center" Minimum="1" Maximum="200" LargeChange="10" SmallChange="5" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_NPCNetworkStasisRangeScalePlayerCountStartTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="1" Margin="1" Label="{DynamicResource ServerSettings_NPCNetworkStasisRangeScalePlayerCountEndLabel}" Value="{Binding NPCNetworkStasisRangeScalePlayerCountEnd}" Suffix="{DynamicResource SliderUnits_Players}" VerticalAlignment="Center" Minimum="1" Maximum="200" LargeChange="10" SmallChange="5" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_NPCNetworkStasisRangeScalePlayerCountEndTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="2" Margin="1" Label="{DynamicResource ServerSettings_NPCNetworkStasisRangeScalePercentEndLabel}" Value="{Binding NPCNetworkStasisRangeScalePercentEnd}" Suffix="{DynamicResource SliderUnits_Percentage}" VerticalAlignment="Center" Minimum="0.1" Maximum="1.0" LargeChange="0.1" SmallChange="0.1" TickFrequency="0.1" ToolTip="{DynamicResource ServerSettings_NPCNetworkStasisRangeScalePercentEndTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_OxygenSwimSpeedStatMultiplierLabel}" Value="{Binding OxygenSwimSpeedStatMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_OxygenSwimSpeedStatMultiplierTooltip}" />
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_UseCorpseLifeSpanMultiplierLabel}" Value="{Binding UseCorpseLifeSpanMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_UseCorpseLifeSpanMultiplierTooltip}" />

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_GlobalPoweredBatteryDurabilityDecreasePerSecondLabel}" Value="{Binding GlobalPoweredBatteryDurabilityDecreasePerSecond}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_GlobalPoweredBatteryDurabilityDecreasePerSecondTooltip}" />
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_FuelConsumptionIntervalMultiplierLabel}" Value="{Binding FuelConsumptionIntervalMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="1"  ToolTip="{DynamicResource ServerSettings_FuelConsumptionIntervalMultiplierTooltip}" />

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_LimitNonPlayerDroppedItemsRangeLabel}" Value="{Binding LimitNonPlayerDroppedItemsRange}" Suffix="{DynamicResource SliderUnits_Units}" Minimum="0" Maximum="5000" SmallChange="1" LargeChange="10" TickFrequency="50" ToolTip="{DynamicResource ServerSettings_LimitNonPlayerDroppedItemsRangeTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_LimitNonPlayerDroppedItemsCountLabel}" Value="{Binding LimitNonPlayerDroppedItemsCount}" Suffix="{DynamicResource SliderUnits_Items}" Minimum="0" Maximum="5000" SmallChange="1" LargeChange="10" TickFrequency="50" ToolTip="{DynamicResource ServerSettings_LimitNonPlayerDroppedItemsCountTooltip}"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock IsChecked="{Binding EnableCryopodNerf, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableCryopodNerfLabel}" ToolTip="{DynamicResource ServerSettings_EnableCryopodNerfTooltip}" />
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>

                                            <cctl:AnnotatedSlider Grid.Row="0" Margin="5,5,5,0" IsEnabled="{Binding EnableCryopodNerf}" Label="{DynamicResource ServerSettings_CryopodNerfDurationLabel}" Value="{Binding CryopodNerfDuration}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="0" Maximum="600" SmallChange="1" LargeChange="10" TickFrequency="50" ToolTip="{DynamicResource ServerSettings_CryopodNerfDurationTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="1" Margin="5,5,5,0" IsEnabled="{Binding EnableCryopodNerf}" Label="{DynamicResource ServerSettings_CryopodNerfDamageMultiplierLabel}" Value="{Binding CryopodNerfDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_CryopodNerfDamageMultiplierTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="2" Margin="5,5,5,0" IsEnabled="{Binding EnableCryopodNerf}" Label="{DynamicResource ServerSettings_CryopodNerfIncomingDamageMultPercentLabel}" Value="{Binding CryopodNerfIncomingDamageMultiplierPercent}" Suffix="{Binding CryopodNerfIncomingDamageMultiplierPercent, Converter={StaticResource FloatToPercentageConverter}}" Minimum="0" Maximum="1" SmallChange="0.05" LargeChange="0.1" TickFrequency="0.1" ToolTip="{DynamicResource ServerSettings_CryopodNerfIncomingDamageMultPercentTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Header="{DynamicResource Mod_Genesis}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableGenesisMissions, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableGenesisMissionsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableGenesisMissionsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding AllowTekSuitPowersInGenesis, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowTekSuitPowersInGenesisLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowTekSuitPowersInGenesisTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Header="{DynamicResource Mod_Genesis2}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableDefaultMapItemSets, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableDefaultMapItemSetsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableDefaultMapItemSetsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding DisableWorldBuffs, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableWorldBuffsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableWorldBuffsTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding EnableWorldBuffScaling, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableWorldBuffScalingLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableWorldBuffScalingTooltip}"/>

                                            <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,5,5,0" IsEnabled="{Binding EnableWorldBuffScaling}" Label="{DynamicResource ServerSettings_WorldBuffScalingEfficacyLabel}" Value="{Binding WorldBuffScalingEfficacy}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="5000" SmallChange="1" LargeChange="10" TickFrequency="50" ToolTip="{DynamicResource ServerSettings_WorldBuffScalingEfficacyTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Header="{DynamicResource ServerSettings_HexagonsLabel}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding DisableHexagonStore, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableHexagonStoreLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableHexagonStoreTooltip}"/>
                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding HexStoreAllowOnlyEngramTradeOption, Mode=TwoWay}" Text="{DynamicResource ServerSettings_HexStoreAllowOnlyEngramTradeOptionLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_HexStoreAllowOnlyEngramTradeOptionTooltip}"/>

                                            <cctl:AnnotatedSlider Grid.Row="1" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_MaxHexagonsPerCharacterLabel}" Value="{Binding MaxHexagonsPerCharacter}" Suffix="" Minimum="0" Maximum="100000000" SmallChange="100" LargeChange="1000" TickFrequency="5000" ToolTip="{DynamicResource ServerSettings_MaxHexagonsPerCharacterTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="2" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_HexagonRewardMultiplierLabel}" Value="{Binding HexagonRewardMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HexagonRewardMultiplierTooltip}"/>
                                            <cctl:AnnotatedSlider Grid.Row="3" Grid.ColumnSpan="3" Margin="5,5,5,0" Label="{DynamicResource ServerSettings_HexagonCostMultiplierLabel}" Value="{Binding HexagonCostMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HexagonCostMultiplierTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Header="{DynamicResource ServerSettings_FjordurLabel}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" HorizontalAlignment="Left" 
                                                      IsChecked="{Binding UseFjordurTraversalBuff, Mode=TwoWay}" 
                                                      Text="{DynamicResource ServerSettings_UseFjordurTraversalBuffLabel}" 
                                                      ToolTip="{DynamicResource ServerSettings_UseFjordurTraversalBuffTooltip}"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Header="{DynamicResource ServerSettings_ItemStatClampsLabel}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="6" Margin="5,0,5,0" Text="{DynamicResource ServerSettings_ItemStatClampsNoteLabel}" FontWeight="Bold" TextWrapping="WrapWithOverflow" IsEnabled="False"/>

                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="1" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_GenericQualityLabel}" Value="{Binding ItemStatClamps_GenericQuality}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="2" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_ArmorLabel}" Value="{Binding ItemStatClamps_Armor}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="3" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_WeaponDamagePercentLabel}" Value="{Binding ItemStatClamps_WeaponDamagePercent}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="4" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_HypothermalInsulationLabel}" Value="{Binding ItemStatClamps_HypothermalInsulation}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />

                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="1" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_WeightLabel}" Value="{Binding ItemStatClamps_Weight}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="2" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_MaxDurabilityLabel}" Value="{Binding ItemStatClamps_MaxDurability}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="3" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_WeaponClipAmmoLabel}" Value="{Binding ItemStatClamps_WeaponClipAmmo}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                            <cctl:AnnotatedCheckBoxAndIntegerSlider Grid.Row="4" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_ItemStatClamps_HyperthermalInsulationLabel}" Value="{Binding ItemStatClamps_HyperthermalInsulation}" Minimum="0" Maximum="1000000" TickFrequency="100" SmallChange="10" LargeChange="100" SuffixRelativeWidth="0" />
                                        </Grid>
                                    </GroupBox>
                                </StackPanel>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionChatAndNotifications" IsExpanded="{Binding Config.SectionChatAndNotificationsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_ChatAndNotificationsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionChatAndNotifications, Path=IsExpanded}" 
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.ChatAndNotificationsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="Auto"/>
                                    </Grid.RowDefinitions>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*"/>
                                        <ColumnDefinition Width="*"/>
                                        <ColumnDefinition Width="*"/>
                                    </Grid.ColumnDefinitions>

                                    <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding EnableGlobalVoiceChat, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableGlobalVoiceChatLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableGlobalVoiceChatTooltip}"/>
                                    <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5" IsChecked="{Binding EnableProximityChat, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableProximityChatLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableProximityChatTooltip}"/>

                                    <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding EnablePlayerLeaveNotifications, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnablePlayerLeftLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnablePlayerLeftTooltip}"/>
                                    <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5" IsChecked="{Binding EnablePlayerJoinedNotifications, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnablePlayerJoinedLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnablePlayerJoinedTooltip}"/>
                                </Grid>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionHUDAndVisuals" IsExpanded="{Binding Config.SectionHUDAndVisualsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_HUDAndVisualsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionHUDAndVisuals, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.HudAndVisualsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>

                                <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding AllowCrosshair, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowCrosshairLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowCrosshairTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding AllowHUD, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowHUDLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowHUDTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Margin="5" IsChecked="{Binding AllowMapPlayerLocation, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowMapPlayerLocationLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowMapPlayerLocationTooltip}"/>

                                <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding AllowThirdPersonView, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowThirdPersonViewLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowThirdPersonViewTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding ShowFloatingDamageText, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ShowFloatingDamageTextLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ShowFloatingDamageTextTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="1" Margin="5" IsChecked="{Binding AllowHitMarkers, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowHitMarkersLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowHitMarkersTooltip}"/>

                                <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding AllowPVPGamma, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowPlayerGammaInPvPLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowPlayerGammaInPvPTooltip}"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding AllowPvEGamma, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowPlayerGammaInPvELabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowPlayerGammaInPvETooltip}"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionPlayerSettings" IsExpanded="{Binding Config.SectionPlayerSettingsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_PlayerSettingsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionPlayerSettings, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.PlayerSettingsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <StackPanel Grid.Column="0">
                                    <cctl:CheckBoxAndTextBlock Margin="5" IsChecked="{Binding EnableFlyerCarry, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableFlyerCarryLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnableFlyerCarryTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_XPMultiplierLabel}" Value="{Binding XPMultiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_XPMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_DamageLabel}" Value="{Binding PlayerDamageMultiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_DamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_ResistanceLabel}" Value="{Binding PlayerResistanceMultiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_ResistanceTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_WaterDrainLabel}" Value="{Binding PlayerCharacterWaterDrainMultiplier}"  Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_WaterDrainTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_FoodDrainLabel}" Value="{Binding PlayerCharacterFoodDrainMultiplier}"  Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_FoodDrainTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_StaminaDrainLabel}" Value="{Binding PlayerCharacterStaminaDrainMultiplier}"  Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_StaminaDrainTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_HealthRecoveryLabel}" Value="{Binding PlayerCharacterHealthRecoveryMultiplier}"  Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_HealthRecoveryTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_HarvestingDamageLabel}" Value="{Binding PlayerHarvestingDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HarvestingDamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_CraftingSkillBonusMultiplierLabel}" Value="{Binding CraftingSkillBonusMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_CraftingSkillBonusMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_MaxFallSpeedMultiplierLabel}" Value="{Binding MaxFallSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="5" TickFrequency="5" ToolTip="{DynamicResource ServerSettings_MaxFallSpeedMultiplierTooltip}"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnablePlayerBaseStatMultipliersCheckbox" Text="{DynamicResource ServerSettings_PlayerBaseStatMultipliersLabel}" IsChecked="{Binding PlayerBaseStatMultipliers.IsEnabled, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_BaseStatMultipliersTooltip}" VerticalAlignment="Center"/>
                                                <Button Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.PlayerBaseStatMultipliers}" ToolTip="{DynamicResource ServerSettings_ResetBaseStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>

                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding PlayerBaseStatMultipliers[0]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatHealthTooltip}"     Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding PlayerBaseStatMultipliers[1]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatStaminaTooltip}"    Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding PlayerBaseStatMultipliers[2]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatTorpidityTooltip}"  Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding PlayerBaseStatMultipliers[3]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatOxygenTooltip}"     Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding PlayerBaseStatMultipliers[4]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatFoodTooltip}"       Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding PlayerBaseStatMultipliers[5]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatWaterTooltip}"      Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>

                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding PlayerBaseStatMultipliers[6]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatTempTooltip}"       Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding PlayerBaseStatMultipliers[7]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatWeightTooltip}"     Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding PlayerBaseStatMultipliers[8]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatDamageTooltip}"     Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding PlayerBaseStatMultipliers[9]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatSpeedTooltip}"      Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding PlayerBaseStatMultipliers[10]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatFortitudeTooltip}"  Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding PlayerBaseStatMultipliers[11]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerBaseStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_BaseStatCraftingTooltip}"   Visibility="{Binding PlayerBaseStatMultipliers.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnablePlayerPerLevelStatMultipliersCheckbox" Text="{DynamicResource ServerSettings_PlayerPerLevelStatMultipliersLabel}" IsChecked="{Binding PerLevelStatsMultiplier_Player.IsEnabled, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_PerLevelStatMultipliersTooltip}" VerticalAlignment="Center"/>
                                                <Button Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.PlayerPerLevelStatMultipliers}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>

                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding PerLevelStatsMultiplier_Player[0]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding PerLevelStatsMultiplier_Player[1]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"   Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding PerLevelStatsMultiplier_Player[2]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}" Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding PerLevelStatsMultiplier_Player[3]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding PerLevelStatsMultiplier_Player[4]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding PerLevelStatsMultiplier_Player[5]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>

                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding PerLevelStatsMultiplier_Player[6]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding PerLevelStatsMultiplier_Player[7]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding PerLevelStatsMultiplier_Player[8]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding PerLevelStatsMultiplier_Player[9]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding PerLevelStatsMultiplier_Player[10]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}" Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding PerLevelStatsMultiplier_Player[11]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnablePlayerPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"  Visibility="{Binding PerLevelStatsMultiplier_Player.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>
                                </StackPanel>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionDinoSettings" IsExpanded="{Binding Config.SectionDinoSettingsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_DinoSettingsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionDinoSettings, Path=IsExpanded}" 
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoSettingsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <StackPanel Grid.Column="0">
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_MaxTamedDinosLabel}" Value="{Binding MaxTamedDinos}" Minimum="0" Maximum="20000" SmallChange="500" LargeChange="2000" TickFrequency="500" ToolTip="{DynamicResource ServerSettings_MaxTamedDinosTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_MaxPersonalTamedDinosLabel}" Value="{Binding MaxPersonalTamedDinos}" Minimum="0" Maximum="20000" SmallChange="50" LargeChange="100" TickFrequency="500" ToolTip="{DynamicResource ServerSettings_MaxPersonalTamedDinosTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_DamageLabel}" Value="{Binding DinoDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_TamedDamageLabel}" Value="{Binding TamedDinoDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_ResistanceLabel}" Value="{Binding DinoResistanceMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_ResistanceTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_TamedResistanceLabel}" Value="{Binding TamedDinoResistanceMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_ResistanceTooltip}"/>

                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_FoodDrainMultiplierLabel}" Value="{Binding WildDinoCharacterFoodDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_FoodDrainMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_TamedFoodDrainMultiplierLabel}" Value="{Binding TamedDinoCharacterFoodDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_TamedFoodDrainMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_TorporDrainMultiplierLabel}" Value="{Binding WildDinoTorporDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_TorporDrainMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_TamedTorporDrainMultiplierLabel}" Value="{Binding TamedDinoTorporDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_TamedTorporDrainMultiplierTooltip}"/>

                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_PassiveTameIntervalMultiplierLabel}" Value="{Binding PassiveTameIntervalMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_PassiveTameIntervalMultiplierTooltip}"/>

                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_PersonalTamedDinosSaddleStructureCostLabel}" Value="{Binding PersonalTamedDinosSaddleStructureCost}" Minimum="1" Maximum="200" SmallChange="10" LargeChange="20" TickFrequency="50" ToolTip="{DynamicResource ServerSettings_PersonalTamedDinosSaddleStructureCostTooltip}"/>
                                    <cctl:CheckBoxAndTextBlock Margin="5,1,22,1" IsChecked="{Binding UseTameLimitForStructuresOnly, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseTameLimitForStructuresOnlyLabel}" ToolTip="{DynamicResource ServerSettings_UseTameLimitForStructuresOnlyTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_FoodDrainLabel}" Value="{Binding DinoCharacterFoodDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_FoodDrainTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_StaminaDrainLabel}" Value="{Binding DinoCharacterStaminaDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_StaminaDrainTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_HealthRecoveryLabel}" Value="{Binding DinoCharacterHealthRecoveryMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HealthRecoveryTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_HarvestingDamageLabel}" Value="{Binding DinoHarvestingDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HarvestingDamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1,1,22,1" Label="{DynamicResource ServerSettings_TurretDamageLabel}" Value="{Binding DinoTurretDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_TurretDamageTooltip}"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock IsChecked="{Binding AllowRaidDinoFeeding, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowRaidDinoFeedingLabel}" ToolTip="{DynamicResource ServerSettings_AllowRaidDinoFeedingTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_RaidDinoCharacterFoodDrainMultiplierLabel}" Value="{Binding RaidDinoCharacterFoodDrainMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_RaidDinoCharacterFoodDrainMultiplierTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>

                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5" Text="{DynamicResource ServerSettings_EnableAllowCaveFlyersLabel}" IsChecked="{Binding EnableAllowCaveFlyers, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_EnableAllowCaveFlyersTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5" Text="{DynamicResource ServerSettings_AllowFlyingStaminaRecoveryLabel}" IsChecked="{Binding AllowFlyingStaminaRecovery, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AllowFlyingStaminaRecoveryTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="2" Margin="5" Text="{DynamicResource ServerSettings_AllowFlyerSpeedLevelingLabel}" IsChecked="{Binding AllowFlyerSpeedLeveling, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AllowFlyerSpeedLevelingTooltip}" HorizontalAlignment="Left"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5" Text="{DynamicResource ServerSettings_PreventMateBoostLabel}" IsChecked="{Binding PreventMateBoost, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_PreventMateBoostTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5" Text="{DynamicResource ServerSettings_ForceFlyerExplosivesLabel}" IsChecked="{Binding ForceFlyerExplosives, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_ForceFlyerExplosivesTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="2" Margin="5" Text="{DynamicResource ServerSettings_AllowMultipleAttachedC4Label}" IsChecked="{Binding AllowMultipleAttachedC4, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AllowMultipleAttachedC4Tooltip}" HorizontalAlignment="Left"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="0" Margin="5" Text="{DynamicResource ServerSettings_DisableDinoDecayLabel}" IsChecked="{Binding DisableDinoDecayPvE, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DisableDinoDecayTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="1" Margin="5" Text="{DynamicResource ServerSettings_DisableDinoDecayPvPLabel}" IsChecked="{Binding DisableDinoDecayPvP, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DisableDinoDecayPvPTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="2" Margin="5" Text="{DynamicResource ServerSettings_AutoDestroyDecayedDinosLabel}" IsChecked="{Binding AutoDestroyDecayedDinos, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AutoDestroyDecayedDinosTooltip}" HorizontalAlignment="Left"/>
                                    </Grid>

                                    <cctl:AnnotatedSlider Margin="0,1,22,1" Label="{DynamicResource ServerSettings_DinoDecayPeriodLabel}" Value="{Binding PvEDinoDecayPeriodMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DinoDecayPeriodTooltip}"/>

                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5" Text="{DynamicResource ServerSettings_DisableDinoRidingLabel}" IsChecked="{Binding DisableDinoRiding, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DisableDinoRidingTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5" Text="{DynamicResource ServerSettings_DisableDinoTamingLabel}" IsChecked="{Binding DisableDinoTaming, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DisableDinoTamingTooltip}" HorizontalAlignment="Left"/>
                                    </Grid>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock x:Name="EnableForceCanRideFliersCheckBox" IsChecked="{Binding EnableForceCanRideFliers, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableForceCanRideFliersLabel}" ToolTip="{DynamicResource ServerSettings_EnableForceCanRideFliersTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel>
                                            <cctl:CheckBoxAndTextBlock Margin="5" IsChecked="{Binding ForceCanRideFliers, Mode=TwoWay}" Text="{DynamicResource ServerSettings_ForceCanRideFliersLabel}" IsEnabled="{Binding ElementName=EnableForceCanRideFliersCheckBox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_ForceCanRideFliersTooltip}" HorizontalAlignment="Left"/>
                                        </StackPanel>
                                    </GroupBox>

                                    <GroupBox HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <Label Content="{DynamicResource ServerSettings_DinoCustomizationLabel}"/>
                                                <cctl:CheckBoxAndTextBlock Name="EditSpawnsCheckbox"          Margin="5,5,5,5" VerticalAlignment="Center" IsChecked="{Binding DinoSettings.DinoSpawnWeightMultipliers.IsEnabled, Mode=TwoWay}"          ToolTip="{DynamicResource ServerSettings_SpawnMultipliersOptionTooltip}" Text="{DynamicResource ServerSettings_SpawnMultipliersOptionLabel}"/>
                                                <cctl:CheckBoxAndTextBlock Name="EditTamedDamageCheckbox"     Margin="0,5,5,5" VerticalAlignment="Center" IsChecked="{Binding DinoSettings.TamedDinoClassDamageMultipliers.IsEnabled, Mode=TwoWay}"     ToolTip="{DynamicResource ServerSettings_TamedDamageOptionTooltip}"      Text="{DynamicResource ServerSettings_TamedDamageOptionLabel}"/>
                                                <cctl:CheckBoxAndTextBlock Name="EditTamedResistanceCheckbox" Margin="0,5,5,5" VerticalAlignment="Center" IsChecked="{Binding DinoSettings.TamedDinoClassResistanceMultipliers.IsEnabled, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_TamedResistanceOptionTooltip}"  Text="{DynamicResource ServerSettings_TamedResistanceOptionLabel}"/>
                                                <cctl:CheckBoxAndTextBlock Name="EditWildDamageCheckbox"      Margin="0,5,5,5" VerticalAlignment="Center" IsChecked="{Binding DinoSettings.DinoClassDamageMultipliers.IsEnabled, Mode=TwoWay}"          ToolTip="{DynamicResource ServerSettings_WildDamageOptionTooltip}"       Text="{DynamicResource ServerSettings_WildDamageOptionLabel}"/>
                                                <cctl:CheckBoxAndTextBlock Name="EditWildResistanceCheckbox"  Margin="0,5,5,5" VerticalAlignment="Center" IsChecked="{Binding DinoSettings.DinoClassResistanceMultipliers.IsEnabled, Mode=TwoWay}"      ToolTip="{DynamicResource ServerSettings_WildResistanceOptionTooltip}"   Text="{DynamicResource ServerSettings_WildResistanceOptionLabel}"/>
                                                <Button Width="22" Height="22" Margin="10,0,0,0" Click="DinoCustomization_Reset" ToolTip="{DynamicResource ServerSettings_ResetDinoCustomizationsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                                <Button Width="22" Height="22" Margin="5,0,0,0" Click="PasteCustomDinos_Click" ToolTip="{DynamicResource ServerSettings_PasteDinoCustomizationsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                                </Button>
                                                <Button Width="22" Height="22" Margin="5,0,0,0" Click="SaveCustomDinos_Click" ToolTip="{DynamicResource ServerSettings_SaveDinoCustomizationsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition Height="{Binding Config.DinoSettingsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                                <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                                <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                            </Grid.RowDefinitions>

                                            <StackPanel Grid.Row="0" Orientation="Horizontal" DataContext="{Binding}" Margin="0,2,0,0">
                                                <Label Content="{DynamicResource General_FilterLabel}"/>
                                                <ComboBox Name="ModDinoComboBox" ItemsSource="{Binding BaseDinoModList, ElementName=SettingsControl}" SelectedValue="{Binding SelectedModDino, ElementName=SettingsControl, Mode=TwoWay}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" Margin="0,0,2,0" HorizontalAlignment="Left" VerticalContentAlignment="Center" MinWidth="200" Width="Auto" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                <TextBox Name="ModDinoTextbox" Text="{Binding DinoFilterString, ElementName=SettingsControl, Mode=TwoWay}" VerticalContentAlignment="Center" Padding="2" Margin="5,0,2,0" HorizontalAlignment="Left" MinWidth="300" Width="Auto" />
                                                <Button Margin="5,0,2,0" Width="22" Height="22" HorizontalAlignment="Left" VerticalAlignment="Center" Click="FilterDino_Click" ToolTip="{DynamicResource General_FilterButtonTooltip}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Filter.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>

                                            <DataGrid Grid.Row="1" Margin="0,5,0,0" Name="DinoSettingsGrid" ItemsSource="{Binding Source={StaticResource DinosViewSource}}" FrozenColumnCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="0" GridLinesVisibility="Horizontal">
                                                <DataGrid.Resources>
                                                    <Style TargetType="{x:Type DataGridRow}">
                                                        <Style.Resources>
                                                            <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                            <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                        </Style.Resources>
                                                    </Style>
                                                </DataGrid.Resources>

                                                <DataGrid.HorizontalGridLinesBrush>
                                                    <SolidColorBrush Color="#FFFFFFFF"/>
                                                </DataGrid.HorizontalGridLinesBrush>

                                                <DataGrid.Columns>
                                                    <DataGridTextColumn     Binding="{Binding DisplayName}" ElementStyle="{StaticResource CenteredTextBlockStyle}" IsReadOnly="True" SortMemberPath="NameSort" MinWidth="200">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_NameColumnLabel}"/>
                                                        </DataGridTextColumn.Header>
                                                    </DataGridTextColumn>

                                                    <DataGridTextColumn     Binding="{Binding DisplayMod}" ElementStyle="{StaticResource CenteredTextBlockStyle}" IsReadOnly="True" SortMemberPath="ModSort" MinWidth="100">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_ModColumnLabel}"/>
                                                        </DataGridTextColumn.Header>
                                                    </DataGridTextColumn>

                                                    <DataGridTemplateColumn  SortMemberPath="CanSpawnSort" MinWidth="50">
                                                        <DataGridTemplateColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_SpawnableColumnLabel}" HorizontalAlignment="Center"/>
                                                        </DataGridTemplateColumn.Header>
                                                        <DataGridTemplateColumn.HeaderStyle>
                                                            <Style TargetType="{x:Type DataGridColumnHeader}">
                                                                <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                            </Style>
                                                        </DataGridTemplateColumn.HeaderStyle>
                                                        <DataGridTemplateColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <CheckBox IsChecked="{Binding CanSpawn, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                            </DataTemplate>
                                                        </DataGridTemplateColumn.CellTemplate>
                                                        <DataGridTemplateColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsSpawnable}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTemplateColumn.CellStyle>
                                                    </DataGridTemplateColumn>

                                                    <DataGridTemplateColumn  SortMemberPath="CanTameSort" MinWidth="50">
                                                        <DataGridTemplateColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_TameableColumnLabel}" HorizontalAlignment="Center"/>
                                                        </DataGridTemplateColumn.Header>
                                                        <DataGridTemplateColumn.HeaderStyle>
                                                            <Style TargetType="{x:Type DataGridColumnHeader}">
                                                                <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                            </Style>
                                                        </DataGridTemplateColumn.HeaderStyle>
                                                        <DataGridTemplateColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <CheckBox IsChecked="{Binding CanTame, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                            </DataTemplate>
                                                        </DataGridTemplateColumn.CellTemplate>
                                                        <DataGridTemplateColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsTameable}" Value="{x:Static cenum:DinoTamable.False}">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTemplateColumn.CellStyle>
                                                    </DataGridTemplateColumn>

                                                    <DataGridTemplateColumn CanUserSort="True" SortMemberPath="ReplacementNameSort" MinWidth="100">
                                                        <DataGridTemplateColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_ReplacementColumnLabel}" />
                                                        </DataGridTemplateColumn.Header>
                                                        <DataGridTemplateColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTemplateColumn.CellStyle>
                                                        <DataGridTemplateColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <ComboBox IsEditable="True" ItemsSource="{Binding BaseDinoList, ElementName=SettingsControl}" SelectedValue="{Binding ReplacementClass, Mode=TwoWay, UpdateSourceTrigger=Explicit}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                            </DataTemplate>
                                                        </DataGridTemplateColumn.CellTemplate>
                                                    </DataGridTemplateColumn>

                                                    <DataGridTextColumn     Binding="{Binding SpawnWeightMultiplier, Mode=TwoWay}" SortMemberPath="SpawnWeightMultiplierSort" ElementStyle="{StaticResource CenteredTextBlockStyle}" Visibility="{Binding Source={x:Reference EditSpawnsCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_SpawnWeightColumnLabel}" />
                                                        </DataGridTextColumn.Header>
                                                        <DataGridTextColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasNameTag}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsSpawnable}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTextColumn.CellStyle>
                                                    </DataGridTextColumn>

                                                    <DataGridTemplateColumn  SortMemberPath="OverrideSpawnLimitPercentageSort" Visibility="{Binding Source={x:Reference EditSpawnsCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTemplateColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_OverrideLimitColumnLabel}" HorizontalAlignment="Center"/>
                                                        </DataGridTemplateColumn.Header>
                                                        <DataGridTemplateColumn.HeaderStyle>
                                                            <Style TargetType="{x:Type DataGridColumnHeader}">
                                                                <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                            </Style>
                                                        </DataGridTemplateColumn.HeaderStyle>
                                                        <DataGridTemplateColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <CheckBox IsChecked="{Binding OverrideSpawnLimitPercentage, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                            </DataTemplate>
                                                        </DataGridTemplateColumn.CellTemplate>
                                                        <DataGridTemplateColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasNameTag}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsSpawnable}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTemplateColumn.CellStyle>
                                                    </DataGridTemplateColumn>

                                                    <DataGridTextColumn     Binding="{Binding SpawnLimitPercentage, Mode=TwoWay}" SortMemberPath="SpawnLimitPercentageSort" ElementStyle="{StaticResource CenteredTextBlockStyle}" Visibility="{Binding Source={x:Reference EditSpawnsCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_SpawnLimitColumnLabel}" />
                                                        </DataGridTextColumn.Header>
                                                        <DataGridTextColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasNameTag}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsSpawnable}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTextColumn.CellStyle>
                                                    </DataGridTextColumn>

                                                    <DataGridTextColumn     Binding="{Binding TamedDamageMultiplier, Mode=TwoWay}" SortMemberPath="TamedDamageMultiplierSort" ElementStyle="{StaticResource CenteredTextBlockStyle}" Visibility="{Binding Source={x:Reference EditTamedDamageCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_TamedDamageColumnLabel}" />
                                                        </DataGridTextColumn.Header>
                                                        <DataGridTextColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsTameable}" Value="{x:Static cenum:DinoTamable.False}">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTextColumn.CellStyle>
                                                    </DataGridTextColumn>

                                                    <DataGridTextColumn     Binding="{Binding TamedResistanceMultiplier, Mode=TwoWay}" SortMemberPath="TamedResistanceMultiplierSort" ElementStyle="{StaticResource CenteredTextBlockStyle}" Visibility="{Binding Source={x:Reference EditTamedResistanceCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_TamedResistanceColumnLabel}" />
                                                        </DataGridTextColumn.Header>
                                                        <DataGridTextColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                    <DataTrigger Binding="{Binding IsTameable}" Value="{x:Static cenum:DinoTamable.False}">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTextColumn.CellStyle>
                                                    </DataGridTextColumn>

                                                    <DataGridTextColumn     Binding="{Binding WildDamageMultiplier, Mode=TwoWay}" SortMemberPath="WildDamageMultiplierSort" ElementStyle="{StaticResource CenteredTextBlockStyle}" Visibility="{Binding Source={x:Reference EditWildDamageCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_WildDamageColumnLabel}" />
                                                        </DataGridTextColumn.Header>
                                                        <DataGridTextColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTextColumn.CellStyle>
                                                    </DataGridTextColumn>

                                                    <DataGridTextColumn     Binding="{Binding WildResistanceMultiplier, Mode=TwoWay}" SortMemberPath="WildResistanceMultiplierSort" ElementStyle="{StaticResource CenteredTextBlockStyle}" Visibility="{Binding Source={x:Reference EditWildResistanceCheckbox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}" MinWidth="60">
                                                        <DataGridTextColumn.Header>
                                                            <TextBlock Text="{DynamicResource ServerSettings_WildResistanceColumnLabel}" />
                                                        </DataGridTextColumn.Header>
                                                        <DataGridTextColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding HasClassName}" Value="False">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTextColumn.CellStyle>
                                                    </DataGridTextColumn>

                                                    <DataGridTemplateColumn Width="20*" CanUserReorder="False">
                                                        <DataGridTemplateColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <Button Width="22" Height="22" Click="RemoveDinoSetting_Click" ToolTip="{DynamicResource ServerSettings_DinoRemoveRecordTooltip}" HorizontalAlignment="Left">
                                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                                </Button>
                                                            </DataTemplate>
                                                        </DataGridTemplateColumn.CellTemplate>
                                                        <DataGridTemplateColumn.CellStyle>
                                                            <Style TargetType="{x:Type DataGridCell}">
                                                                <Style.Triggers>
                                                                    <DataTrigger Binding="{Binding KnownDino}" Value="True">
                                                                        <Setter Property="Visibility" Value="Hidden" />
                                                                    </DataTrigger>
                                                                </Style.Triggers>
                                                            </Style>
                                                        </DataGridTemplateColumn.CellStyle>
                                                    </DataGridTemplateColumn>
                                                </DataGrid.Columns>

                                                <DataGrid.RowStyle>
                                                    <Style TargetType="{x:Type DataGridRow}">
                                                        <Setter Property="HorizontalAlignment" Value="Stretch" />
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        <Setter Property="VerticalAlignment" Value="Stretch" />
                                                        <Setter Property="VerticalContentAlignment" Value="Stretch" />
                                                        <Setter Property="Foreground" Value="Black" />
                                                        <Setter Property="Background" Value="White" />
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Aberration">
                                                                <Setter Property="Background" Value="#EFDAF5" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="ArkPrime">
                                                                <Setter Property="Background" Value="Beige" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Extinction">
                                                                <Setter Property="Background" Value="#FF8B8B" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Genesis">
                                                                <Setter Property="Background" Value="#B3EBFF" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Genesis2">
                                                                <Setter Property="Background" Value="#B3EBFF" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="PrimitivePlus">
                                                                <Setter Property="Background" Value="#E7F4DB" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Ragnarok">
                                                                <Setter Property="Background" Value="#F4E2DB" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="ScorchedEarth">
                                                                <Setter Property="Background" Value="#F4E9DB" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="TheCenter">
                                                                <Setter Property="Background" Value="Beige" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Valguero">
                                                                <Setter Property="Background" Value="#FBFBBE" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="CrystalIsles">
                                                                <Setter Property="Background" Value="#FFFFD6D6" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="LostIsland">
                                                                <Setter Property="Background" Value="#D9F7C4" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Fjordur">
                                                                <Setter Property="Background" Value="#98BBCC" />
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </DataGrid.RowStyle>
                                            </DataGrid>

                                            <GridSplitter Grid.Row="2" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnableWildDinoPerLevelStatMultipliersCheckbox" Text="{DynamicResource ServerSettings_WildDinoPerLevelStatMultipliersLabel}" IsChecked="{Binding PerLevelStatsMultiplier_DinoWild.IsEnabled, Mode=TwoWay}" Margin="0,5,5,5" ToolTip="{DynamicResource ServerSettings_PerLevelStatMultipliersTooltip}"/>
                                                <Button Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoWildPerLevelStatMultipliers}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>
                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoWild[0]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding PerLevelStatsMultiplier_DinoWild[1]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding PerLevelStatsMultiplier_DinoWild[2]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoWild[3]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoWild[4]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"         Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoWild[5]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"        Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoWild[6]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"         Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoWild[7]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoWild[8]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoWild[9]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"        Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding PerLevelStatsMultiplier_DinoWild[10]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding PerLevelStatsMultiplier_DinoWild[11]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoWild.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnableTamedDinoPerLevelStatMultipliersCheckbox" Text="{DynamicResource ServerSettings_TamedDinoPerLevelStatMultipliersLabel}" IsChecked="{Binding PerLevelStatsMultiplier_DinoTamed.IsEnabled, Mode=TwoWay}" Margin="0,5,5,5" ToolTip="{DynamicResource ServerSettings_PerLevelStatTamedMultipliersTooltip}"/>
                                                <Button Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoTamedPerLevelStatMultipliers}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>
                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed[0]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding PerLevelStatsMultiplier_DinoTamed[1]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding PerLevelStatsMultiplier_DinoTamed[2]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}"   Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed[3]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoTamed[4]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"        Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoTamed[5]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoTamed[6]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"        Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed[7]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed[8]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoTamed[9]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding PerLevelStatsMultiplier_DinoTamed[10]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}"   Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding PerLevelStatsMultiplier_DinoTamed[11]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_DinoTamed.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnableTamedDinoPerLevelStatAddMultipliersCheckbox" Text="{DynamicResource ServerSettings_TamedDinoPerLevelStatAddMultipliersLabel}" IsChecked="{Binding PerLevelStatsMultiplier_DinoTamed_Add.IsEnabled, Mode=TwoWay}" Margin="0,5,5,5" ToolTip="{DynamicResource ServerSettings_PerLevelStatTamedAddMultipliersTooltip}"/>
                                                <Button Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoTamedAddPerLevelStatMultipliers}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>
                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[0]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[1]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[2]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[3]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[4]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"         Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[5]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"        Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[6]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"         Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[7]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[8]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[9]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"        Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[10]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding PerLevelStatsMultiplier_DinoTamed_Add[11]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAddMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Add.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox" Text="{DynamicResource ServerSettings_TamedDinoPerLevelStatAffinityMultipliersLabel}" IsChecked="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.IsEnabled, Mode=TwoWay}" Margin="0,5,5,5" ToolTip="{DynamicResource ServerSettings_PerLevelStatTamedAffinityMultipliersTooltip}"/>
                                                <Button Width="22" Height="22" Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoTamedAffinityPerLevelStatMultipliers}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>
                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[0]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[1]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"    Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[2]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}"  Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[3]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[4]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[5]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[6]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"       Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[7]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[8]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"     Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[9]}"  Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"      Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[10]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}"  Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity[11]}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableTamedDinoPerLevelStatAffinityMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"   Visibility="{Binding PerLevelStatsMultiplier_DinoTamed_Affinity.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnableWildDinoMutagenLevelBoostCheckbox" Text="{DynamicResource ServerSettings_DinoWildMutagenLevelBoostLabel}" IsChecked="{Binding MutagenLevelBoost.IsEnabled, Mode=TwoWay}" Margin="0,5,5,5" ToolTip="{DynamicResource ServerSettings_DinoWildMutagenLevelBoostTooltip}"/>
                                                <Button Width="22" Height="22" Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoWildMutagenLevelBoost}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>
                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding MutagenLevelBoost[0]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"     Visibility="{Binding MutagenLevelBoost.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding MutagenLevelBoost[1]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"    Visibility="{Binding MutagenLevelBoost.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding MutagenLevelBoost[2]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}"  Visibility="{Binding MutagenLevelBoost.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding MutagenLevelBoost[3]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"     Visibility="{Binding MutagenLevelBoost.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding MutagenLevelBoost[4]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"       Visibility="{Binding MutagenLevelBoost.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding MutagenLevelBoost[5]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"      Visibility="{Binding MutagenLevelBoost.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding MutagenLevelBoost[6]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"       Visibility="{Binding MutagenLevelBoost.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding MutagenLevelBoost[7]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"     Visibility="{Binding MutagenLevelBoost.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding MutagenLevelBoost[8]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"     Visibility="{Binding MutagenLevelBoost.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding MutagenLevelBoost[9]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"      Visibility="{Binding MutagenLevelBoost.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding MutagenLevelBoost[10]}" Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}"  Visibility="{Binding MutagenLevelBoost.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding MutagenLevelBoost[11]}" Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableWildDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"   Visibility="{Binding MutagenLevelBoost.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock x:Name="EnableBredDinoMutagenLevelBoostCheckbox" Text="{DynamicResource ServerSettings_DinoBredMutagenLevelBoostLabel}" IsChecked="{Binding MutagenLevelBoostBred.IsEnabled, Mode=TwoWay}" Margin="0,5,5,5" ToolTip="{DynamicResource ServerSettings_DinoBredMutagenLevelBoostTooltip}"/>
                                                <Button Width="22" Height="22" Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.DinoBredMutagenLevelBoost}" ToolTip="{DynamicResource ServerSettings_ResetPerLevelStatMultipliersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>


                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="1*"/>
                                                <ColumnDefinition Width="1*"/>
                                            </Grid.ColumnDefinitions>
                                            <StackPanel Grid.Column="0">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatHealthLabel}"    Value="{Binding MutagenLevelBoostBred[0]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatHealthTooltip}"     Visibility="{Binding MutagenLevelBoostBred.Inclusions[0],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatStaminaLabel}"   Value="{Binding MutagenLevelBoostBred[1]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatStaminaTooltip}"    Visibility="{Binding MutagenLevelBoostBred.Inclusions[1],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTorpidityLabel}" Value="{Binding MutagenLevelBoostBred[2]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTorpidityTooltip}"  Visibility="{Binding MutagenLevelBoostBred.Inclusions[2],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatOxygenLabel}"    Value="{Binding MutagenLevelBoostBred[3]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatOxygenTooltip}"     Visibility="{Binding MutagenLevelBoostBred.Inclusions[3],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFoodLabel}"      Value="{Binding MutagenLevelBoostBred[4]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFoodTooltip}"       Visibility="{Binding MutagenLevelBoostBred.Inclusions[4],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWaterLabel}"     Value="{Binding MutagenLevelBoostBred[5]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWaterTooltip}"      Visibility="{Binding MutagenLevelBoostBred.Inclusions[5],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                            <StackPanel Grid.Column="1">
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatTempLabel}"      Value="{Binding MutagenLevelBoostBred[6]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatTempTooltip}"       Visibility="{Binding MutagenLevelBoostBred.Inclusions[6],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatWeightLabel}"    Value="{Binding MutagenLevelBoostBred[7]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatWeightTooltip}"     Visibility="{Binding MutagenLevelBoostBred.Inclusions[7],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatDamageLabel}"    Value="{Binding MutagenLevelBoostBred[8]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatDamageTooltip}"     Visibility="{Binding MutagenLevelBoostBred.Inclusions[8],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatSpeedLabel}"     Value="{Binding MutagenLevelBoostBred[9]}"  Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatSpeedTooltip}"      Visibility="{Binding MutagenLevelBoostBred.Inclusions[9],  Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatFortitudeLabel}" Value="{Binding MutagenLevelBoostBred[10]}" Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatFortitudeTooltip}"  Visibility="{Binding MutagenLevelBoostBred.Inclusions[10], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                                <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StatCraftingLabel}"  Value="{Binding MutagenLevelBoostBred[11]}" Suffix="{DynamicResource SliderUnits_Levels}" SuffixRelativeWidth="Auto" Minimum="0" Maximum="100" SmallChange="1" LargeChange="1" TickFrequency="1" IsEnabled="{Binding ElementName=EnableBredDinoMutagenLevelBoostCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_StatCraftingTooltip}"   Visibility="{Binding MutagenLevelBoostBred.Inclusions[11], Converter={StaticResource BooleanToVisibilityConverter}}"/>
                                            </StackPanel>
                                        </Grid>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <Label Content="{DynamicResource ServerSettings_DinoBreedingMultipliersLabel}"/>
                                        </GroupBox.Header>

                                        <StackPanel>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MatingIntervalLabel}" Value="{Binding MatingIntervalMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_MatingIntervalTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MatingSpeedLabel}" Value="{Binding MatingSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_MatingSpeedTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EggHatchSpeedLabel}" Value="{Binding EggHatchSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EggHatchSpeedTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyMatureSpeedLabel}" Value="{Binding BabyMatureSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyMatureSpeedTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyFoodConsumptionSpeedLabel}" Value="{Binding BabyFoodConsumptionSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyFoodConsumptionSpeedTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <Label Content="{DynamicResource ServerSettings_DinoImprintLabel}"/>
                                        </GroupBox.Header>

                                        <StackPanel>
                                            <cctl:CheckBoxAndTextBlock Margin="5,0,5,5" Text="{DynamicResource ServerSettings_DisableImprintDinoBuffLabel}" IsChecked="{Binding DisableImprintDinoBuff, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DisableImprintDinoBuffTooltip}" HorizontalAlignment="Left"/>
                                            <cctl:CheckBoxAndTextBlock Margin="5,0,5,5" Text="{DynamicResource ServerSettings_AllowAnyoneBabyImprintCuddleLabel}" IsChecked="{Binding AllowAnyoneBabyImprintCuddle, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AllowAnyoneBabyImprintCuddleTooltip}" HorizontalAlignment="Left"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyImprintingStatScaleMultiplierLabel}" Value="{Binding BabyImprintingStatScaleMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyImprintingStatScaleMultiplierTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyImprintAmountMultiplierLabel}" Value="{Binding BabyImprintAmountMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyImprintAmountMultiplierTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyCuddleIntervalMultiplierLabel}" Value="{Binding BabyCuddleIntervalMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyCuddleIntervalMultiplierTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyCuddleGracePeriodMultiplierLabel}" Value="{Binding BabyCuddleGracePeriodMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyCuddleGracePeriodMultiplierTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BabyCuddleLoseImprintQualitySpeedMultiplierLabel}" Value="{Binding BabyCuddleLoseImprintQualitySpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BabyCuddleLoseImprintQualitySpeedMultiplierTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>
                                </StackPanel>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionEnvironment" IsExpanded="{Binding Config.SectionEnvironmentIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_EnvironmentLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionEnvironment, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.EnvironmentSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <StackPanel>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_DinoSpawnsLabel}"                 Value="{Binding DinoCountMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DinoSpawnsTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_TamingSpeedLabel}"                Value="{Binding TamingSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_TamingSpeedTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_HarvestAmountLabel}"              Value="{Binding HarvestAmountMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HarvestAmountTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_ResourceRespawnLabel}"            Value="{Binding ResourcesRespawnPeriodMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_ResourceRespawnTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_SuppressReplenishPlayerLabel}"    Value="{Binding ResourceNoReplenishRadiusPlayers}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_SuppressReplenishPlayerTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_SuppressReplenishStructureLabel}" Value="{Binding ResourceNoReplenishRadiusStructures}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_SuppressReplenishStructureTooltip}"/>

                                    <cctl:CheckBoxAndTextBlock Margin="5" Text="{DynamicResource ServerSettings_ClampResourceHarvestDamageLabel}" IsChecked="{Binding ClampResourceHarvestDamage, Mode=TwoWay}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ClampResourceHarvestDamageTooltip}"/>

                                    <cctl:CheckBoxAndTextBlock Margin="5" Text="{DynamicResource ServerSettings_UseOptimizedHarvestingHealthLabel}" IsChecked="{Binding UseOptimizedHarvestingHealth, Mode=TwoWay}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseOptimizedHarvestingHealthTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_HarvestHealthLabel}" Value="{Binding HarvestHealthMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HarvestHealthTooltip}"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock Name="EnableHarvestResourceItemAmountClassMultipliersCheckbox" Text="{DynamicResource ServerSettings_CustomHarvestMultipliersLabel}" IsChecked="{Binding HarvestResourceItemAmountClassMultipliers.IsEnabled, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_CustomHarvestMultipliersTooltip}" VerticalAlignment="Center"/>
                                                <Button   Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" Click="HarvestResourceItemAmountClassMultipliers_Reset" ToolTip="{DynamicResource ServerSettings_ResetCustomHarvestTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                                </Button>
                                                <Button Margin="5,0,0,0" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" Click="PasteCustomResources_Click" ToolTip="{DynamicResource ServerSettings_PasteCustomResourcesTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                                </Button>
                                                <Button Margin="5,0,0,0" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" Click="SaveCustomResources_Click" ToolTip="{DynamicResource ServerSettings_SaveCustomResourcesTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                                <RowDefinition Height="{Binding Config.EnvironmentListBoxHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                                <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                                <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                            </Grid.RowDefinitions>

                                            <StackPanel Grid.Row="0" Orientation="Horizontal" DataContext="{Binding}" Margin="0,2,0,0">
                                                <Label Content="{DynamicResource General_FilterLabel}"/>
                                                <ComboBox Name="ModResourceComboBox" ItemsSource="{Binding BaseResourceModList, ElementName=SettingsControl}" SelectedValue="{Binding SelectedModResource, ElementName=SettingsControl, Mode=TwoWay}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" Margin="0,0,2,0" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" HorizontalAlignment="Left" VerticalContentAlignment="Center" MinWidth="200" Width="Auto" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                <TextBox Name="ModResourceTextbox" Text="{Binding ResourceFilterString, ElementName=SettingsControl, Mode=TwoWay}" VerticalContentAlignment="Center" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" Padding="2" Margin="5,0,2,0" HorizontalAlignment="Left" MinWidth="300" Width="Auto" />
                                                <Button Width="22" Height="22" Margin="5,0,2,0" HorizontalAlignment="Left" Click="FilterResource_Click" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" ToolTip="{DynamicResource General_FilterButtonTooltip}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Filter.ico,Size=32}"/>
                                                </Button>
                                            </StackPanel>

                                            <ListBox Grid.Row="1" Margin="0,5,0,0" Name="HarvestResourceItemAmountClassMultipliersListBox" ItemsSource="{Binding Source={StaticResource ResourcesViewSource}}" IsEnabled="{Binding ElementName=EnableHarvestResourceItemAmountClassMultipliersCheckbox, Path=IsChecked}" HorizontalContentAlignment="Stretch">
                                                <ListBox.ItemTemplate>
                                                    <DataTemplate>
                                                        <Border BorderBrush="Black" BorderThickness="1">
                                                            <Grid>
                                                                <Grid.RowDefinitions>
                                                                    <RowDefinition/>
                                                                    <RowDefinition/>
                                                                </Grid.RowDefinitions>
                                                                <Grid.ColumnDefinitions>
                                                                    <ColumnDefinition Width="Auto" MinWidth="150"/>
                                                                    <ColumnDefinition Width="Auto" MinWidth="150"/>
                                                                    <ColumnDefinition Width="1*"/>
                                                                    <ColumnDefinition Width="Auto" MinWidth="20"/>
                                                                </Grid.ColumnDefinitions>

                                                                <Label  Grid.Row="0" Grid.Column="0" Content="{Binding DisplayName}" FontSize="12" FontWeight="Bold" VerticalAlignment="Center"/>
                                                                <Label  Grid.Row="0" Grid.Column="1" Content="{Binding DisplayMod}" VerticalAlignment="Center"/>
                                                                <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="2" Margin="5,0,0,0" Label="{DynamicResource ServerSettings_HarvestAmountEntryLabel}" Value="{Binding Multiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="100" SmallChange="1" LargeChange="10" TickFrequency="10" LabelRelativeWidth="120" ValueRelativeWidth="100" SuffixRelativeWidth="20" HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
                                                                <Button Grid.Row="0" Grid.Column="3" Width="22" Height="22" Click="RemoveHarvestResource_Click" ToolTip="{DynamicResource ServerSettings_HarvestRemoveRecordTooltip}">
                                                                    <Button.Style>
                                                                        <Style TargetType="{x:Type Button}">
                                                                            <Style.Triggers>
                                                                                <DataTrigger Binding="{Binding KnownResource}" Value="True">
                                                                                    <Setter Property="Visibility" Value="Hidden" />
                                                                                </DataTrigger>
                                                                            </Style.Triggers>
                                                                        </Style>
                                                                    </Button.Style>
                                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                                </Button>
                                                            </Grid>
                                                        </Border>
                                                    </DataTemplate>
                                                </ListBox.ItemTemplate>
                                                <ListBox.ItemContainerStyle>
                                                    <Style TargetType="{x:Type ListBoxItem}" >
                                                        <Setter Property="Background" Value="White" />
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Aberration">
                                                                <Setter Property="Background" Value="#EFDAF5" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="ArkPrime">
                                                                <Setter Property="Background" Value="Beige" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Extinction">
                                                                <Setter Property="Background" Value="#FF8B8B" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Genesis">
                                                                <Setter Property="Background" Value="#B3EBFF" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Genesis2">
                                                                <Setter Property="Background" Value="#B3EBFF" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="PrimitivePlus">
                                                                <Setter Property="Background" Value="#E7F4DB" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Ragnarok">
                                                                <Setter Property="Background" Value="#F4E2DB" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="ScorchedEarth">
                                                                <Setter Property="Background" Value="#F4E9DB" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="TheCenter">
                                                                <Setter Property="Background" Value="Beige" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Valguero">
                                                                <Setter Property="Background" Value="#FBFBBE" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="CrystalIsles">
                                                                <Setter Property="Background" Value="#FFD6D6" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="LostIsland">
                                                                <Setter Property="Background" Value="#D9F7C4" />
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Mod}" Value="Fjordur">
                                                                <Setter Property="Background" Value="#98BBCC" />
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </ListBox.ItemContainerStyle>
                                            </ListBox>

                                            <GridSplitter Grid.Row="2" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                                        </Grid>
                                    </GroupBox>

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_BaseTemperatureMultiplierLabel}" Value="{Binding BaseTemperatureMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_BaseTemperatureMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_DayCycleSpeedLabel}" Value="{Binding DayCycleSpeedScale}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DayCycleSpeedTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_DayTimeSpeedLabel}" Value="{Binding DayTimeSpeedScale}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DayTimeSpeedTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_NightTimeSpeedLabel}" Value="{Binding NightTimeSpeedScale}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_NightTimeSpeedTooltip}"/>
                                    <cctl:CheckBoxAndTextBlock Margin="5" Text="{DynamicResource ServerSettings_DisableWeatherFogLabel}" IsChecked="{Binding DisableWeatherFog, Mode=TwoWay}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableWeatherFogTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_GlobalSpoilingTimeLabel}" Value="{Binding GlobalSpoilingTimeMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_GlobalSpoilingTimeTooltip}"/>
                                    <cctl:CheckBoxAndTextBlock Margin="5" Text="{DynamicResource ServerSettings_ClampItemSpoilingTimesLabel}" IsChecked="{Binding ClampItemSpoilingTimes, Mode=TwoWay}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_ClampItemSpoilingTimesTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_GlobalItemDecompTimeLabel}" Value="{Binding GlobalItemDecompositionTimeMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_GlobalItemDecompTimeTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_GlobalCorpseDecompTimeLabel}" Value="{Binding GlobalCorpseDecompositionTimeMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_GlobalCorpseDecompTimeTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_CropDecaySpeedLabel}" Value="{Binding CropDecaySpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_CropDecaySpeedTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_CropGrowthSpeedLabel}" Value="{Binding CropGrowthSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_CropGrowthSpeedTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EggLayingIntervalLabel}" Value="{Binding LayEggIntervalMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EggLayingIntervalTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_PoopIntervalLabel}" Value="{Binding PoopIntervalMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_PoopIntervalTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_HairGrowthSpeedMultiplierLabel}" Value="{Binding HairGrowthSpeedMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_HairGrowthSpeedMultiplierTooltip}"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <Label Content="{DynamicResource ServerSettings_EarnedXPMultipliersLabel}"/>
                                        </GroupBox.Header>

                                        <StackPanel>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EarnedXPMultipliers_GenericLabel}" Value="{Binding GenericXPMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EarnedXPMultipliers_GenericTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EarnedXPMultipliers_CraftingLabel}" Value="{Binding CraftXPMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EarnedXPMultipliers_CraftingTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EarnedXPMultipliers_HarvestingLabel}" Value="{Binding HarvestXPMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EarnedXPMultipliers_HarvestingTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EarnedXPMultipliers_KillingLabel}" Value="{Binding KillXPMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EarnedXPMultipliers_KillingTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_EarnedXPMultipliers_SpecialLabel}" Value="{Binding SpecialXPMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_EarnedXPMultipliers_SpecialTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>
                                </StackPanel>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionStructures" IsExpanded="{Binding Config.SectionStructuresIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_StructuresLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionStructures, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.StructuresSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <StackPanel Grid.Column="0">
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_DisableStructurePlacementCollisionLabel}" IsChecked="{Binding DisableStructurePlacementCollision, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DisableStructurePlacementCollisionTooltip}" HorizontalAlignment="Left"/>

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StructureResistanceLabel}" Value="{Binding StructureResistanceMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_StructureResistanceTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StructureDamageLabel}" Value="{Binding StructureDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_StructureDamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StructureDamageRepairCooldownLabel}" Value="{Binding StructureDamageRepairCooldown}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="0" Maximum="1000" SmallChange="10" LargeChange="50" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_StructureDamageRepairCooldownTooltip}" />

                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_EnablePvPStructureDecayLabel}" IsChecked="{Binding PvPStructureDecay, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_EnablePvPStructureDecayTooltip}" HorizontalAlignment="Left"/>

                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_PvPZoneStructureDamageLabel}" Value="{Binding PvPZoneStructureDamageMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_PvPZoneStructureDamageTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxStructuresVisibleLabel}" Value="{Binding MaxStructuresInRange}" Minimum="50" Maximum="50000" LargeChange="50" SmallChange="10" TickFrequency="100" Suffix="{DynamicResource SliderUnits_Items}" ToolTip="{DynamicResource ServerSettings_MaxStructuresVisibleTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_PerPlatformStructuresMultiplierLabel}" Value="{Binding PerPlatformMaxStructuresMultiplier}" Minimum="0" Maximum="10" LargeChange="1" SmallChange="0.1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_PerPlatformStructuresMultiplierTooltip}"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_MaxPlatformSaddleStructuresLabel}" Value="{Binding MaxPlatformSaddleStructureLimit}" Minimum="0" Maximum="65535" LargeChange="50" SmallChange="10" TickFrequency="100" Suffix="{DynamicResource SliderUnits_Items}" ToolTip="{DynamicResource ServerSettings_MaxPlatformSaddleStructuresTooltip}"/>

                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_OverrideStructurePlatformPreventionLabel}" IsChecked="{Binding OverrideStructurePlatformPrevention, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_OverrideStructurePlatformPreventionTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_AllowUnalignedDinosOnFlyerPlatformLabel}" IsChecked="{Binding FlyerPlatformAllowUnalignedDinoBasing, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AllowUnalignedDinosOnFlyerPlatformTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_PvEAllowStructuresAtSupplyDropsLabel}" IsChecked="{Binding PvEAllowStructuresAtSupplyDrops, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_PvEAllowStructuresAtSupplyDropsTooltip}" HorizontalAlignment="Left"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock x:Name="StructureDecayPvECheckbox" IsChecked="{Binding EnableStructureDecayPvE, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableStructureDecayPvELabel}" ToolTip="{DynamicResource ServerSettings_EnableStructureDecayPvETooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel Orientation="Vertical">
                                            <cctl:AnnotatedSlider Margin="1" IsEnabled="{Binding ElementName=StructureDecayPvECheckbox, Path=IsChecked}" Label="{DynamicResource ServerSettings_StructureDecayPeriodLabel}" Value="{Binding PvEStructureDecayDestructionPeriod}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_StructureDecayPeriodTooltip}" />
                                            <cctl:AnnotatedSlider Margin="1" IsEnabled="{Binding ElementName=StructureDecayPvECheckbox, Path=IsChecked}" Label="{DynamicResource ServerSettings_StructureDecayMultiplierLabel}" Value="{Binding PvEStructureDecayPeriodMultiplier}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_StructureDecayMultiplierTooltip}" />
                                        </StackPanel>
                                    </GroupBox>

                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_EnableAutoDestroyStructuresLabel}" IsChecked="{Binding EnableAutoDestroyStructures, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_EnableAutoDestroyStructuresTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_AutoDestroyOldStructuresLabel}" Value="{Binding AutoDestroyOldStructuresMultiplier}" Minimum="0" Maximum="10" LargeChange="1" SmallChange="0.1" TickFrequency="1" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_AutoDestroyOldStructuresTooltip}"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_OnlyAutoDestroyCoreStructuresLabel}" IsChecked="{Binding OnlyAutoDestroyCoreStructures, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_OnlyAutoDestroyCoreStructuresTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_OnlyDecayUnsnappedCoreStructuresLabel}" IsChecked="{Binding OnlyDecayUnsnappedCoreStructures, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_OnlyDecayUnsnappedCoreStructuresTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_FastDecayUnsnappedCoreStructuresLabel}" IsChecked="{Binding FastDecayUnsnappedCoreStructures, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_FastDecayUnsnappedCoreStructuresTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_DestroyUnconnectedWaterPipesLabel}" IsChecked="{Binding DestroyUnconnectedWaterPipes, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_DestroyUnconnectedWaterPipesTooltip}" HorizontalAlignment="Left"/>


                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock x:Name="FastDecayIntervalCheckbox" IsChecked="{Binding EnableFastDecayInterval, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableFastDecayIntervalLabel}" ToolTip="{DynamicResource ServerSettings_EnableFastDecayIntervalTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel Orientation="Vertical">
                                            <cctl:AnnotatedSlider Margin="1" IsEnabled="{Binding ElementName=FastDecayIntervalCheckbox, Path=IsChecked}" Label="{DynamicResource ServerSettings_FastDecayIntervalLabel}" Value="{Binding FastDecayInterval}" Minimum="0" Maximum="100000" LargeChange="1000" SmallChange="100" TickFrequency="10000" Suffix="{DynamicResource SliderUnits_Seconds}" ToolTip="{DynamicResource ServerSettings_FastDecayIntervalTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>

                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_ForceAllStructureLockingLabel}" IsChecked="{Binding ForceAllStructureLocking, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_ForceAllStructureLockingTooltip}" HorizontalAlignment="Left"/>
                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_PassiveDefensesDamageDinosLabel}" IsChecked="{Binding PassiveDefensesDamageRiderlessDinos, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_PassiveDefensesDamageDinosTooltip}" HorizontalAlignment="Left"/>

                                    <cctl:CheckBoxAndTextBlock              Margin="5" Text="{DynamicResource ServerSettings_HardLimitTurretsInRangeLabel}" IsChecked="{Binding HardLimitTurretsInRange, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_HardLimitTurretsInRangeTooltip}" HorizontalAlignment="Left"/>
                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <cctl:CheckBoxAndTextBlock x:Name="LimitTurretsInRangeCheckbox" IsChecked="{Binding LimitTurretsInRange, Mode=TwoWay}" Text="{DynamicResource ServerSettings_LimitTurretsInRangeLabel}" ToolTip="{DynamicResource ServerSettings_LimitTurretsInRangeTooltip}"/>
                                        </GroupBox.Header>

                                        <StackPanel Orientation="Vertical">
                                            <cctl:AnnotatedSlider Margin="1" IsEnabled="{Binding ElementName=LimitTurretsInRangeCheckbox, Path=IsChecked}" Label="{DynamicResource ServerSettings_LimitTurretsRangeLabel}" Value="{Binding LimitTurretsRange}" Minimum="1" Maximum="1000000" LargeChange="1000" SmallChange="100" TickFrequency="10000" Suffix="{DynamicResource SliderUnits_Units}" ToolTip="{DynamicResource ServerSettings_LimitTurretsRangeTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" IsEnabled="{Binding ElementName=LimitTurretsInRangeCheckbox, Path=IsChecked}" Label="{DynamicResource ServerSettings_LimitTurretsNumLabel}" Value="{Binding LimitTurretsNum}" Minimum="1" Maximum="1000" LargeChange="100" SmallChange="10" TickFrequency="100" ToolTip="{DynamicResource ServerSettings_LimitTurretsNumTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <Label Content="{DynamicResource ServerSettings_StructurePickupLabel}"/>
                                        </GroupBox.Header>

                                        <StackPanel>
                                            <cctl:CheckBoxAndTextBlock     Margin="5" IsChecked="{Binding AlwaysAllowStructurePickup, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AlwaysAllowStructurePickupLabel}" ToolTip="{DynamicResource ServerSettings_AlwaysAllowStructurePickupTooltip}" HorizontalAlignment="Left"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StructurePickupTimeAfterPlacementLabel}" Value="{Binding StructurePickupTimeAfterPlacement}" Minimum="1" Maximum="3600" LargeChange="30" SmallChange="5" TickFrequency="60" Suffix="{DynamicResource SliderUnits_Seconds}" ToolTip="{DynamicResource ServerSettings_StructurePickupTimeAfterPlacementTooltip}"/>
                                            <cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_StructurePickupHoldDurationLabel}" Value="{Binding StructurePickupHoldDuration}" Minimum="0" Maximum="60" LargeChange="5" SmallChange="1" TickFrequency="5" Suffix="{DynamicResource SliderUnits_Seconds}" ToolTip="{DynamicResource ServerSettings_StructurePickupHoldDurationTooltip}"/>
                                        </StackPanel>
                                    </GroupBox>

                                    <cctl:CheckBoxAndTextBlock Margin="5" IsChecked="{Binding AllowIntegratedSPlusStructures, Mode=TwoWay}" Text="{DynamicResource ServerSettings_AllowIntegratedSPlusStructuresLabel}" ToolTip="{DynamicResource ServerSettings_AllowIntegratedSPlusStructuresTooltip}" HorizontalAlignment="Left"/>

                                    <GroupBox Header="{DynamicResource Mod_Genesis}" Style="{StaticResource GroupBoxStyle}">
                                        <Grid>
                                            <Grid.RowDefinitions>
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding GenesisUseStructuresPreventionVolumes, Mode=TwoWay}" Text="{DynamicResource ServerSettings_GenesisUseStructuresPreventionVolumesLabel}" ToolTip="{DynamicResource ServerSettings_GenesisUseStructuresPreventionVolumesTooltip}" HorizontalAlignment="Left"/>
                                        </Grid>
                                    </GroupBox>
                                </StackPanel>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionEngrams" IsExpanded="{Binding Config.SectionEngramsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_EngramsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionEngrams, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.EngramsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.EngramsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>

                                <cctl:CheckBoxAndTextBlock Grid.Row="0" Margin="5" Text="{DynamicResource ServerSettings_AutoUnlockAllEngramsLabel}" IsChecked="{Binding AutoUnlockAllEngrams, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_AutoUnlockAllEngramsTooltip}" HorizontalAlignment="Left"/>

                                <GroupBox Grid.Row="1" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <cctl:CheckBoxAndTextBlock IsChecked="{Binding EngramSettings.IsEnabled, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableEngramsOverrideLabel}" VerticalAlignment="Center" ToolTip="{DynamicResource ServerSettings_EnableEngramsOverrideTooltip}"/>
                                            <Button Margin="20,0,0,0" Click="Engrams_Reset" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_ResetEngramsLabel}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" Click="PasteCustomEngrams_Click" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_PasteCustomEngramsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" Click="SaveCustomEngrams_Click" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_SaveCustomEngramsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                            </Button>

                                            <Button Margin="20,0,0,0" Click="ImportCustomEngrams_Click" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_ImportCustomEngramsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderImport.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" Click="ExportCustomEngrams_Click" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_ExportCustomEngramsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderExport.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="Auto"/>
                                            <RowDefinition Height="*"/>
                                        </Grid.RowDefinitions>

                                        <StackPanel Grid.Row="0" Orientation="Horizontal"  Margin="0,2,0,0">
                                            <cctl:CheckBoxAndTextBlock x:Name="OnlyAllowSpecifiedEngramsCheckBox"  Margin="5" Text="{DynamicResource ServerSettings_OnlyAllowSpecifiedEngramsLabel}" IsChecked="{Binding OnlyAllowSpecifiedEngrams, Mode=TwoWay}" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_OnlyAllowSpecifiedEngramsTooltip}" HorizontalAlignment="Left"/>
                                            <Button Width="22" Height="22" Margin="20,0,0,0" Click="Engrams_SelectAll" ToolTip="{DynamicResource ServerSettings_EngramsSelectAllTooltip}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Checked.ico,Size=32}"/>
                                                <Button.Style>
                                                    <Style BasedOn="{StaticResource ButtonStyle1}" TargetType="{x:Type Button}">
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding EngramSettings.IsEnabled}" Value="false">
                                                                <Setter Property="IsEnabled" Value="False"/>
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding OnlyAllowSpecifiedEngrams}" Value="false">
                                                                <Setter Property="Visibility" Value="Collapsed"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Button.Style>
                                            </Button>
                                            <Button Width="22" Height="22" Margin="5,0,0,0" Click="Engrams_UnselectAll" ToolTip="{DynamicResource ServerSettings_EngramsUnselectAllTooltip}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Unchecked.ico,Size=32}"/>
                                                <Button.Style>
                                                    <Style BasedOn="{StaticResource ButtonStyle1}" TargetType="{x:Type Button}">
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding EngramSettings.IsEnabled}" Value="false">
                                                                <Setter Property="IsEnabled" Value="False"/>
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding OnlyAllowSpecifiedEngrams}" Value="false">
                                                                <Setter Property="Visibility" Value="Collapsed"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </Button.Style>
                                            </Button>
                                        </StackPanel>

                                        <StackPanel Grid.Row="1" Orientation="Horizontal" DataContext="{Binding}">
                                            <Label Content="{DynamicResource General_FilterLabel}"/>
                                            <ComboBox Name="ModEngramComboBox" ItemsSource="{Binding BaseEngramModList, ElementName=SettingsControl}" SelectedValue="{Binding SelectedModEngram, ElementName=SettingsControl, Mode=TwoWay}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" Margin="0,0,2,0" IsEnabled="{Binding EngramSettings.IsEnabled}" HorizontalAlignment="Left" VerticalContentAlignment="Center" MinWidth="200" Width="Auto" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                            <TextBox Name="ModEngramTextbox" Text="{Binding EngramFilterString, ElementName=SettingsControl, Mode=TwoWay}" VerticalContentAlignment="Center" IsEnabled="{Binding EngramSettings.IsEnabled}" Padding="2" Margin="5,0,2,0" HorizontalAlignment="Left" MinWidth="300" Width="Auto" />
                                            <Button Margin="5,0,2,0" Width="22" Height="22" HorizontalAlignment="Left" VerticalAlignment="Center" Click="FilterEngram_Click" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource General_FilterButtonTooltip}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Filter.ico,Size=32}"/>
                                            </Button>
                                            <cctl:CheckBoxAndTextBlock Name="FilterOnlySelectedEngramsCheckBox" Margin="5,0,0,0" Text="{DynamicResource ServerSettings_FilterOnlySelectedEngramsLabel}" IsChecked="{Binding FilterOnlySelectedEngrams, ElementName=SettingsControl, Mode=TwoWay}" ToolTip="{DynamicResource ServerSettings_FilterOnlySelectedEngramsTooltip}" HorizontalAlignment="Left" VerticalAlignment="Center" VerticalContentAlignment="Center">
                                                <cctl:CheckBoxAndTextBlock.Style>
                                                    <Style TargetType="{x:Type cctl:CheckBoxAndTextBlock}">
                                                        <Style.Triggers>
                                                            <DataTrigger Binding="{Binding Settings.EngramSettings.IsEnabled, ElementName=SettingsControl}" Value="false">
                                                                <Setter Property="IsEnabled" Value="False"/>
                                                            </DataTrigger>
                                                            <DataTrigger Binding="{Binding Settings.OnlyAllowSpecifiedEngrams, ElementName=SettingsControl}" Value="false">
                                                                <Setter Property="Visibility" Value="Collapsed"/>
                                                            </DataTrigger>
                                                        </Style.Triggers>
                                                    </Style>
                                                </cctl:CheckBoxAndTextBlock.Style>
                                            </cctl:CheckBoxAndTextBlock>
                                        </StackPanel>

                                        <DataGrid Grid.Row="2" Margin="0,5,0,0" Name="EngramsOverrideGrid" ItemsSource="{Binding Source={StaticResource EngramsViewSource}}" IsEnabled="{Binding EngramSettings.IsEnabled}" FrozenColumnCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="0" GridLinesVisibility="Horizontal">
                                            <DataGrid.Resources>
                                                <Style TargetType="{x:Type DataGridRow}">
                                                    <Style.Resources>
                                                        <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                        <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                    </Style.Resources>
                                                </Style>
                                            </DataGrid.Resources>

                                            <DataGrid.HorizontalGridLinesBrush>
                                                <SolidColorBrush Color="#FFFFFFFF"/>
                                            </DataGrid.HorizontalGridLinesBrush>

                                            <DataGrid.Columns>
                                                <DataGridTemplateColumn SortMemberPath="SaveEngramOverrideSort" Visibility="{Binding Source={x:Reference OnlyAllowSpecifiedEngramsCheckBox}, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
                                                    <DataGridTemplateColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_SaveEngramOverrideColumnLabel}" ToolTip="{DynamicResource ServerSettings_SaveEngramOverrideColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTemplateColumn.Header>
                                                    <DataGridTemplateColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTemplateColumn.HeaderStyle>
                                                    <DataGridTemplateColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <CheckBox IsChecked="{Binding SaveEngramOverride, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                        </DataTemplate>
                                                    </DataGridTemplateColumn.CellTemplate>
                                                </DataGridTemplateColumn>

                                                
                                                <DataGridTextColumn     Binding="{Binding DisplayName}" ElementStyle="{StaticResource CenteredTextBlockStyle}" IsReadOnly="True" SortMemberPath="NameSort" MinWidth="200">
                                                    <DataGridTextColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsNameColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsNameColumnTooltip}" HorizontalAlignment="Left"/>
                                                    </DataGridTextColumn.Header>
                                                    <DataGridTextColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTextColumn.HeaderStyle>
                                                </DataGridTextColumn>

                                                <DataGridTextColumn     Binding="{Binding DisplayMod}" ElementStyle="{StaticResource CenteredTextBlockStyle}" IsReadOnly="True" SortMemberPath="ModSort" MinWidth="100">
                                                    <DataGridTextColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsModColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsModColumnTooltip}" HorizontalAlignment="Left"/>
                                                    </DataGridTextColumn.Header>
                                                    <DataGridTextColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTextColumn.HeaderStyle>
                                                </DataGridTextColumn>

                                                <DataGridTemplateColumn SortMemberPath="IsTekgramSort">
                                                    <DataGridTemplateColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsIsTekgramColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsIsTekgramColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTemplateColumn.Header>
                                                    <DataGridTemplateColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTemplateColumn.HeaderStyle>
                                                    <DataGridTemplateColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <CheckBox IsChecked="{Binding IsTekgram}" IsEnabled="False" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                        </DataTemplate>
                                                    </DataGridTemplateColumn.CellTemplate>
                                                </DataGridTemplateColumn>

                                                <DataGridTextColumn     Binding="{Binding EngramLevelRequirement, Mode=TwoWay}" ElementStyle="{StaticResource CenteredTextBlockStyle}" SortMemberPath="EngramLevelRequirementSort" MinWidth="60">
                                                    <DataGridTextColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsLevelColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsLevelColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTextColumn.Header>
                                                    <DataGridTextColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTextColumn.HeaderStyle>
                                                    <DataGridTextColumn.CellStyle>
                                                        <Style TargetType="{x:Type DataGridCell}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding IsTekgram}" Value="True">
                                                                    <Setter Property="Visibility" Value="Collapsed" />
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </DataGridTextColumn.CellStyle>
                                                </DataGridTextColumn>

                                                <DataGridTextColumn     Binding="{Binding EngramPointsCost, Mode=TwoWay}" ElementStyle="{StaticResource CenteredTextBlockStyle}" SortMemberPath="EngramPointsCostSort" MinWidth="60">
                                                    <DataGridTextColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsCostColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsCostColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTextColumn.Header>
                                                    <DataGridTextColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTextColumn.HeaderStyle>
                                                    <DataGridTextColumn.CellStyle>
                                                        <Style TargetType="{x:Type DataGridCell}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding IsTekgram}" Value="True">
                                                                    <Setter Property="Visibility" Value="Collapsed" />
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </DataGridTextColumn.CellStyle>
                                                </DataGridTextColumn>

                                                <DataGridTemplateColumn SortMemberPath="EngramHiddenSort">
                                                    <DataGridTemplateColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsHiddenColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsHiddenColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTemplateColumn.Header>
                                                    <DataGridTemplateColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTemplateColumn.HeaderStyle>
                                                    <DataGridTemplateColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <CheckBox IsChecked="{Binding EngramHidden, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                        </DataTemplate>
                                                    </DataGridTemplateColumn.CellTemplate>
                                                </DataGridTemplateColumn>

                                                <DataGridTemplateColumn SortMemberPath="RemoveEngramPreReqSort">
                                                    <DataGridTemplateColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsRemovePrereqsColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsRemovePrereqsColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTemplateColumn.Header>
                                                    <DataGridTemplateColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTemplateColumn.HeaderStyle>
                                                    <DataGridTemplateColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <CheckBox IsChecked="{Binding RemoveEngramPreReq, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                        </DataTemplate>
                                                    </DataGridTemplateColumn.CellTemplate>
                                                </DataGridTemplateColumn>

                                                <DataGridTemplateColumn SortMemberPath="EngramAutoUnlockSort">
                                                    <DataGridTemplateColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsAutoUnlockColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsAutoUnlockColumnTooltip}" HorizontalAlignment="Center"/>
                                                    </DataGridTemplateColumn.Header>
                                                    <DataGridTemplateColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTemplateColumn.HeaderStyle>
                                                    <DataGridTemplateColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <CheckBox IsChecked="{Binding EngramAutoUnlock, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                        </DataTemplate>
                                                    </DataGridTemplateColumn.CellTemplate>
                                                </DataGridTemplateColumn>

                                                <DataGridTextColumn     Binding="{Binding LevelToAutoUnlock, Mode=TwoWay}" ElementStyle="{StaticResource CenteredTextBlockStyle}" SortMemberPath="LevelToAutoUnlockSort" MinWidth="60">
                                                    <DataGridTextColumn.Header>
                                                        <TextBlock Text="{DynamicResource ServerSettings_EngramsLevelToAutoUnlockColumnLabel}" ToolTip="{DynamicResource ServerSettings_EngramsLevelToAutoUnlockColumnTooltip}" HorizontalAlignment="Left"/>
                                                    </DataGridTextColumn.Header>
                                                    <DataGridTextColumn.HeaderStyle>
                                                        <Style TargetType="{x:Type DataGridColumnHeader}">
                                                            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                        </Style>
                                                    </DataGridTextColumn.HeaderStyle>
                                                </DataGridTextColumn>

                                                <DataGridTemplateColumn Width="Auto" CanUserReorder="False" CanUserResize="False">
                                                    <DataGridTemplateColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Button Width="22" Height="22" Click="RemoveEngramOverride_Click" ToolTip="{DynamicResource ServerSettings_EngramsRemoveRecordTooltip}">
                                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                            </Button>
                                                        </DataTemplate>
                                                    </DataGridTemplateColumn.CellTemplate>
                                                    <DataGridTemplateColumn.CellStyle>
                                                        <Style TargetType="{x:Type DataGridCell}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding KnownEngram}" Value="True">
                                                                    <Setter Property="Visibility" Value="Hidden" />
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </DataGridTemplateColumn.CellStyle>
                                                </DataGridTemplateColumn>
                                            </DataGrid.Columns>

                                            <DataGrid.RowStyle>
                                                <Style TargetType="{x:Type DataGridRow}">
                                                    <Setter Property="HorizontalAlignment" Value="Stretch" />
                                                    <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    <Setter Property="VerticalAlignment" Value="Stretch" />
                                                    <Setter Property="VerticalContentAlignment" Value="Stretch" />
                                                    <Setter Property="Foreground" Value="Black" />
                                                    <Setter Property="Background" Value="White" />
                                                    <Style.Triggers>
                                                        <DataTrigger Binding="{Binding IsTekgram}" Value="True">
                                                            <Setter Property="Foreground" Value="Blue" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Aberration">
                                                            <Setter Property="Background" Value="#EFDAF5" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="ArkPrime">
                                                            <Setter Property="Background" Value="Beige" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Extinction">
                                                            <Setter Property="Background" Value="#FF8B8B" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Genesis">
                                                            <Setter Property="Background" Value="#B3EBFF" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Genesis2">
                                                            <Setter Property="Background" Value="#B3EBFF" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="PrimitivePlus">
                                                            <Setter Property="Background" Value="#E7F4DB" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Ragnarok">
                                                            <Setter Property="Background" Value="#F4E2DB" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="ScorchedEarth">
                                                            <Setter Property="Background" Value="#F4E9DB" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="TheCenter">
                                                            <Setter Property="Background" Value="Beige" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Valguero">
                                                            <Setter Property="Background" Value="#FBFBBE" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="CrystalIsles">
                                                            <Setter Property="Background" Value="#FFD6D6" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="LostIsland">
                                                            <Setter Property="Background" Value="#D9F7C4" />
                                                        </DataTrigger>
                                                        <DataTrigger Binding="{Binding Mod}" Value="Fjordur">
                                                            <Setter Property="Background" Value="#98BBCC" />
                                                        </DataTrigger>
                                                    </Style.Triggers>
                                                </Style>
                                            </DataGrid.RowStyle>
                                        </DataGrid>
                                    </Grid>
                                </GroupBox>

                                <GridSplitter Grid.Row="2" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionServerFiles" IsExpanded="{Binding Config.SectionServerFilesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="{Binding Config.ServerFilesGridHeight, ElementName=SettingsControl, FallbackValue=250, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="1*"/>
                                    <ColumnDefinition Width="1*"/>
                                    <ColumnDefinition Width="1*"/>
                                </Grid.ColumnDefinitions>

                                <Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" FontWeight="Bold" Content="{DynamicResource ServerSettings_ServerFilesWarningLabel}"/>

                                <GroupBox Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_ServerFilesAdminLabel}"/>
                                            <Button Click="AddAdminPlayer_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddAdminPlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Click="ClearAdminPlayers_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearAdminPlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Click="ReloadAdminPlayers_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ReloadAdminPlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <GroupBox.Style>
                                        <Style BasedOn="{StaticResource GroupBoxStyle}" TargetType="{x:Type GroupBox}">
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Null}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Running}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                    <Setter Property="IsEnabled" Value="True"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Updating}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </GroupBox.Style>

                                    <DataGrid ItemsSource="{Binding ServerFilesAdmins}"  AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25" IsReadOnly="True">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding PlayerId}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesAdminIdColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding PlayerName}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesAdminNameColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveAdminPlayer_Click" ToolTip="{DynamicResource ServerSettings_RemoveAdminPlayerTooltip}">
                                                            <Image Source="../Art/Delete.ico"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GroupBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_ServerFilesWhitelistLabel}"/>
                                            <Button Width="22" Height="22" Click="AddWhitelistPlayer_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddWhitelistPlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearWhitelistPlayers_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearWhitelistPlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ReloadWhitelistPlayers_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ReloadWhitelistPlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <GroupBox.Style>
                                        <Style BasedOn="{StaticResource GroupBoxStyle}" TargetType="{x:Type GroupBox}">
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Null}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Running}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                    <Setter Property="IsEnabled" Value="True"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Updating}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </GroupBox.Style>

                                    <DataGrid ItemsSource="{Binding ServerFilesWhitelisted}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25" IsReadOnly="True">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding PlayerId}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesWhitelistIdColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding PlayerName}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesWhitelistNameColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveWhitelistPlayer_Click" ToolTip="{DynamicResource ServerSettings_RemoveWhitelistPlayerTooltip}">
                                                            <Image Source="../Art/Delete.ico"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GroupBox Grid.Row="1" Grid.Column="2" HorizontalAlignment="Stretch">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <cctl:CheckBoxAndTextBlock Margin="0,6,0,5" IsChecked="{Binding EnableExclusiveJoin, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableExclusiveJoinLabel}" ToolTip="{DynamicResource ServerSettings_EnableExclusiveJoinTooltip}" VerticalAlignment="Center"/>
                                            <Button Width="22" Height="22" Click="AddExclusivePlayer_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddExclusivePlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearExclusivePlayers_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearExclusivePlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ReloadExclusivePlayers_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ReloadExclusivePlayerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <GroupBox.Style>
                                        <Style BasedOn="{StaticResource GroupBoxStyle}" TargetType="{x:Type GroupBox}">
                                            <Style.Triggers>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Null}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Initializing}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Running}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopping}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Stopped}">
                                                    <Setter Property="IsEnabled" Value="True"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Unknown}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Updating}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding Runtime.Status, ElementName=SettingsControl}" Value="{x:Static enum:ServerStatus.Uninstalled}">
                                                    <Setter Property="IsEnabled" Value="False"/>
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </GroupBox.Style>

                                    <DataGrid ItemsSource="{Binding ServerFilesExclusive}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25" IsReadOnly="True">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding PlayerId}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesExclusiveIdColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding PlayerName}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_ServerFilesExclusiveNameColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveExclusivePlayer_Click" ToolTip="{DynamicResource ServerSettings_RemoveExclusivePlayerTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionCustomGameUserSettings" IsExpanded="{Binding Config.SectionCustomGameUserSettingsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_CustomGameUserSettingsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="{Binding Config.CustomGameUserSettingsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="2*" MinWidth="200"/>
                                    <ColumnDefinition Width="Auto"/> <!--Splitter Column-->
                                    <ColumnDefinition Width="3*" MinWidth="200"/>
                                </Grid.ColumnDefinitions>

                                <GroupBox Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomSettingsSectionsLabel}"/>
                                            <Button Width="22" Height="22" Click="ReloadCustomGameUserSettings_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ReloadSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="AddCustomGameUserSettingSection_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddCustomSectionTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCustomGameUserSettingSections_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PasteCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ImportCustomGameUserSettingSections_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ImportCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderImport.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCustomGameUserSettingSections_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid ItemsSource="{Binding CustomGameUserSettings}" SelectedItem="{Binding Path=SelectedCustomGameUserSetting, ElementName=SettingsControl, Mode=TwoWay}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                                <Style.Triggers>
                                                    <DataTrigger Binding="{Binding IsDeleted}" Value="True">
                                                        <Setter Property="Visibility" Value="Collapsed" />
                                                    </DataTrigger>
                                                </Style.Triggers>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="*" Binding="{Binding SectionName}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsSectionNameColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCustomGameUserSettingSection_Click" ToolTip="{DynamicResource ServerSettings_RemoveCustomSectionTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="0" Grid.Column="1" Width="5" ShowsPreview="True" HorizontalAlignment="Center" VerticalAlignment="Stretch" Opacity="0"/>

                                <GroupBox Grid.Row="0" Grid.Column="2" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomSettingsItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddCustomGameUserSettingItem_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddCustomItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCustomGameUserSettingItems_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PasteCustomItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCustomGameUserSettingItems_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearCustomItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid ItemsSource="{Binding Path=SelectedCustomGameUserSetting.SectionItems, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding ItemKey}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsItemKeyColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTextColumn     Width="2*" Binding="{Binding ItemValue}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsItemValueColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCustomGameUserSettingItem_Click" ToolTip="{DynamicResource ServerSettings_RemoveCustomItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionCustomGameSettings" IsExpanded="{Binding Config.SectionCustomGameSettingsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_CustomGameSettingsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="{Binding Config.CustomGameSettingsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="2*" MinWidth="200"/>
                                    <ColumnDefinition Width="Auto"/> <!--Splitter Column-->
                                    <ColumnDefinition Width="3*" MinWidth="200"/>
                                </Grid.ColumnDefinitions>

                                <GroupBox Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomSettingsSectionsLabel}"/>
                                            <Button Width="22" Height="22" Click="ReloadCustomGameSettings_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ReloadSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="AddCustomGameSettingSection_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddCustomSectionTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCustomGameSettingSections_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PasteCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ImportCustomGameSettingSections_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ImportCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderImport.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCustomGameSettingSections_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid ItemsSource="{Binding CustomGameSettings}" SelectedItem="{Binding Path=SelectedCustomGameSetting, ElementName=SettingsControl, Mode=TwoWay}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                                <Style.Triggers>
                                                    <DataTrigger Binding="{Binding IsDeleted}" Value="True">
                                                        <Setter Property="Visibility" Value="Collapsed" />
                                                    </DataTrigger>
                                                </Style.Triggers>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="*" Binding="{Binding SectionName}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsSectionNameColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCustomGameSettingSection_Click" ToolTip="{DynamicResource ServerSettings_RemoveCustomSectionTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="0" Grid.Column="1" Width="5" ShowsPreview="True" HorizontalAlignment="Center" VerticalAlignment="Stretch" Opacity="0"/>

                                <GroupBox Grid.Row="0" Grid.Column="2" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomSettingsItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddCustomGameSettingItem_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddCustomItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCustomGameSettingItems_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PasteCustomItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCustomGameSettingItems_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearCustomItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid ItemsSource="{Binding Path=SelectedCustomGameSetting.SectionItems, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding ItemKey}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsItemKeyColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTextColumn     Width="2*" Binding="{Binding ItemValue}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsItemValueColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCustomGameSettingItem_Click" ToolTip="{DynamicResource ServerSettings_RemoveCustomItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionCustomEngineSettings" IsExpanded="{Binding Config.SectionCustomEngineSettingsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionCustomEngineSettingsEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_CustomEngineSettingsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="{Binding Config.CustomEngineSettingsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="2*" MinWidth="200"/>
                                    <ColumnDefinition Width="Auto"/> <!--Splitter Column-->
                                    <ColumnDefinition Width="3*" MinWidth="200"/>
                                </Grid.ColumnDefinitions>

                                <GroupBox Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomSettingsSectionsLabel}"/>
                                            <Button Width="22" Height="22" Click="ReloadCustomEngineSettings_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ReloadSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Reload.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="AddCustomEngineSettingSection_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddCustomSectionTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCustomEngineSettingSections_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PasteCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ImportCustomEngineSettingSections_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ImportCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderImport.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCustomEngineSettingSections_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearCustomSectionsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid ItemsSource="{Binding CustomEngineSettings}" SelectedItem="{Binding Path=SelectedCustomEngineSetting, ElementName=SettingsControl, Mode=TwoWay}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                                <Style.Triggers>
                                                    <DataTrigger Binding="{Binding IsDeleted}" Value="True">
                                                        <Setter Property="Visibility" Value="Collapsed" />
                                                    </DataTrigger>
                                                </Style.Triggers>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="*" Binding="{Binding SectionName}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsSectionNameColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCustomEngineSettingSection_Click" ToolTip="{DynamicResource ServerSettings_RemoveCustomSectionTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="0" Grid.Column="1" Width="5" ShowsPreview="True" HorizontalAlignment="Center" VerticalAlignment="Stretch" Opacity="0"/>

                                <GroupBox Grid.Row="0" Grid.Column="2" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomSettingsItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddCustomEngineSettingItem_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_AddCustomItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCustomEngineSettingItems_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PasteCustomItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCustomEngineSettingItems_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_ClearCustomItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid ItemsSource="{Binding Path=SelectedCustomEngineSetting.SectionItems, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding ItemKey}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsItemKeyColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTextColumn     Width="2*" Binding="{Binding ItemValue}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CustomSettingsItemValueColumnLabel}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCustomEngineSettingItem_Click" ToolTip="{DynamicResource ServerSettings_RemoveCustomItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionCustomLevels" IsExpanded="{Binding Config.SectionCustomLevelsIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_LevelProgressionsLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionCustomLevels, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.CustomLevelsSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.CustomLevelsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="10*" MinWidth="200"/>
                                    <ColumnDefinition Width="Auto"/> <!--Splitter Column-->
                                    <ColumnDefinition Width="7*" MinWidth="200"/>
                                </Grid.ColumnDefinitions>

                                <DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
                                    <Button DockPanel.Dock="Right" ToolTip="{DynamicResource ServerSettings_ResetMaxXPTooltip}" Click="MaxXPPlayer_Reset" Style="{StaticResource ButtonStyle1}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                    <cctl:AnnotatedCheckBoxAndLongSlider DockPanel.Dock="Right" Margin="0,1,0,1" Label="{DynamicResource ServerSettings_MaxXPPlayerLabel}" Value="{Binding OverrideMaxExperiencePointsPlayer}" Suffix="{DynamicResource SliderUnits_XP}" Minimum="0" Maximum="10000000000" SmallChange="5000" LargeChange="100000" TickFrequency="50000" ToolTip="{DynamicResource ServerSettings_MaxXPPlayerTooltip}"/>
                                </DockPanel>

                                <DockPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3">
                                    <Button DockPanel.Dock="Right" Click="MaxXPDino_Reset" ToolTip="{DynamicResource ServerSettings_ResetMaxXPTooltip}" Style="{StaticResource ButtonStyle1}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                    <cctl:AnnotatedCheckBoxAndLongSlider DockPanel.Dock="Right" Margin="0,1,0,1" Label="{DynamicResource ServerSettings_MaxXPDinoLabel}" Value="{Binding OverrideMaxExperiencePointsDino}" Suffix="{DynamicResource SliderUnits_XP}" Minimum="0" Maximum="10000000000" SmallChange="5000" LargeChange="100000" TickFrequency="50000" ToolTip="{DynamicResource ServerSettings_MaxXPDinoTooltip}"/>
                                </DockPanel>

                                <TextBlock Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Margin="5" Text="{Binding CustomLevelProgressionsInformation, ElementName=SettingsControl, FallbackValue=NOTE: Custom Player and Dino levels..}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold"/>

                                <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="0" Margin="5" Name="EnableLevelsCheckbox" Text="{DynamicResource ServerSettings_EnableCustomLevelProgressionsLabel}" IsChecked="{Binding EnableLevelProgressions, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" SourceUpdated="EnableLevelProgressions_SourceUpdated" ToolTip="{DynamicResource ServerSettings_EnableCustomLevelProgressionsTooltip}" HorizontalAlignment="Left"/>
                                <cctl:CheckBoxAndTextBlock Grid.Row="3" Grid.Column="2" Margin="5" Name="EnableDinoLevelsCheckbox" Text="{DynamicResource ServerSettings_EnableDinoLevelProgressionsLabel}" IsChecked="{Binding EnableDinoLevelProgressions, Mode=TwoWay}" IsEnabled="{Binding EnableLevelProgressions}" ToolTip="{DynamicResource ServerSettings_EnableDinoLevelProgressionsTooltip}" HorizontalAlignment="Left"/>

                                <GroupBox Grid.Row="4" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomPlayerLevelsLabel}"/>
                                            <Button Margin="20,0,0,0" Click="PlayerLevels_Clear" IsEnabled="{Binding EnableLevelProgressions}" ToolTip="{DynamicResource ServerSettings_DeleteAllLevelsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" Click="PlayerLevels_ResetOfficial" IsEnabled="{Binding EnableLevelProgressions}" ToolTip="{DynamicResource ServerSettings_ResetToOfficialDefaultsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_UpdateLevelsTooltip}" IsEnabled="{Binding EnableLevelProgressions}" Command="{Binding CustomLevelActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsCustomLevelsAction.UpdatePlayerXPCap}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Edit.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ImportLevelsTooltip}" IsEnabled="{Binding EnableLevelProgressions}" Command="{Binding CustomLevelActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsCustomLevelsAction.ImportPlayerLevels}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderImport.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ExportLevelsTooltip}" IsEnabled="{Binding EnableLevelProgressions}" Command="{Binding CustomLevelActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsCustomLevelsAction.ExportPlayerLevels}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderExport.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <ListView x:Name="CustomPlayerLevelsView" ItemsSource="{Binding PlayerLevels}" IsEnabled="{Binding EnableLevelProgressions}">
                                        <ListView.View>
                                            <GridView>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionPlusColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Button Width="22" Height="22" Click="AddPlayerLevel_Click" ToolTip="{DynamicResource ServerSettings_ProgressionAddLevelTooltip}">
                                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                                            </Button>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionMinusColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Button Width="22" Height="22" Click="RemovePlayerLevel_Click" ToolTip="{DynamicResource ServerSettings_ProgressionRemoveLevelTooltip}">
                                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                            </Button>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionLevelColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Label Content="{Binding LevelIndex, Converter={StaticResource PlayerLevelIndexToDisplayLevelConverter}}" MinWidth="50" Width="Auto" VerticalContentAlignment="Center" HorizontalContentAlignment="Right"/>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionXPRequiredColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <TextBox Text="{Binding XPRequired}" MinWidth="120" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" LostFocus="PlayerLevels_Recalculate"/>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionEngramPointsColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <TextBox Text="{Binding EngramPoints}" MinWidth="120" Width="Auto" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" LostFocus="PlayerLevels_Recalculate"/>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionEngramTotalColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Label Content="{Binding EngramTotal}" MinWidth="120" Width="Auto" VerticalContentAlignment="Center" HorizontalContentAlignment="Right"/>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                            </GridView>
                                        </ListView.View>

                                        <ListView.ItemContainerStyle>
                                            <Style TargetType="{x:Type ListViewItem}" >
                                                <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                <Setter Property="Background" Value="White" />

                                                <Style.Triggers>
                                                    <DataTrigger Binding="{Binding ShowColored}" Value="True">
                                                        <Setter Property="Background" Value="Beige" />
                                                    </DataTrigger>
                                                </Style.Triggers>
                                            </Style>
                                        </ListView.ItemContainerStyle>
                                    </ListView>
                                </GroupBox>

                                <GridSplitter Grid.Row="4" Grid.Column="1" Width="5" ShowsPreview="True" HorizontalAlignment="Center" VerticalAlignment="Stretch" Opacity="0"/>

                                <GroupBox Grid.Row="4" Grid.Column="2" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CustomDinoLevelsLabel}"/>
                                            <Button Margin="20,0,0,0" Click="DinoLevels_Clear" IsEnabled="{Binding EnableDinoLevelProgressions}" ToolTip="{DynamicResource ServerSettings_DeleteAllLevelsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" Click="DinoLevels_ResetOfficial"  IsEnabled="{Binding EnableDinoLevelProgressions}" ToolTip="{DynamicResource ServerSettings_ResetToOfficialDefaultsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_UpdateLevelsTooltip}" IsEnabled="{Binding EnableDinoLevelProgressions}" Command="{Binding CustomLevelActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsCustomLevelsAction.UpdateDinoXPCap}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Edit.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ImportLevelsTooltip}" IsEnabled="{Binding EnableDinoLevelProgressions}" Command="{Binding CustomLevelActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsCustomLevelsAction.ImportDinoLevels}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderImport.ico,Size=32}"/>
                                            </Button>
                                            <Button Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_ExportLevelsTooltip}" IsEnabled="{Binding EnableDinoLevelProgressions}" Command="{Binding CustomLevelActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsCustomLevelsAction.ExportDinoLevels}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/FolderExport.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <ListView x:Name="CustomDinoLevelsView" ItemsSource="{Binding DinoLevels}" IsEnabled="{Binding EnableDinoLevelProgressions}">
                                        <ListView.View>
                                            <GridView>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionPlusColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Button Width="22" Height="22" Click="AddDinoLevel_Click" ToolTip="{DynamicResource ServerSettings_ProgressionAddLevelTooltip}">
                                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                                            </Button>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionMinusColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Button Width="22" Height="22" Click="RemoveDinoLevel_Click" ToolTip="{DynamicResource ServerSettings_ProgressionRemoveLevelTooltip}" >
                                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                            </Button>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionLevelColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <Label Content="{Binding LevelIndex, Converter={StaticResource DinoLevelIndexToDisplayLevelConverter}}" MinWidth="50" Width="Auto" VerticalContentAlignment="Center" HorizontalContentAlignment="Right"/>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                                <GridViewColumn Header="{DynamicResource ServerSettings_ProgressionXPRequiredColumnLabel}" Width="Auto">
                                                    <GridViewColumn.CellTemplate>
                                                        <DataTemplate>
                                                            <TextBox Text="{Binding XPRequired}" MinWidth="120" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" LostFocus="DinoLevels_Recalculate"/>
                                                        </DataTemplate>
                                                    </GridViewColumn.CellTemplate>
                                                </GridViewColumn>
                                            </GridView>
                                        </ListView.View>
                                    </ListView>
                                </GroupBox>

                                <GridSplitter Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionCraftingOverrides" IsExpanded="{Binding Config.SectionCraftingOverridesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionCraftingOverridesEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_CraftingOverridesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionCraftingOverrides, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.CraftingOverridesSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.CraftingOverrideItemGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="2*" MinWidth="200"/>
                                    <ColumnDefinition Width="Auto"/> <!--Splitter Column-->
                                    <ColumnDefinition Width="3*" MinWidth="200"/>
                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Margin="5" Text="{DynamicResource ServerSettings_CraftingOverrides_DisableLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold" Foreground="DarkCyan"/>

                                <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Margin="5" Text="{DynamicResource ServerSettings_CraftingOverrides_WarningLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold"/>

                                <GroupBox  Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CraftingOverrides_ItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddCraftingOverride_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_AddItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteCraftingOverride_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_PasteItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCraftingOverrides_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_ClearItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="SaveCraftingOverride_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_SaveItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="CraftingOverrideItemGrid" ItemsSource="{Binding ConfigOverrideItemCraftingCosts}" SelectedItem="{Binding Path=SelectedCraftingOverride, ElementName=SettingsControl, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False"  RowHeaderWidth="25" SourceUpdated="CraftingOverrideGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="2*" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CraftingOverrides_ItemClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_ItemClassColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BasePrimalItemList, ElementName=SettingsControl}" SelectedValue="{Binding ItemClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCraftingOverrideItem_Click" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_RemoveItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="SaveCraftingOverrideItem_Click" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_SaveItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="2" Grid.Column="1" Width="5" ShowsPreview="True" HorizontalAlignment="Center" VerticalAlignment="Stretch" Opacity="0"/>

                                <GroupBox  Grid.Row="2" Grid.Column="2" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_CraftingOverrides_ResourcesLabel}"/>
                                            <Button Width="22" Height="22" Click="AddCraftingOverrideResource_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_AddResourceTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearCraftingOverrideResources_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_ClearResourcesTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="CraftingOverrideResourceGrid" ItemsSource="{Binding Path=SelectedCraftingOverride.BaseCraftingResourceRequirements, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="CraftingOverrideGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="2*" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CraftingOverrides_ResourceClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_ResourceClassColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BasePrimalItemList, ElementName=SettingsControl}" SelectedValue="{Binding ResourceItemTypeString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTextColumn     Width="100" Binding="{Binding BaseResourceRequirement, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" ElementStyle="{StaticResource CenteredTextBlockStyle}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CraftingOverrides_ResourceQuantityColumnLabel}" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_ResourceQuantityColumnTooltip}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTemplateColumn Width="Auto" >
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_CraftingOverrides_ResourceExactColumnLabel}" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_ResourceExactColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding CraftingRequireExactResourceType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveCraftingOverrideResource_Click" ToolTip="{DynamicResource ServerSettings_CraftingOverrides_RemoveResourceTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionStackSizeOverrides" IsExpanded="{Binding Config.SectionStackSizeOverridesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionStackSizeOverridesEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_StackSizeOverridesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionStackSizeOverrides, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.StackSizeOverridesSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.StackSizeOverrideGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition />
                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Row="0" Margin="5" Text="{DynamicResource ServerSettings_StackSizeOverrides_DisableLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold" Foreground="DarkCyan"/>

                                <cctl:AnnotatedSlider Grid.Row="1" Margin="1" Label="{DynamicResource ServerSettings_ItemStackSizeMultiplierLabel}" Value="{Binding ItemStackSizeMultiplier}" Minimum="0" Maximum="100" LargeChange="5" SmallChange="1" TickFrequency="10" Suffix="{DynamicResource SliderUnits_Multiplier}" ToolTip="{DynamicResource ServerSettings_ItemStackSizeMultiplierTooltip}"/>

                                <GroupBox  Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_StackSizeOverrides_ItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddStackSizeOverride_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_AddItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteStackSizeOverride_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_PasteItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearStackSizeOverrides_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_ClearItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="SaveStackSizeOverride_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_SaveItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="StackSizeOverrideGrid" ItemsSource="{Binding ConfigOverrideItemMaxQuantity}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="StackSizeOverrideGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="2*" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_StackSizeOverrides_ItemClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_ItemClassColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BasePrimalItemList, ElementName=SettingsControl}" SelectedValue="{Binding ItemClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            
                                            <DataGridTextColumn     MinWidth="100" Width="Auto" Binding="{Binding MaxItemQuantity}" ElementStyle="{StaticResource CenteredTextBlockStyle}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_StackSizeOverrides_MaxItemQuantityColumnLabel}" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_MaxItemQuantityColumnTooltip}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTemplateColumn MinWidth="100" Width="Auto" >
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_StackSizeOverrides_IgnoreMultiplierColumnLabel}" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_IgnoreMultiplierColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding IgnoreMultiplier, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveStackSizeOverrideItem_Click" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_RemoveItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="SaveStackSizeOverrideItem_Click" ToolTip="{DynamicResource ServerSettings_StackSizeOverrides_SaveItemsTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="3" Grid.Column="0" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionMapSpawnerOverrides" IsExpanded="{Binding Config.SectionMapSpawnerOverridesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionMapSpawnerOverridesEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverridesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionMapSpawnerOverrides, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.MapSpawnerOverridesSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.NPCSpawnSettingsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="2*" MinWidth="200"/>
                                    <ColumnDefinition Width="Auto"/> <!--Splitter Column-->
                                    <ColumnDefinition Width="3*" MinWidth="200"/>
                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Margin="5" Text="{DynamicResource ServerSettings_MapSpawnerOverrides_DisableLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold" Foreground="DarkCyan"/>

                                <GroupBox Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_MapSpawnerOverrides_ContainerLabel}"/>
                                            <Button Width="22" Height="22" Click="AddNPCSpawn_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_AddContainerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteNPCSpawn_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_PasteContainerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearNPCSpawn_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_ClearContainerTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="SaveNPCSpawns_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_SaveContainersTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="NPCSpawnSettingsGrid" ItemsSource="{Binding NPCSpawnSettings}" SelectedItem="{Binding Path=SelectedNPCSpawnSetting, ElementName=SettingsControl, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="NPCSpawnSettingsGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="1*" CanUserSort="True">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverrides_ContainerTypeColumnLabel}" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_ContainerTypeColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsReadOnly="True" IsEditable="True" ItemsSource="{Binding Source={StaticResource NPCSpawnContainerTypes}}" Text="{Binding ContainerType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn Width="2*" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverrides_ContainerClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_ContainerClassColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BaseMapSpawnerList, ElementName=SettingsControl}" SelectedValue="{Binding NPCSpawnEntriesContainerClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveNPCSpawn_Click" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_RemoveContainerTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="SaveNPCSpawn_Click" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_SaveContainerTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="1" Grid.Column="1" Width="5" ShowsPreview="True" HorizontalAlignment="Center" VerticalAlignment="Stretch" Opacity="0"/>

                                <GroupBox Grid.Row="1" Grid.Column="2" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryLabel}"/>
                                            <Button Width="22" Height="22" Click="AddNPCSpawnEntry_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_AddEntryTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearNPCSpawnEntry_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_ClearEntryTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="NPCSpawnEntrySettingsGrid" ItemsSource="{Binding Path=SelectedNPCSpawnSetting.NPCSpawnEntrySettings, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeColumns="False" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="NPCSpawnSettingsGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <clib:BindingProxy x:Key="proxySelectedNPCSpawnSetting" Data="{Binding Path=SelectedNPCSpawnSetting, ElementName=SettingsControl}" />
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="1*" Binding="{Binding AnEntryName}" Visibility="{Binding Data.ShowEntryNameColumn, Converter={StaticResource BooleanToVisibilityConverter}, Source={StaticResource proxySelectedNPCSpawnSetting}}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryNameColumnLabel}" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryNameColumnTooltip}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            
                                            <DataGridTemplateColumn Width="2*" CanUserSort="True" SortMemberPath="DisplayName" Visibility="{Binding Data.ShowClassStringColumn, Converter={StaticResource BooleanToVisibilityConverter}, Source={StaticResource proxySelectedNPCSpawnSetting}}">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryClassColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BaseDinoList, ElementName=SettingsControl}" SelectedValue="{Binding NPCClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            
                                            <DataGridTextColumn     Width="1*" Binding="{Binding EntryWeight}" Visibility="{Binding Data.ShowEntryWeightColumn, Converter={StaticResource BooleanToVisibilityConverter}, Source={StaticResource proxySelectedNPCSpawnSetting}}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryWeightClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryWeightClassColumnTooltip}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            
                                            <DataGridTextColumn     Width="1*" Binding="{Binding MaxPercentageOfDesiredNumToAllow}" Visibility="{Binding Data.ShowMaxPercentageColumn, Converter={StaticResource BooleanToVisibilityConverter}, Source={StaticResource proxySelectedNPCSpawnSetting}}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryMaxPercentageColumnLabel}" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_EntryMaxPercentageColumnTooltip}" />
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            
                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveNPCSpawnEntry_Click" ToolTip="{DynamicResource ServerSettings_MapSpawnerOverrides_RemoveEntryTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionSupplyCrateOverrides" IsExpanded="{Binding Config.SectionSupplyCrateOverridesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionSupplyCrateOverridesEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrateOverridesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionSupplyCrateOverrides, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.SupplyCrateOverridesSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.SupplyCratesGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="{Binding Config.SupplyCrateItemSetsGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="{Binding Config.SupplyCrateItemSetEntriesGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="{Binding Config.SupplyCrateItemsGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition />
                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Margin="5" Text="{DynamicResource ServerSettings_SupplyCrate_DisableLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold" Foreground="DarkCyan"/>

                                <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4" Margin="5" Text="{DynamicResource ServerSettings_SupplyCrate_WarningLabel}" TextWrapping="Wrap" VerticalAlignment="Center" Foreground="Red"/>

                                <GroupBox  Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_SupplyCrate_CratesLabel}"/>
                                            <Button Width="22" Height="22" Click="AddSupplyCrate_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_AddCrateTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PasteSupplyCrate_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_PasteCrateTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearSupplyCrates_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ClearCratesTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="SaveSupplyCrates_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_SaveCratesTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="SupplyCratesGrid" ItemsSource="{Binding ConfigOverrideSupplyCrateItems}" SelectedItem="{Binding Path=SelectedSupplyCrateOverride, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="SupplyCratesGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="*" MinWidth="100" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_ClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_ClassColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BaseSupplyCrateList, ElementName=SettingsControl}" SelectedValue="{Binding SupplyCrateClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MinItemSets, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_MinItemSetsColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_MinItemSetsColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MaxItemSets, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_MaxItemSetsColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_MaxItemSetsColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding NumItemSetsPower, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}">
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_NumItemSetsPowerColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_NumItemSetsPowerColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            
                                            <DataGridTemplateColumn Width="Auto" MinWidth="50">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_SetsRandomWithoutReplacementColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_SetsRandomWithoutReplacementColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding SetsRandomWithoutReplacement, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="Auto" MinWidth="50">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_AppendItemSetsColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_AppendItemSetsColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding AppendItemSets, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="Auto" MinWidth="50">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Crate_AppendPreventIncreasingMinMaxItemSetsColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Crate_AppendPreventIncreasingMinMaxItemSetsColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding AppendPreventIncreasingMinMaxItemSets, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="30" IsReadOnly="True" CanUserReorder="False" CanUserResize="False">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveSupplyCrate_Click" ToolTip="{DynamicResource ServerSettings_SupplyCrate_RemoveCrateTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            
                                            <DataGridTemplateColumn Width="30" IsReadOnly="True" CanUserReorder="False" CanUserResize="False">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="SaveSupplyCrate_Click" ToolTip="{DynamicResource ServerSettings_SupplyCrate_SaveCrateTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="3" Grid.Column="0" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                                
                                <GroupBox  Grid.Row="4" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_SupplyCrate_ItemSetsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddSupplyCrateItemSet_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_AddItemSetTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearSupplyCrateItemSets_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ClearItemSetsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="SupplyCrateItemSetsGrid" ItemsSource="{Binding Path=SelectedSupplyCrateOverride.ItemSets, ElementName=SettingsControl}" SelectedItem="{Binding Path=SelectedSupplyCrateItemSet, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="SupplyCratesGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="*" MinWidth="100" Binding="{Binding SetName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSet_NameColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSet_NameColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MinNumItems, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSet_MinNumItemsColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSet_MinNumItemsColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MaxNumItems, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSet_MaxNumItemsColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSet_MaxNumItemsColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding NumItemsPower, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSet_NumItemsPowerColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSet_NumItemsPowerColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding SetWeight, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSet_SetWeightColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSet_SetWeightColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTemplateColumn Width="Auto" MinWidth="50">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSet_ItemsRandomWithoutReplacementColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSet_ItemsRandomWithoutReplacementColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding ItemsRandomWithoutReplacement, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            
                                            <DataGridTemplateColumn Width="30" IsReadOnly="True" CanUserReorder="False" CanUserResize="False">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveSupplyCrateItemSet_Click" ToolTip="{DynamicResource ServerSettings_SupplyCrate_RemoveItemSetTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="5" Grid.Column="0" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>

                                <GroupBox  Grid.Row="6" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntriesLabel}"/>
                                            <Button Width="22" Height="22" Click="AddSupplyCrateItemSetEntry_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_AddItemSetEntryTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearSupplyCrateItemSetEntries_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ClearItemSetEntriesTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="SupplyCrateItemSetEntriesGrid" ItemsSource="{Binding Path=SelectedSupplyCrateItemSet.ItemEntries, ElementName=SettingsControl}" SelectedItem="{Binding Path=SelectedSupplyCrateItemSetEntry, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="SupplyCratesGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTextColumn     Width="*" MinWidth="100" Binding="{Binding ItemEntryName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_NameColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_NameColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MinQuantity, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MinQuantityColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MinQuantityColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MaxQuantity, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MaxQuantityColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MaxQuantityColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MinQuality, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MinQualityColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MinQualityColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding MaxQuality, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MaxQualityColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_MaxQualityColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding EntryWeight, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_EntryWeightColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_EntryWeightColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>

                                            <DataGridTemplateColumn Width="Auto" MinWidth="50">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_ForceBlueprintColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_ForceBlueprintColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.HeaderStyle>
                                                    <Style TargetType="{x:Type DataGridColumnHeader}">
                                                        <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                                                    </Style>
                                                </DataGridTemplateColumn.HeaderStyle>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <CheckBox IsChecked="{Binding ForceBlueprint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding ChanceToBeBlueprintOverride, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_ChanceToBeBlueprintOverrideColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ItemSetEntry_ChanceToBeBlueprintOverrideColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            
                                            <DataGridTemplateColumn Width="30" IsReadOnly="True" CanUserReorder="False" CanUserResize="False">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveSupplyCrateItemSetEntry_Click" ToolTip="{DynamicResource ServerSettings_SupplyCrate_RemoveItemSetEntryTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="7" Grid.Column="0" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>

                                <GroupBox  Grid.Row="8" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_SupplyCrate_ItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddSupplyCrateItem_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_AddItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearSupplyCrateItems_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_SupplyCrate_ClearItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="SupplyCrateItemsGrid" ItemsSource="{Binding Path=SelectedSupplyCrateItemSetEntry.Items, ElementName=SettingsControl}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="SupplyCratesGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding Path=DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="*" MinWidth="100" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Item_ItemClassStringColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Item_ItemClassStringColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BasePrimalItemList, ElementName=SettingsControl}" SelectedValue="{Binding ItemClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                            <DataGridTextColumn     Width="Auto" MinWidth="50" Binding="{Binding ItemWeight, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnSourceUpdated=True}" >
                                                <DataGridTextColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_SupplyCrate_Item_ItemWeightColumnLabel}" ToolTip="{DynamicResource ServerSettings_SupplyCrate_Item_ItemWeightColumnTooltip}" TextWrapping="Wrap"/>
                                                </DataGridTextColumn.Header>
                                            </DataGridTextColumn>
                                            <DataGridTemplateColumn Width="30" IsReadOnly="True" CanUserReorder="False" CanUserResize="False">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemoveSupplyCrateItem_Click" ToolTip="{DynamicResource ServerSettings_SupplyCrate_RemoveItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="9" Grid.Column="0" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionPreventTransferOverrides" IsExpanded="{Binding Config.SectionPreventTransferOverridesIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionPreventTransferOverridesEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_PreventTransferOverridesLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionPreventTransferOverrides, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.PreventTransferOverridesSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition/>
                                    <RowDefinition Height="{Binding Config.PreventTransferOverrideGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
                                    <RowDefinition Height="Auto"/> <!--Splitter Row-->
                                    <RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition />
                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" Margin="5" Text="{DynamicResource ServerSettings_PreventTransferOverrides_DisableLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold" Foreground="DarkCyan"/>

                                <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" Text="{DynamicResource ServerSettings_PreventTransferOverrides_WarningLabel}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold"/>

                                <GroupBox  Grid.Row="2" Grid.Column="0" HorizontalAlignment="Stretch" Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <Label Content="{DynamicResource ServerSettings_PreventTransferOverrides_ItemsLabel}"/>
                                            <Button Width="22" Height="22" Click="AddPreventTransferOverride_Click" Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_AddItemTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Add.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="PastePreventTransferOverride_Click" Margin="5,0,0,0" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_PasteItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="ClearPreventTransferOverrides_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_ClearItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                            </Button>
                                            <Button Width="22" Height="22" Click="SavePreventTransferOverride_Click" Margin="10,0,0,0" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_SaveItemsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <DataGrid Name="PreventTransferOverrideGrid" ItemsSource="{Binding PreventTransferForClassNames}" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="25" SourceUpdated="PreventTransferOverrideGrids_SourceUpdated">
                                        <DataGrid.Resources>
                                            <Style TargetType="{x:Type DataGridRow}">
                                                <Style.Resources>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}" Color="{x:Static SystemColors.HighlightColor}"/>
                                                    <SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightTextBrushKey}" Color="{x:Static SystemColors.HighlightTextColor}"/>
                                                </Style.Resources>
                                            </Style>
                                        </DataGrid.Resources>

                                        <DataGrid.HorizontalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.HorizontalGridLinesBrush>
                                        <DataGrid.VerticalGridLinesBrush>
                                            <SolidColorBrush Color="#FFB4B4B4"/>
                                        </DataGrid.VerticalGridLinesBrush>

                                        <DataGrid.RowHeaderTemplate>
                                            <DataTemplate>
                                                <Image HorizontalAlignment="Center" VerticalAlignment="Center" Width="16" Height="16">
                                                    <Image.Style>
                                                        <Style TargetType="{x:Type Image}">
                                                            <Style.Triggers>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="Y">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusGood.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="N">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusBad.ico,Size=32}"/>
                                                                </DataTrigger>
                                                                <DataTrigger Binding="{Binding DataContext.ValidStatus, RelativeSource={RelativeSource AncestorType=DataGridRow}}" Value="W">
                                                                    <Setter Property="Source" Value="{com:Icon Path=/Ark Server Manager;component/Art/StatusWarning.ico,Size=32}"/>
                                                                </DataTrigger>
                                                            </Style.Triggers>
                                                        </Style>
                                                    </Image.Style>
                                                </Image>
                                            </DataTemplate>
                                        </DataGrid.RowHeaderTemplate>

                                        <DataGrid.Columns>
                                            <DataGridTemplateColumn Width="2*" CanUserSort="True" SortMemberPath="DisplayName">
                                                <DataGridTemplateColumn.Header>
                                                    <TextBlock Text="{DynamicResource ServerSettings_PreventTransferOverrides_DinoClassColumnLabel}" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_DinoClassColumnTooltip}" />
                                                </DataGridTemplateColumn.Header>
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <ComboBox IsEditable="True" ItemsSource="{Binding BaseDinoList, ElementName=SettingsControl}" SelectedValue="{Binding DinoClassString, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnSourceUpdated=True}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" LostFocus="ComboBoxItemList_LostFocus" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="RemovePreventTransferOverrideItem_Click" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_RemoveItemTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Delete.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>

                                            <DataGridTemplateColumn Width="30" CanUserReorder="False" IsReadOnly="True">
                                                <DataGridTemplateColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Button Width="22" Height="22" Margin="0" IsTabStop="False" HorizontalAlignment="Center" VerticalAlignment="Center" Click="SavePreventTransferOverrideItem_Click" ToolTip="{DynamicResource ServerSettings_PreventTransferOverrides_SaveItemsTooltip}">
                                                            <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                        </Button>
                                                    </DataTemplate>
                                                </DataGridTemplateColumn.CellTemplate>
                                            </DataGridTemplateColumn>
                                        </DataGrid.Columns>
                                    </DataGrid>
                                </GroupBox>

                                <GridSplitter Grid.Row="3" Grid.Column="0" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionPGM" IsExpanded="{Binding Config.SectionPGMIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionPGMEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_PGMLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionPGM, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.PGMSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <StackPanel>
                                    <TextBlock Margin="5" Text="{DynamicResource ServerSettings_PGM_Warning1Label}" TextWrapping="Wrap" VerticalAlignment="Center" Foreground="Red"/>

                                    <GroupBox Style="{StaticResource GroupBoxStyle}">
                                        <GroupBox.Header>
                                            <StackPanel Orientation="Horizontal">
                                                <cctl:CheckBoxAndTextBlock Name="EnablePGMCheckbox" IsChecked="{Binding PGM_Enabled, Mode=TwoWay}" IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}}" VerticalAlignment="Center" Text="{DynamicResource ServerSettings_PGM_EnableLabel}" ToolTip="{DynamicResource ServerSettings_PGM_EnableTooltip}" VerticalContentAlignment="Center" FontWeight="Bold"/>
                                                <Button Click="PastePGMSettings_Click" Margin="20,0,0,0" IsEnabled="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_PGM_PasteSettingsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Paste.ico,Size=32}"/>
                                                </Button>
                                                <Button Click="SavePGMSettings_Click" Margin="5,0,0,0" IsEnabled="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" ToolTip="{DynamicResource ServerSettings_PGM_SaveSettingsTooltip}" Style="{StaticResource ButtonStyle1}">
                                                    <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Save.ico,Size=32}"/>
                                                </Button>
                                                <Button Click="RandomPGMSettings_Click" Margin="20,0,0,0" Padding="3,0,3,0" IsEnabled="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Content="{DynamicResource ServerSettings_PGM_RandomSettingsLabel}" ToolTip="{DynamicResource ServerSettings_PGM_RandomSettingsTooltip}"/>
                                            </StackPanel>
                                        </GroupBox.Header>

                                        <StackPanel IsEnabled="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}">
                                            <Grid>
                                                <Grid.RowDefinitions>
                                                    <RowDefinition/>
                                                    <RowDefinition/>
                                                </Grid.RowDefinitions>
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition/>
                                                    <ColumnDefinition/>
                                                    <ColumnDefinition/>
                                                    <ColumnDefinition/>
                                                </Grid.ColumnDefinitions>

                                                <Label   Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_NameLabel}" ToolTip="{DynamicResource ServerSettings_PGM_NameTooltip}" VerticalAlignment="Center"/>
                                                <TextBox Grid.Row="0" Grid.Column="1" Margin="1,1,12,1" Text="{Binding PGM_Name}" HorizontalAlignment="Stretch" ToolTip="{DynamicResource ServerSettings_PGM_NameTooltip}"/>
                                                <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4" Margin="5" Text="{DynamicResource ServerSettings_PGM_Warning2Label}" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold"/>
                                            </Grid>

                                            <GroupBox Style="{StaticResource GroupBoxStyle}" Header="{DynamicResource ServerSettings_PGM_TerrianSettingsLabel}">
                                                <Grid>
                                                    <Grid.RowDefinitions>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                    </Grid.RowDefinitions>
                                                    <Grid.ColumnDefinitions>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                    </Grid.ColumnDefinitions>

                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_MapSeedLabel}" Value="{Binding PGM_Terrain.MapSeed}" Suffix="" Minimum="1" Maximum="999" SmallChange="1" LargeChange="5" TickFrequency="50" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_MapSeedTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_TurbulencePowerLabel}" Value="{Binding PGM_Terrain.TurbulencePower}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_TurbulencePowerTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_MountainsFrequencyLabel}" Value="{Binding PGM_Terrain.MountainsFrequency}" Suffix="" Minimum="0" Maximum="20" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_MountainsFrequencyTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_MountainsSlopeLabel}" Value="{Binding PGM_Terrain.MountainsSlope}" Suffix="" Minimum="0" Maximum="2" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_MountainsSlopeTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_MountainsHeightLabel}" Value="{Binding PGM_Terrain.MountainsHeight}" Suffix="" Minimum="0" Maximum="5" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_MountainsHeightTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_ErosionStepsLabel}" Value="{Binding PGM_Terrain.ErosionSteps}" Suffix="" Minimum="1" Maximum="10" SmallChange="1" LargeChange="2" TickFrequency="2" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_ErosionStepsTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_ErosionStrengthLabel}" Value="{Binding PGM_Terrain.ErosionStrength}" Suffix="" Minimum="0.1" Maximum="1.0" SmallChange="0.1" LargeChange="0.2" TickFrequency="0.2" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_ErosionStrengthTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_DepositionStrengthLabel}" Value="{Binding PGM_Terrain.DepositionStrength}" Suffix="" Minimum="0.01" Maximum="1.0" SmallChange="0.01" LargeChange=".1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_DepositionStrengthTooltip}"/>

                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_LandscapeRadiusLabel}" Value="{Binding PGM_Terrain.LandscapeRadius}" Suffix="" Minimum="0" Maximum="5" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_LandscapeRadiusTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_ShoreSlopeLabel}" Value="{Binding PGM_Terrain.ShoreSlope}" Suffix="" Minimum="0" Maximum="2" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_ShoreSlopeTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_ShoreLineEndLabel}" Value="{Binding PGM_Terrain.ShoreLineEnd}" Suffix="" Minimum="-1" Maximum="0" SmallChange="0.1" LargeChange="0.2" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_ShoreLineEndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_WaterFrequencyLabel}" Value="{Binding PGM_Terrain.WaterFrequency}" Suffix="" Minimum="0" Maximum="20" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_WaterFrequencyTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_WaterLevelLabel}" Value="{Binding PGM_Terrain.WaterLevel}" Suffix="" Minimum="-1" Maximum="1" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_WaterLevelTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_OceanFloorLevelLabel}" Value="{Binding PGM_Terrain.OceanFloorLevel}" Suffix="" Minimum="-1" Maximum="1" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_OceanFloorLevelTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_TreesGroundSlopeAccuracyLabel}" Value="{Binding PGM_Terrain.TreesGroundSlopeAccuracy}" Suffix="" Minimum="0.1" Maximum="1.0" SmallChange="0.1" LargeChange="0.2" TickFrequency="0.2" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_TreesGroundSlopeAccuracyTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Terrain_MountainGeneralTreesPercentLabel}" Value="{Binding PGM_Terrain.MountainGeneralTreesPercent}" Suffix="" Minimum="0.1" Maximum="1.0" SmallChange="0.1" LargeChange="0.2" TickFrequency="0.2" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_MountainGeneralTreesPercentTooltip}"/>

                                                    <Grid                  Grid.Row="10" Grid.Column="0" Grid.ColumnSpan="2">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition/>
                                                            <ColumnDefinition/>
                                                            <ColumnDefinition/>
                                                            <ColumnDefinition/>
                                                        </Grid.ColumnDefinitions>

                                                        <Label                 Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Terrain_TerrainScaleMultiplierLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_TerrainScaleMultiplierTooltip}" VerticalAlignment="Center"/>
                                                        <cctl:AnnotatedSlider Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.TerrainScaleMultiplier.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_TerrainScaleMultiplierTooltip}"/>
                                                        <cctl:AnnotatedSlider Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.TerrainScaleMultiplier.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_TerrainScaleMultiplierTooltip}"/>
                                                        <cctl:AnnotatedSlider Grid.Column="3" Margin="1" Label="{DynamicResource ServerSettings_PGM_ZLabel}" Value="{Binding PGM_Terrain.TerrainScaleMultiplier.Z}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Terrain_TerrainScaleMultiplierTooltip}"/>
                                                    </Grid>
                                                </Grid>
                                            </GroupBox>

                                            <GroupBox Style="{StaticResource GroupBoxStyle}" Header="{DynamicResource ServerSettings_PGM_BiomeSettingsLabel}">
                                                <Grid>
                                                    <Grid.RowDefinitions>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                    </Grid.RowDefinitions>
                                                    <Grid.ColumnDefinitions>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                    </Grid.ColumnDefinitions>

                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_MaxSpawnPointHeightLabel}" Value="{Binding PGM_Terrain.MaxSpawnPointHeight}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_MaxSpawnPointHeightTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_IslandBorderCurveExponentLabel}" Value="{Binding PGM_Terrain.IslandBorderCurveExponent}" Suffix="" Minimum="0" Maximum="10" SmallChange="1" LargeChange="1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_IslandBorderCurveExponentTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_ShorelineStartOffsetLabel}" Value="{Binding PGM_Terrain.ShorelineStartOffset}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_ShorelineStartOffsetTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_ShorelineThicknessLabel}" Value="{Binding PGM_Terrain.ShorelineThickness}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_ShorelineThicknessTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_DeepWaterBiomesDepthLabel}" Value="{Binding PGM_Terrain.DeepWaterBiomesDepth}" Suffix="" Minimum="-1" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_DeepWaterBiomesDepthTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_JungleBiomeStartLabel}" Value="{Binding PGM_Terrain.JungleBiomeStart}" Suffix="" Minimum="-1" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_JungleBiomeStartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_RedWoodBiomeSizeLabel}" Value="{Binding PGM_Terrain.RedWoodBiomeSize}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_RedWoodBiomeSizeTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_MountainBiomeStartLabel}" Value="{Binding PGM_Terrain.MountainBiomeStart}" Suffix="" Minimum="-1" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_MountainBiomeStartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_SnowBiomeSizeLabel}" Value="{Binding PGM_Terrain.SnowBiomeSize}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_SnowBiomeSizeTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_GrassDensityLabel}" Value="{Binding PGM_Terrain.GrassDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_GrassDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_JungleGrassDensityLabel}" Value="{Binding PGM_Terrain.JungleGrassDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_JungleGrassDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_RedwoodGrassDensityLabel}" Value="{Binding PGM_Terrain.RedwoodGrassDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_RedwoodGrassDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="12" Grid.Column="0" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_MountainGrassDensityLabel}" Value="{Binding PGM_Terrain.MountainGrassDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_MountainGrassDensityTooltip}"/>

                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_SnowGrassDensityLabel}" Value="{Binding PGM_Terrain.SnowGrassDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_SnowGrassDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_SnowMountainGrassDensityLabel}" Value="{Binding PGM_Terrain.SnowMountainGrassDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_SnowMountainGrassDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_TreeDensityLabel}" Value="{Binding PGM_Terrain.TreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_TreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_JungleTreeDensityLabel}" Value="{Binding PGM_Terrain.JungleTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_JungleTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_RedWoodTreeDensityLabel}" Value="{Binding PGM_Terrain.RedWoodTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_RedWoodTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_MountainsTreeDensityLabel}" Value="{Binding PGM_Terrain.MountainsTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_MountainsTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_SnowTreeDensityLabel}" Value="{Binding PGM_Terrain.SnowTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_SnowTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_SnowMountainsTreeDensityLabel}" Value="{Binding PGM_Terrain.SnowMountainsTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_SnowMountainsTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_ShoreTreeDensityLabel}" Value="{Binding PGM_Terrain.ShoreTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_ShoreTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_SnowShoreTreeDensityLabel}" Value="{Binding PGM_Terrain.SnowShoreTreeDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_SnowShoreTreeDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_InlandWaterObjectsDensityLabel}" Value="{Binding PGM_Terrain.InlandWaterObjectsDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_InlandWaterObjectsDensityTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_Biome_UnderwaterObjectsDensityLabel}" Value="{Binding PGM_Terrain.UnderwaterObjectsDensity}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="2*" SliderRelativeWidth="3*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Biome_UnderwaterObjectsDensityTooltip}"/>
                                                </Grid>
                                            </GroupBox>

                                            <GroupBox Style="{StaticResource GroupBoxStyle}" Header="{DynamicResource ServerSettings_PGM_MapSettingsLabel}">
                                                <Grid>
                                                    <Grid.RowDefinitions>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                        <RowDefinition/>
                                                    </Grid.RowDefinitions>
                                                    <Grid.ColumnDefinitions>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                        <ColumnDefinition/>
                                                    </Grid.ColumnDefinitions>

                                                    <Label                 Grid.Row="0" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SnowBiomeLocationLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SnowBiomeLocationTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SnowBiomeLocation.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SnowBiomeLocationTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SnowBiomeLocation.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SnowBiomeLocationTooltip}"/>
                                                    <Label                 Grid.Row="0" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_RedWoodForestBiomeLocationLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_RedWoodForestBiomeLocationTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.RedWoodForestBiomeLocation.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_RedWoodForestBiomeLocationTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="0" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.RedWoodForestBiomeLocation.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_RedWoodForestBiomeLocationTooltip}"/>

                                                    <Label                 Grid.Row="1" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_NorthRegion1StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion1StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.NorthRegion1Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion1StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.NorthRegion1Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion1StartTooltip}"/>
                                                    <Label                 Grid.Row="1" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_EastRegion1StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion1StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.EastRegion1Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion1StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="1" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.EastRegion1Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion1StartTooltip}"/>

                                                    <Label                 Grid.Row="2" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_NorthRegion1EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion1EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.NorthRegion1End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion1EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.NorthRegion1End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion1EndTooltip}"/>
                                                    <Label                 Grid.Row="2" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_EastRegion1EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion1EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.EastRegion1End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion1EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="2" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.EastRegion1End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion1EndTooltip}"/>

                                                    <Label                 Grid.Row="3" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_NorthRegion2StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion2StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.NorthRegion2Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion2StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.NorthRegion2Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion2StartTooltip}"/>
                                                    <Label                 Grid.Row="3" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_EastRegion2StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion2StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.EastRegion2Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion2StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="3" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.EastRegion2Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion2StartTooltip}"/>

                                                    <Label                 Grid.Row="4" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_NorthRegion2EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion2EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.NorthRegion2End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion2EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.NorthRegion2End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion2EndTooltip}"/>
                                                    <Label                 Grid.Row="4" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_EastRegion2EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion2EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.EastRegion2End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion2EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.EastRegion2End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion2EndTooltip}"/>

                                                    <Label                 Grid.Row="5" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_NorthRegion3StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion3StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.NorthRegion3Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion3StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.NorthRegion3Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion3StartTooltip}"/>
                                                    <Label                 Grid.Row="5" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_EastRegion3StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion3StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.EastRegion3Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion3StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.EastRegion3Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion3StartTooltip}"/>

                                                    <Label                 Grid.Row="6" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_NorthRegion3EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion3EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.NorthRegion3End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion3EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.NorthRegion3End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_NorthRegion3EndTooltip}"/>
                                                    <Label                 Grid.Row="6" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_EastRegion3EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion3EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.EastRegion3End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion3EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.EastRegion3End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_EastRegion3EndTooltip}"/>

                                                    <Label                 Grid.Row="7" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SouthRegion1StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion1StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SouthRegion1Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion1StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SouthRegion1Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion1StartTooltip}"/>
                                                    <Label                 Grid.Row="7" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_WestRegion1StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion1StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.WestRegion1Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion1StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.WestRegion1Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion1StartTooltip}"/>

                                                    <Label                 Grid.Row="8" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SouthRegion1EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion1EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SouthRegion1End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion1EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SouthRegion1End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion1EndTooltip}"/>
                                                    <Label                 Grid.Row="8" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_WestRegion1EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion1EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.WestRegion1End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion1EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.WestRegion1End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion1EndTooltip}"/>

                                                    <Label                 Grid.Row="9" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SouthRegion2StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion2StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SouthRegion2Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion2StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SouthRegion2Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion2StartTooltip}"/>
                                                    <Label                 Grid.Row="9" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_WestRegion2StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion2StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.WestRegion2Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion2StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.WestRegion2Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion2StartTooltip}"/>

                                                    <Label                 Grid.Row="10" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SouthRegion2EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion2EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SouthRegion2End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion2EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SouthRegion2End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion2EndTooltip}"/>
                                                    <Label                 Grid.Row="10" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_WestRegion2EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion2EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.WestRegion2End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion2EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.WestRegion2End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion2EndTooltip}"/>

                                                    <Label                 Grid.Row="11" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SouthRegion3StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion3StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SouthRegion3Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion3StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SouthRegion3Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion3StartTooltip}"/>
                                                    <Label                 Grid.Row="11" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_WestRegion3StartLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion3StartTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.WestRegion3Start.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion3StartTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.WestRegion3Start.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion3StartTooltip}"/>

                                                    <Label                 Grid.Row="12" Grid.Column="0" Content="{DynamicResource ServerSettings_PGM_Map_SouthRegion3EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion3EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="12" Grid.Column="1" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.SouthRegion3End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion3EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="12" Grid.Column="2" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.SouthRegion3End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_SouthRegion3EndTooltip}"/>
                                                    <Label                 Grid.Row="12" Grid.Column="3" Content="{DynamicResource ServerSettings_PGM_Map_WestRegion3EndLabel}" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion3EndTooltip}" VerticalAlignment="Center"/>
                                                    <cctl:AnnotatedSlider Grid.Row="12" Grid.Column="4" Margin="1" Label="{DynamicResource ServerSettings_PGM_XLabel}" Value="{Binding PGM_Terrain.WestRegion3End.X}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion3EndTooltip}"/>
                                                    <cctl:AnnotatedSlider Grid.Row="12" Grid.Column="5" Margin="1" Label="{DynamicResource ServerSettings_PGM_YLabel}" Value="{Binding PGM_Terrain.WestRegion3End.Y}" Suffix="" Minimum="0" Maximum="1" SmallChange="0.01" LargeChange="0.1" TickFrequency="1" LabelRelativeWidth="20" SliderRelativeWidth="2*" ValueRelativeWidth="50" SuffixRelativeWidth="Auto" ToolTip="{DynamicResource ServerSettings_PGM_Map_WestRegion3EndTooltip}"/>
                                                </Grid>
                                            </GroupBox>
                                        </StackPanel>
                                    </GroupBox>

                                </StackPanel>
                            </Grid>
                        </Expander>

                        <Expander Name="SectionSOTF" IsExpanded="{Binding Config.SectionSOTFIsExpanded, ElementName=SettingsControl, FallbackValue=True, Mode=TwoWay}" Visibility="{Binding Config.SectionSOTFEnabled, ElementName=SettingsControl, Converter={StaticResource BooleanToVisibilityConverter}}">
                            <Expander.Header>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{DynamicResource ServerSettings_SOTFLabel}" Style="{StaticResource ExpanderHeaderTextStyle}"/>
                                    <Button Margin="20,0,0,0" ToolTip="{DynamicResource ServerSettings_ResetSectionTooltip}" Style="{StaticResource ButtonStyle1}"
                                            IsEnabled="{Binding ElementName=SectionSOTF, Path=IsExpanded}"
                                            Command="{Binding ResetActionCommand, ElementName=SettingsControl}" CommandParameter="{x:Static enum:ServerSettingsResetAction.SOTFSection}">
                                        <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Refresh.ico,Size=32}"/>
                                    </Button>
                                </StackPanel>
                            </Expander.Header>

                            <Expander.Style>
                                <Style BasedOn="{StaticResource ExpanderStyle1}" TargetType="{x:Type Expander}">
                                    <Setter Property="Template" Value="{StaticResource ExpanderTemplateSE}"/>
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplateSotF}"/>
                                        </DataTrigger>
                                        <DataTrigger Binding="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked}" Value="True">
                                            <Setter Property="Template" Value="{StaticResource ExpanderTemplatePGM}"/>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </Expander.Style>

                            <Grid Margin="-8,0,2,0">
                                <GroupBox Style="{StaticResource GroupBoxStyle}">
                                    <GroupBox.Header>
                                        <StackPanel Orientation="Horizontal">
                                            <cctl:CheckBoxAndTextBlock Name="EnableSOTFCheckbox" IsChecked="{Binding SOTF_Enabled, Mode=TwoWay, NotifyOnSourceUpdated=True}" IsEnabled="{Binding ElementName=EnablePGMCheckbox, Path=IsChecked, Converter={StaticResource InvertBooleanConverter}, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" Text="{DynamicResource ServerSettings_EnableSOTFLabel}" ToolTip="{DynamicResource ServerSettings_EnableSOTFTooltip}" VerticalContentAlignment="Center" FontWeight="Bold" SourceUpdated="EnableSOTFCheckbox_SourceUpdated" />
                                            <Button Margin="20,5,5,5" Click="HelpSOTF_Click" BorderThickness="0" Background="{StaticResource BeigeGradient}"  ToolTip="{DynamicResource ServerSettings_SOTF_HelpTooltip}" Style="{StaticResource ButtonStyle1}">
                                                <Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Help.ico,Size=32}"/>
                                            </Button>
                                        </StackPanel>
                                    </GroupBox.Header>

                                    <Grid IsEnabled="{Binding ElementName=EnableSOTFCheckbox, Path=IsChecked}">
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                            <ColumnDefinition/>
                                        </Grid.ColumnDefinitions>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding SOTF_OutputGameReport, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableOutputGameReportLabel}" ToolTip="{DynamicResource ServerSettings_EnableOutputGameReportTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="0" Margin="5,5,5,0" IsChecked="{Binding SOTF_GamePlayLogging, Mode=TwoWay}" Text="{DynamicResource ServerSettings_EnableGamePlayLoggingLabel}" ToolTip="{DynamicResource ServerSettings_EnableGamePlayLoggingTooltip}" HorizontalAlignment="Left"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding SOTF_DisableDeathSPectator, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableDeathSpectatorLabel}" ToolTip="{DynamicResource ServerSettings_DisableDeathSpectatorTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding SOTF_OnlyAdminRejoinAsSpectator, Mode=TwoWay}" Text="{DynamicResource ServerSettings_OnlyAdminRejoinSpectatorLabel}"  ToolTip="{DynamicResource ServerSettings_OnlyAdminRejoinSpectatorTooltip}" HorizontalAlignment="Left"/>

                                        <cctl:CheckBoxAndTextBlock Grid.Row="0" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding SOTF_NoEvents, Mode=TwoWay}" Text="{DynamicResource ServerSettings_SOTFNoEventsLabel}" ToolTip="{DynamicResource ServerSettings_SOTFNoEventsTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding SOTF_NoBosses, Mode=TwoWay}" Text="{DynamicResource ServerSettings_SOTFNoBossesLabel}" ToolTip="{DynamicResource ServerSettings_SOTFNoBossesTooltip}" HorizontalAlignment="Left"/>
                                        <cctl:CheckBoxAndTextBlock Grid.Row="2" Grid.Column="2" Margin="5" IsChecked="{Binding SOTF_BothBosses, Mode=TwoWay}" Text="{DynamicResource ServerSettings_SOTFBothBossesLabel}" ToolTip="{DynamicResource ServerSettings_SOTFBothBossesTooltip}" HorizontalAlignment="Left"/>

                                        <cctl:AnnotatedSlider Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_MaxPlayersInTribeLabel}" Value="{Binding SOTF_MaxNumberOfPlayersInTribe}" Suffix="{DynamicResource SliderUnits_Players}" Minimum="1" Maximum="127" SmallChange="5" LargeChange="20" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_MaxPlayersInTribeTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_TribesRequiredForGameLabel}" Value="{Binding SOTF_BattleNumOfTribesToStartGame}" Suffix="{DynamicResource SliderUnits_Tribes}" Minimum="1" Maximum="127" SmallChange="5" LargeChange="20" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_TribesRequiredForGameTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_RingOfDeathCollapseTimeLabel}" Value="{Binding SOTF_TimeToCollapseROD}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="60" Maximum="86400" SmallChange="900" LargeChange="3600" TickFrequency="3600" ToolTip="{DynamicResource ServerSettings_RingOfDeathCollapseTimeTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_AutoStartDelayTimeLabel}" Value="{Binding SOTF_BattleAutoStartGameInterval}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="5" Maximum="120" SmallChange="5" LargeChange="20" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_AutoStartDelayTimeTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_AutoRestartDelayTimeLabel}" Value="{Binding SOTF_BattleAutoRestartGameInterval}" Suffix="{DynamicResource SliderUnits_Seconds}"  Minimum="5" Maximum="120" SmallChange="5" LargeChange="20" TickFrequency="10" ToolTip="{DynamicResource ServerSettings_AutoRestartDelayTimeTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_SuddenDeathTimeLabel}" Value="{Binding SOTF_BattleSuddenDeathInterval}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="60" Maximum="3600" SmallChange="60" LargeChange="600" TickFrequency="300" ToolTip="{DynamicResource ServerSettings_SuddenDeathTimeTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="10" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_SOTFEvoEventIntervalLabel}" Value="{Binding SOTF_EvoEventInterval}" Suffix="{DynamicResource SliderUnits_Multiplier}" Minimum="0.1" Maximum="10" SmallChange="0.1" LargeChange="1" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_SOTFEvoEventIntervalTooltip}"/>
                                        <cctl:AnnotatedSlider Grid.Row="11" Grid.Column="0" Grid.ColumnSpan="3" Margin="1" Label="{DynamicResource ServerSettings_SOTFRingStartTimeLabel}" Value="{Binding SOTF_RingStartTime}" Suffix="{DynamicResource SliderUnits_Seconds}" Minimum="100" Maximum="10000" SmallChange="10" LargeChange="100" TickFrequency="100" ToolTip="{DynamicResource ServerSettings_SOTFRingStartTimeTooltip}"/>
                                    </Grid>
                                </GroupBox>
                            </Grid>
                        </Expander>

                    </StackPanel>
                </ScrollViewer>
            </Border>
        </DockPanel>

        <!-- It's important that this is in the end of the XAML as it needs to be on top of everything else! -->
        <Grid x:Name="OverlayGrid" Visibility="Collapsed" DockPanel.Dock="Top" >
            <Grid Background="Black" Opacity="0.5"/>
            <Border MinWidth="250" Background="Orange" BorderBrush="Black" BorderThickness="1" CornerRadius="0,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center">
                <StackPanel>
                    <Label x:Name="OverlayMessage" Margin="5" FontWeight="Bold" HorizontalAlignment="Center" />
                </StackPanel>
            </Border>
        </Grid>
    </Grid>
</UserControl>
