mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Added server setting - DestroyTamesOverLevelClamp
This commit is contained in:
parent
252b6291fe
commit
57de64ff88
5 changed files with 47 additions and 9 deletions
|
|
@ -1161,7 +1161,9 @@
|
||||||
<sys:String x:Key="ServerSettings_OverrideOfficialDifficultyTooltip">Determines the maximum levels of creatures in the world. The higher the value, the higher the Maximum Creature Level.</sys:String>
|
<sys:String x:Key="ServerSettings_OverrideOfficialDifficultyTooltip">Determines the maximum levels of creatures in the world. The higher the value, the higher the Maximum Creature Level.</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_DifficultyOffsetLabel">Difficulty Offset:</sys:String>
|
<sys:String x:Key="ServerSettings_DifficultyOffsetLabel">Difficulty Offset:</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_DifficultyOffsetTooltip">Determines the maximum levels of creatures in the world. The higher the value, the higher the Maximum Creature Level.</sys:String>
|
<sys:String x:Key="ServerSettings_DifficultyOffsetTooltip">Determines the maximum levels of creatures in the world. The higher the value, the higher the Maximum Creature Level.</sys:String>
|
||||||
|
<sys:String x:Key="ServerSettings_DestroyTamesOverLevelClampLabel">Destroy Tames Over Level:</sys:String>
|
||||||
|
<sys:String x:Key="ServerSettings_DestroyTamesOverLevelClampTooltip">Tames that exceed this level will be deleted on server start. To disable deletion set to 0.</sys:String>
|
||||||
|
|
||||||
<sys:String x:Key="ServerSettings_EnableTributeLabel">Enable Tribute Downloads</sys:String>
|
<sys:String x:Key="ServerSettings_EnableTributeLabel">Enable Tribute Downloads</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_EnableTributeTooltip">If enabled, this will allow downloading external survivors/items/dinos into your server.</sys:String>
|
<sys:String x:Key="ServerSettings_EnableTributeTooltip">If enabled, this will allow downloading external survivors/items/dinos into your server.</sys:String>
|
||||||
<sys:String x:Key="ServerSettings_NoSurvivorDownloadsLabel">No Survivor Downloads</sys:String>
|
<sys:String x:Key="ServerSettings_NoSurvivorDownloadsLabel">No Survivor Downloads</sys:String>
|
||||||
|
|
|
||||||
|
|
@ -1045,6 +1045,15 @@ namespace ServerManagerTool.Lib
|
||||||
set { SetValue(DifficultyOffsetProperty, value); }
|
set { SetValue(DifficultyOffsetProperty, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty DestroyTamesOverLevelClampProperty = DependencyProperty.Register(nameof(DestroyTamesOverLevelClamp), typeof(int), typeof(ServerProfile), new PropertyMetadata(0));
|
||||||
|
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.Rules, WriteIfNotValue = 0)]
|
||||||
|
public int DestroyTamesOverLevelClamp
|
||||||
|
{
|
||||||
|
get { return (int)GetValue(DestroyTamesOverLevelClampProperty); }
|
||||||
|
set { SetValue(DestroyTamesOverLevelClampProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static readonly DependencyProperty EnableTributeDownloadsProperty = DependencyProperty.Register(nameof(EnableTributeDownloads), typeof(bool), typeof(ServerProfile), new PropertyMetadata(false));
|
public static readonly DependencyProperty EnableTributeDownloadsProperty = DependencyProperty.Register(nameof(EnableTributeDownloads), typeof(bool), typeof(ServerProfile), new PropertyMetadata(false));
|
||||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules, "NoTributeDownloads", InvertBoolean = true)]
|
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules, "NoTributeDownloads", InvertBoolean = true)]
|
||||||
public bool EnableTributeDownloads
|
public bool EnableTributeDownloads
|
||||||
|
|
@ -5373,6 +5382,7 @@ namespace ServerManagerTool.Lib
|
||||||
this.ClearValue(EnableDifficultyOverrideProperty);
|
this.ClearValue(EnableDifficultyOverrideProperty);
|
||||||
this.ClearValue(OverrideOfficialDifficultyProperty);
|
this.ClearValue(OverrideOfficialDifficultyProperty);
|
||||||
this.ClearValue(DifficultyOffsetProperty);
|
this.ClearValue(DifficultyOffsetProperty);
|
||||||
|
this.ClearValue(DestroyTamesOverLevelClampProperty);
|
||||||
|
|
||||||
this.ClearValue(EnableTributeDownloadsProperty);
|
this.ClearValue(EnableTributeDownloadsProperty);
|
||||||
this.ClearValue(PreventDownloadSurvivorsProperty);
|
this.ClearValue(PreventDownloadSurvivorsProperty);
|
||||||
|
|
@ -6055,6 +6065,7 @@ namespace ServerManagerTool.Lib
|
||||||
this.SetValue(EnableDifficultyOverrideProperty, sourceProfile.EnableDifficultyOverride);
|
this.SetValue(EnableDifficultyOverrideProperty, sourceProfile.EnableDifficultyOverride);
|
||||||
this.SetValue(OverrideOfficialDifficultyProperty, sourceProfile.OverrideOfficialDifficulty);
|
this.SetValue(OverrideOfficialDifficultyProperty, sourceProfile.OverrideOfficialDifficulty);
|
||||||
this.SetValue(DifficultyOffsetProperty, sourceProfile.DifficultyOffset);
|
this.SetValue(DifficultyOffsetProperty, sourceProfile.DifficultyOffset);
|
||||||
|
this.SetValue(DestroyTamesOverLevelClampProperty, sourceProfile.DestroyTamesOverLevelClamp);
|
||||||
|
|
||||||
this.SetValue(EnableTributeDownloadsProperty, sourceProfile.EnableTributeDownloads);
|
this.SetValue(EnableTributeDownloadsProperty, sourceProfile.EnableTributeDownloads);
|
||||||
this.SetValue(PreventDownloadSurvivorsProperty, sourceProfile.PreventDownloadSurvivors);
|
this.SetValue(PreventDownloadSurvivorsProperty, sourceProfile.PreventDownloadSurvivors);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,30 @@
|
||||||
<title>Ark Server Manager Version Feed</title>
|
<title>Ark Server Manager Version Feed</title>
|
||||||
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2021-11-14T00:00:00Z</updated>
|
<updated>2021-11-20T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id>urn:uuid:79020463-01A7-466D-9B4A-1B14941C9C32</id>
|
||||||
|
<title>1.1.405 (1.1.405.1)</title>
|
||||||
|
<summary>1.1.405.1</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2021-11-20T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">NEW</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Server Settings - Rules Section - added DestroyTamesOverLevelClamp setting.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>bletch</name>
|
||||||
|
<email>bletch1971@hotmail.com</email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:FE1BAB29-859F-4939-AC97-304772112929</id>
|
<id>urn:uuid:FE1BAB29-859F-4939-AC97-304772112929</id>
|
||||||
|
|
|
||||||
|
|
@ -5,21 +5,21 @@
|
||||||
<title>Ark Server Manager Version Feed</title>
|
<title>Ark Server Manager Version Feed</title>
|
||||||
<subtitle>This is the Ark Server Manager beta version feed.</subtitle>
|
<subtitle>This is the Ark Server Manager beta version feed.</subtitle>
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2021-11-14T00:00:00Z</updated>
|
<updated>2021-11-20T00:00:00Z</updated>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:FE1BAB29-859F-4939-AC97-304772112929</id>
|
<id>urn:uuid:79020463-01A7-466D-9B4A-1B14941C9C32</id>
|
||||||
<title>1.1.404 (1.1.404.1)</title>
|
<title>1.1.405 (1.1.405.1)</title>
|
||||||
<summary>1.1.404.1</summary>
|
<summary>1.1.405.1</summary>
|
||||||
<link href="" />
|
<link href="" />
|
||||||
<updated>2021-11-14T00:00:00Z</updated>
|
<updated>2021-11-20T00:00:00Z</updated>
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
<p>
|
<p>
|
||||||
<u style="font-size: .9em;">BUGFIX</u>
|
<u style="font-size: .9em;">NEW</u>
|
||||||
<br/>
|
<br/>
|
||||||
<ul>
|
<ul>
|
||||||
<li>RCON Window - Fixed the tribe name missing from the player list.</li>
|
<li>Server Settings - Rules Section - added DestroyTamesOverLevelClamp setting.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1754,6 +1754,8 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</GroupBox>
|
</GroupBox>
|
||||||
|
|
||||||
|
<cctl:AnnotatedSlider Margin="1" Label="{DynamicResource ServerSettings_DestroyTamesOverLevelClampLabel}" Value="{Binding DestroyTamesOverLevelClamp}" Suffix="{DynamicResource SliderUnits_Levels}" Minimum="0" Maximum="5000" SmallChange="1" LargeChange="5" TickFrequency="1" ToolTip="{DynamicResource ServerSettings_DestroyTamesOverLevelClampTooltip}" />
|
||||||
|
|
||||||
<GroupBox Style="{StaticResource GroupBoxStyle}">
|
<GroupBox Style="{StaticResource GroupBoxStyle}">
|
||||||
<GroupBox.Header>
|
<GroupBox.Header>
|
||||||
<CheckBox IsChecked="{Binding EnableTributeDownloads}" Content="{DynamicResource ServerSettings_EnableTributeLabel}" ToolTip="{DynamicResource ServerSettings_EnableTributeTooltip}"/>
|
<CheckBox IsChecked="{Binding EnableTributeDownloads}" Content="{DynamicResource ServerSettings_EnableTributeLabel}" ToolTip="{DynamicResource ServerSettings_EnableTributeTooltip}"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue