Skip to content

Commit

Permalink
Merge pull request #6 from rr222cy/0.3.0
Browse files Browse the repository at this point in the history
0.3.0
  • Loading branch information
roos-robert authored Mar 2, 2021
2 parents 98ba1e9 + 1dbada3 commit b6ad40b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ ValheimPlus Manager makes the installation and configuration of ValheimPlus on W
- UI/UX enhancements
- Server list manager, join servers from the Manager
- Backup your configuration files
- Swapping between different config files
- Management of server admins
- Uninstall ValheimPlus from game client/server client
- Automatic updates for the ValheimPlus Manager
## Requirements
.NET 5 available for download at: https://dotnet.microsoft.com/download/dotnet/5.0/runtime
- .NET 5 available for download at: https://dotnet.microsoft.com/download/dotnet/5.0/runtime
- Windows 7, Windows 8.1 or Windows 10
- x64 operating system (you have this if you have more than 4GB of RAM)
## Installation
- Download 'ValheimPlusManager.zip'
- Unzip wherever you like
Expand Down
3 changes: 2 additions & 1 deletion ValheimPlusManagerWPF/ConfigurationManagerWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@
<TextBox PreviewTextInput="IntValidationTextBox" Width="480" Text="{Binding dataRate}" materialDesign:HintAssist.Hint="The total amount of data that the server and client can send per second in kilobytes" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="10,120,0,0" />
<TextBox PreviewTextInput="IntValidationTextBox" Width="480" Text="{Binding autoSaveInterval}" materialDesign:HintAssist.Hint="The interval in seconds that the game auto saves at (client only)" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="10,170,0,0" />
<CheckBox Content="Removes the requirement to have a server password" IsChecked="{Binding disableServerPassword}" HorizontalAlignment="Left" Margin="10,230,0,0" VerticalAlignment="Top"/>
<CheckBox Content="Add version control to make sure that people that try to join your game or the server you try to join has V+ installed" IsChecked="{Binding enforceMod}" HorizontalAlignment="Left" Margin="10,260,0,0" VerticalAlignment="Top"/>
<CheckBox Content="Enable that the server will force it's config on clients that connect. Only affects servers" IsChecked="{Binding serverSyncsConfig}" HorizontalAlignment="Left" Margin="10,260,0,0" VerticalAlignment="Top"/>
<CheckBox Content="Add version control to make sure that people that try to join your game or the server you try to join has V+ installed" IsChecked="{Binding enforceMod}" HorizontalAlignment="Left" Margin="10,290,0,0" VerticalAlignment="Top"/>
</Grid>
</TabItem>
<TabItem IsEnabled="{Binding staminaSettingsEnabled}" Header="Stamina">
Expand Down
2 changes: 1 addition & 1 deletion ValheimPlusManagerWPF/Data/Settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<ServerInstallationPath>C:/Program Files (x86)/Steam/steamapps/common/Valheim dedicated server/</ServerInstallationPath>
<ClientPath>Data/ValheimPlusGameClient/Extracted</ClientPath>
<ServerPath>Data/ValheimPlusServerClient/Extracted</ServerPath>
<ValheimPlusGameClientVersion>0.8.5</ValheimPlusGameClientVersion>
<ValheimPlusGameClientVersion>0.9</ValheimPlusGameClientVersion>
<ValheimPlusServerClientVersion>0.9</ValheimPlusServerClientVersion>
</Settings>
Binary file modified ValheimPlusManagerWPF/Gfx/ValheimPlusManager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ValheimPlusManagerWPF/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<materialDesign:Card Padding="20" Margin="16">
<Grid>
<TextBlock Style="{DynamicResource MaterialDesignHeadline4TextBlock}" Text="ValheimPlus Manager" FontWeight="Normal"/>
<TextBlock Style="{DynamicResource MaterialDesignCaptionTextBlock}" Text="Version 0.2.0" FontWeight="Normal" Margin="0,40,0,0"/>
<TextBlock Style="{DynamicResource MaterialDesignCaptionTextBlock}" Text="Version 0.3.0" FontWeight="Normal" Margin="0,40,0,0"/>
</Grid>
</materialDesign:Card>
</StackPanel>
Expand Down
4 changes: 2 additions & 2 deletions ValheimPlusManagerWPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -373,15 +373,15 @@ private void backupServerButton_Click(object sender, RoutedEventArgs e)
{
FileManager.CopyFromTo(String.Format("C:/Users/{0}/AppData/LocalLow/IronGate", Environment.UserName), String.Format("C:/ValheimServerBackups/{0}", DateTime.Now.ToString("yyyy-MM-dd-HHmm")));
statusLabel.Foreground = Brushes.Green;
statusLabel.Content = "Server data backup to C:/ValheimServerBackups complete!";
statusLabel.Content = "Server data backup to 'C:/ValheimServerBackups' complete!";
}

// Why two methods? 1. To reduce confusion, 2. In case IronGate adds a dedicated folder for server/client only
private void backupClientButton_Click(object sender, RoutedEventArgs e)
{
FileManager.CopyFromTo(String.Format("C:/Users/{0}/AppData/LocalLow/IronGate", Environment.UserName), String.Format("C:/ValheimGameBackups/{0}", DateTime.Now.ToString("yyyy-MM-dd-HHmm")));
statusLabel.Foreground = Brushes.Green;
statusLabel.Content = "Game data backup to C:/ValheimGameBackups complete!";
statusLabel.Content = "Game data backup to 'C:/ValheimGameBackups' complete!";
}
}
}
1 change: 1 addition & 0 deletions ValheimPlusManagerWPF/Models/ValheimPlusConf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public class ValheimPlusConf
public bool disableServerPassword { get; set; } = false;
public bool enforceConfiguration { get; set; } = true;
public bool enforceMod { get; set; } = true;
public bool serverSyncsConfig { get; set; } = true;
public int dataRate { get; set; } = 60; // 60*1024 = 614440 == 60kbs

// Stamina
Expand Down
2 changes: 1 addition & 1 deletion ValheimPlusManagerWPF/ValheimPlusManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<ApplicationIcon>valheim-plus.ico</ApplicationIcon>
<Version>0.2.0</Version>
<Version>0.3.0</Version>
<Authors>Robert Roos</Authors>
<Company>Xenolith AB</Company>
<Product>ValheimPlusManager</Product>
Expand Down

0 comments on commit b6ad40b

Please sign in to comment.