mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Add a reset to default button to discord bot section.
Added Discord Bot section to the profile sync list.
This commit is contained in:
parent
fd0c04db9d
commit
a6f2b6f912
19 changed files with 254 additions and 118 deletions
|
|
@ -28,60 +28,6 @@ using WPFSharp.Globalizer;
|
|||
|
||||
namespace ServerManagerTool
|
||||
{
|
||||
public enum ServerSettingsCustomLevelsAction
|
||||
{
|
||||
ExportPlayerLevels,
|
||||
ImportPlayerLevels,
|
||||
UpdatePlayerXPCap,
|
||||
ExportDinoLevels,
|
||||
ImportDinoLevels,
|
||||
UpdateDinoXPCap,
|
||||
}
|
||||
|
||||
public enum ServerSettingsResetAction
|
||||
{
|
||||
// Sections
|
||||
AdministrationSection,
|
||||
RulesSection,
|
||||
ChatAndNotificationsSection,
|
||||
HudAndVisualsSection,
|
||||
PlayerSettingsSection,
|
||||
DinoSettingsSection,
|
||||
EnvironmentSection,
|
||||
StructuresSection,
|
||||
EngramsSection,
|
||||
CustomLevelsSection,
|
||||
SOTFSection,
|
||||
PGMSection,
|
||||
MapSpawnerOverridesSection,
|
||||
CraftingOverridesSection,
|
||||
SupplyCrateOverridesSection,
|
||||
StackSizeOverridesSection,
|
||||
PreventTransferOverridesSection,
|
||||
|
||||
// Properties
|
||||
MapNameTotalConversionProperty,
|
||||
BanListProperty,
|
||||
|
||||
PlayerMaxXpProperty,
|
||||
DinoMaxXpProperty,
|
||||
PlayerBaseStatMultipliers,
|
||||
PlayerPerLevelStatMultipliers,
|
||||
DinoWildPerLevelStatMultipliers,
|
||||
DinoTamedPerLevelStatMultipliers,
|
||||
DinoTamedAddPerLevelStatMultipliers,
|
||||
DinoTamedAffinityPerLevelStatMultipliers,
|
||||
DinoWildMutagenLevelBoost,
|
||||
DinoBredMutagenLevelBoost,
|
||||
ItemStatClamps,
|
||||
RCONWindowExtents,
|
||||
ServerOptions,
|
||||
ServerLogOptions,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Interaction logic for ServerSettings.xaml
|
||||
/// </summary>
|
||||
partial class ServerSettingsControl : UserControl
|
||||
{
|
||||
private readonly GlobalizedApplication _globalizer = GlobalizedApplication.Instance;
|
||||
|
|
@ -4019,6 +3965,10 @@ namespace ServerManagerTool
|
|||
RefreshProcessPrioritiesList();
|
||||
break;
|
||||
|
||||
case ServerSettingsResetAction.DiscordBotSection:
|
||||
this.Settings.ResetDiscordBotSection();
|
||||
break;
|
||||
|
||||
case ServerSettingsResetAction.ChatAndNotificationsSection:
|
||||
this.Settings.ResetChatAndNotificationSection();
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue