mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
asm: last fixes for some settings
This commit is contained in:
parent
64c55f3f32
commit
43f11899cb
2 changed files with 5 additions and 5 deletions
|
|
@ -1839,7 +1839,7 @@ namespace ServerManagerTool.Lib
|
|||
}
|
||||
|
||||
public static readonly DependencyProperty RandomSupplyCratePointsProperty = DependencyProperty.Register(nameof(RandomSupplyCratePoints), typeof(bool), typeof(ServerProfile), new PropertyMetadata(false));
|
||||
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.Rules)]
|
||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules)]
|
||||
public bool RandomSupplyCratePoints
|
||||
{
|
||||
get { return (bool)GetValue(RandomSupplyCratePointsProperty); }
|
||||
|
|
@ -2175,7 +2175,7 @@ namespace ServerManagerTool.Lib
|
|||
}
|
||||
|
||||
public static readonly DependencyProperty EnablePlayerJoinedNotificationsProperty = DependencyProperty.Register(nameof(EnablePlayerJoinedNotifications), typeof(bool), typeof(ServerProfile), new PropertyMetadata(false));
|
||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.ChatAndNotifications, "alwaysNotifyPlayerJoined")]
|
||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.ChatAndNotifications, "DontAlwaysNotifyPlayerJoined")]
|
||||
public bool EnablePlayerJoinedNotifications
|
||||
{
|
||||
get { return (bool)GetValue(EnablePlayerJoinedNotificationsProperty); }
|
||||
|
|
@ -2414,7 +2414,7 @@ namespace ServerManagerTool.Lib
|
|||
set { SetValue(DinoCharacterHealthRecoveryMultiplierProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty DinoHarvestingDamageMultiplierProperty = DependencyProperty.Register(nameof(DinoHarvestingDamageMultiplier), typeof(float), typeof(ServerProfile), new PropertyMetadata(3.0f));
|
||||
public static readonly DependencyProperty DinoHarvestingDamageMultiplierProperty = DependencyProperty.Register(nameof(DinoHarvestingDamageMultiplier), typeof(float), typeof(ServerProfile), new PropertyMetadata(3.2f));
|
||||
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.Dinos, WriteIfNotValue = 3.0f)]
|
||||
public float DinoHarvestingDamageMultiplier
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1881,6 +1881,7 @@
|
|||
|
||||
<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="4" Grid.Column="1" Margin="5,5,5,0" IsChecked="{Binding UseSingleplayerSettings, Mode=TwoWay}" Text="{DynamicResource ServerSettings_UseSingleplayerSettingsLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_UseSingleplayerSettingsTooltip}"/>
|
||||
<cctl:CheckBoxAndTextBlock Grid.Row="4" Grid.Column="2" Margin="5,5,5,0" IsChecked="{Binding DisableCustomFoldersInTributeInventories, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableCustomFoldersInTributeInventoriesLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableCustomFoldersInTributeInventoriesTooltip}"/>
|
||||
|
||||
<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}" />
|
||||
|
|
@ -1984,7 +1985,6 @@
|
|||
</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,0" IsChecked="{Binding DisableCustomFoldersInTributeInventories, Mode=TwoWay}" Text="{DynamicResource ServerSettings_DisableCustomFoldersInTributeInventoriesLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_DisableCustomFoldersInTributeInventoriesTooltip}"/>
|
||||
|
||||
<cctl:CheckBoxAndTextBlock Grid.Row="2" 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="2" 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}" />
|
||||
|
|
@ -2382,7 +2382,7 @@
|
|||
<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}"/>
|
||||
<cctl:CheckBoxAndTextBlock Grid.Row="1" Grid.Column="1" Margin="5" IsChecked="{Binding EnablePlayerJoinedNotifications, Mode=TwoWay, Converter={StaticResource InvertBooleanConverter}}" Text="{DynamicResource ServerSettings_EnablePlayerJoinedLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_EnablePlayerJoinedTooltip}"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Expander>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue