- Fixed
Keybinds- Fixed a bug where keybinds would be reset when reloading a menu. - Fixed
Dedicated Server- Fixed a bug where the dedicated server player would recieve menus. - Updated
SettingIds- If noSettingIdis set one will be made based on the label and setting type, any duplicate ids will be incremented by 1.
- Added
ABButton.OptionA- Get or set the underlyingSSTwoButtonsSetting.OptionA. - Added
ABButton.OptionB- Get or set the underlyingSSTwoButtonsSetting.OptionB. - Added
BaseSetting.Label- Get or set the underlyingServerSpecificSettingBase.Label. - Added
BaseSetting.HintDescription- Get or set the underlyingServerSpecificSettingBase.HintDescription. - Added
Button.ButtonText- Get or set the underlyingSSButton.ButtonText. - Added
Button.HoldTimeSeconds- Get or set the underlyingSSButton.HoldTimeSeconds. - Added
Dropdown.Options- Get or set the underlyingSSDropdownSetting.Options. - Added
Slider.MinValue- Get or set the underlyingSSSliderSetting.MinValue. - Added
Slider.MaxValue- Get or set the underlyingSSSliderSetting.MaxValue. - Added
Slider.Integer- Get or set the underlyingSSSliderSetting.Integer. - Added
Slider.ValueToStringFormat- Get or set the underlyingSSSliderSetting.ValueToStringFormat. - Added
Slider.FinalDisplayFormat- Get or set the underlyingSSSliderSetting.FinalDisplayFormat. - Added
Slider.FinalDisplayFormat- Get or set the underlyingSSSliderSetting.FinalDisplayFormat. - Added
TextArea.Content- Same asBaseSetting.Labelbut made to match naming. - Added
TextBox.Placeholder- Get or set the underlyingSSPlaintextSetting.Placeholder. - Added
TextBox.CharacterLimit- Get or set the underlyingSSPlaintextSetting.CharacterLimit. - Added
TextBox.ContentType- Get or set the underlyingSSPlaintextSetting.ContentType. - Added
UpdateOptionAfunction - Updates theABButton.OptionA. - Added
UpdateOptionBfunction - Updates theABButton.OptionB. - Added
UpdateLabelfunction - Updates theBaseSetting.Label. - Added
UpdateHintDescriptionfunction - Updates theBaseSetting.HintDescription. - Added
UpdateButtonTextfunction - Updates theButton.ButtonText. - Added
UpdateHoldTimeSecondsfunction - Updates theButton.HoldTimeSeconds. - Added
UpdateOptionsfunction - Updates theDropdown.Options. - Added
UpdateMinValuefunction - Updates theSlider.MinValue. - Added
UpdateMaxValuefunction - Updates theSlider.MaxValue. - Added
UpdateIntegerfunction - Updates theSlider.Integer. - Added
UpdateValueToStringFormatfunction - Updates theSlider.ValueToStringFormat. - Added
UpdateFinalDisplayFormatfunction - Updates theSlider.FinalDisplayFormat. - Added
UpdatePlaceholderfunction - Updates theTextBox.Placeholder. - Added
UpdateCharacterLimitfunction - Updates theTextBox.CharacterLimit. - Added
UpdateContentTypefunction - Updates theTextBox.ContentType. - Added
Menu.AddedSettings- Can now add settings to the end ofMenusfrom outside theMenu. - Updated
.csproj- Updated some dependencies. - Updated
Keybindsetting - Includes actions forOnUsedandOnPressedwithOnPressedtriggering only on press. - Updated
UtilityExmaple- Removed the use of_addedSettings, addedversionOverridesection, added anAddedSettingssection. - Updated
LoadMenufunction - Made public, will not open a player's settings, addedversionOverride. - Updated
SendSettingsfunction - AddedversionOverrideto override the version of theMenu. - Updated
ReloadCurrentMenufunction - AddedversionOverrideto override the version of theMenu. - Updated
ReloadAllfunction - AddedversionOverrideto override the version of theMenu. - Updated
ReloadForfunction - AddedversionOverrideto override the version of theMenu. - Updated
ReloadForAllfunction - AddedversionOverrideto override the version of theMenu. - Updated
GlobalMenu- Removed setting duplication and filtered to keybind settings only. - Updated
SettingIds- If noSettingIdis set, a random integer will be used no matter that label and setting type. - Removed
SetValidIdfunction - Removed function from all settings.
- Updated
Dependencies- Updated to the latest dependencies.
- Added
NuGet Package- Can now use the NuGet package.
- Added
TryGetSettingfunction - Works the same as theGetSettingbut returnsfalseinstead of a dummy if no setting found. - Updated
XML Summaries- Updated a lot of the summaries. - Updated
Menuclass -NameandIdcan no longer be set, can only get them.
- Fixed
GetSettingsfunction - Fixed a bug where function was not returning the rebuilt settings. - Fixed
RebuildSettingsfunction - Fixed a bug where function was not rebuilding settings correctly.
- Updated
GetSettingfunction - Moved toMenuManager.cs, takesMenutype, returnsServerSpecificSettingBaseorBaseSettingand defaults to dummy setting if null. - Updated
Buttonfunction -isPressedaction set to null by default.
- Added
BuildSettingsfunction - Used to build original settings. - Added
RebuildSettingsfunction - Used to rebuild the settings. - Added
GenerateSettingsfunction - Used to generate settings to be built. - Added
DefinitionCache- Used to store original definitions. - Added
OriginalDefinitionpatch - Used to get the GetOriginalDefinitio stored in theDefinitionCache. - Added
RestoreFromOriginalfunction - Used to store original definition whenOnSettingReceivedis called. - Added
GlobalMenu- Loaded when settings are closed and conatins all settings from all menus. - Added
PinnedTopSettings- List ofBaseSettingpinned to the top of all menus. - Added
PinnedBottomSettings- List ofBaseSettingpinned to the bottom of all menus. - Added
RegisterTopPinnedSettingsfunction - Registers thePinnedTopSettings. - Added
UnregisterTopPinnedSettingsfunction - Unregisters thePinnedTopSettings. - Added
RegisterBottomPinnedSettingsfunction - Registers thePinnedBottomSettings. - Added
UnregisterBottomPinnedSettingsfunction - Unregisters thePinnedBottomSettings. - Updated
GetSettingfunction - Moved toMenu.cs, is per menu and returns a dummy setting if null. - Updated
GetSettingsfunction - Now returnsBuiltSettings, populating if empty, with options to rebuild and call settings. - Removed
Pinned- Moved toPinnedTopSettingsandPinnedBottomSettings. - Removed
RegisterPins- Moved toRegisterTopPinnedSettingsandRegisterBottomPinnedSettings. - Removed
UnregisterAllPins- Moved toUnregisterTopPinnedSettingsandUnregisterBottomPinnedSettings. - Removed
LockedAssembly- No longer needed. - Removed
Loadfunction - No longer needed. - Removed
SyncMenufunction - No longer needed. - Removed
SyncAllMenusfunction - No longer needed. - Removed
Wrapfunction - No longer needed. - Removed
KeybindMenu- No longer needed. - Removed
SyncCache- No longer needed. - Removed
SetDefinedSettingspatch - No longer needed. - Removed
GetDefinedSettingspatch - No longer needed. - Removed
SendToPlayerpatch - No longer needed. - Removed
SendToPlayerpatch - No longer needed. - Removed
PlaintextLimitpatch function - No longer needed.
- Fixed
GetSettingfunction - Fixed a bug where function could not find setting while SSSetting was in the unhashed state.
- Fixed
SSSetings- Fixed a bug where the returnsSSSetingsfrom aBaseSettingwould be the hashed id.
- Fixed
Versions- Forgot to update the version of the plugin, rookie mistake. - Updated
EventHandler.cs- Now namedMenuEvents.cs. - Updated
Dependencies- Removed unnecessary dependencies. - Removed
ReloadMenufunction - Don't see a use for it.
- Fixed
KeybindMenu- Fixed an issue where keybind menu was loading when in settings. - Fixed
Server-Specific- Fixed an issue where pressing theServer-Specifictab while in theServer-Sepcifictab would cause an error. - Fixed
Config- Fixed unused configurations in the config file.
- Added
KeybindMenu- Used to load all keybinds when player not in settings. - Added
OnStatusReceivedfunction - Updates the settings to and fromKeybindMenuwhen player not in settings tab. - Updated
KittsMenuSystem.Features.Wrappersnamespace - Now namedKittsMenuSystem.Features.Settings. - Removed
All Keybindson allMenus- No longer needed due toKeybindMenu.
- Added
AccessExmaple.cs- Exmaple menu where you don't have access (literally pointless). - Added
BaseSetting- AllWrappersnow useBaseSettinginstead ofServerSpecificSettingBaseand all functions have been updated to work withBaseSetting. - Added
CentralMainMenu.cs- Used when multple main menus. - Added
Patches.cs- ContainsGetDefinedSettings,SetDefinedSettingsSendToPlayerandPrevalidateandPlaintextLimitpatches. - Added
Keybindseverywhere - Keybinds are always added at the bottom of all menus so they can be used everywhere . - Updated Exmaples - Uses
BaseSettingand updatedMenu. - Updated
LICENSE- License is nowAGPL v3.0. - Updated
README.md- Changed some information. - Updated
OnSettingReceivedfucntion - Now works withBaseSettingand is more simple. - Updated
Wrappers- Updated allWrappersto useBaseSetting. - Updated
SettingSync- Now namedSyncedSettings, list ofBaseSettingand set tointernal. - Updated
MenuRelated- Now namedParentMenu. - Updated
SentSettings- Now namedBuiltSettingsand is a list ofBaseSetting. - Updated
GetSettingsfucntion - Now builds pins, buttons and settings asBaseSetting. - Updated
ProperlyEnablefucntion - Now namedOnOpen - Updated
ProperlyDisablefucntion - Now namedOnClose - Updated
GetParamterfunction - Now namedGetSetting - Updated
MenuSync- Now namedSyncedMenusand can no longer be mutated. - Updated
LoadedMenus- Now namedRegisteredMenusand can no longer be mutated. - Updated
Pinned- Can no longer be mutated. - Updated
RegisterAllfunction - Now namedRegisterAllMenus. - Updated
UnregisterAllfunction - Now namedUnregisterAllMenus. - Updated
Registerfunction - Nowinternal. - Updated
SendMenufunction - Now namedSendSettingsand converts list ofBaseSettingtoServerSpecificSettingBasebefore sending. - Moved
Log.cs- Now located in theFeaturesfolder. - Moved
MenuManager.cs- Now located in theMenusfolder. - Moved
AssemblyMenu.cs- Now located in theMenusfolder. - Moved
Menu.cs- Now located in theMenusfolder. - Moved
Parameters.cs- Moved functions toMenuManager.cs. - Moved
Wrappers- Moved all wrappers toSettingsfolder. - Removed
OnInputfucntion - Don't see a use for it. - Removed
TryGetSubMenufunction - Sub menu buttons now have anActiongoing straight to sub menu. - Removed
GetSettingForfunction - Now uses the overrideSettingsfunction. - Removed
Settingsoverride - Now uses the overrideSettingsfunction. - Removed
InternalSettingsSync- Now usesSyncedSettings. - Removed
QueueOrRegisterfunction - Don't see a use for it. - Removed
ISettinginterface. - Removed
AllowPinnedContentfromconfig- Pinned content always allowed. - Removed
CompatibilityEnabledfromconfig- Compatibility always enabled. - Removed
ForceMainMenuEvenIfOnlyOnefromconfig- Central main menu only shows when multple menus. - Removed
ReturnToMenufromconfig- UseReturnToinstead. - Removed
Compatibilizer.cs- No longer needed or moved. - Removed
CompatibilizerGetter.cs- No longer needed or moved. - Removed
SendToPlayerDSPatch.cs- No longer needed or moved. - Removed
SendToPlayer.cs- No longer needed or moved. - Removed
SetIdPatch.cs- No longer needed or moved. - Removed
OriginalDefinition.cs- No longer needed or moved. - Removed
PrevalidateResponsePatch.cs- No longer needed or moved. - Removed
TemporaryPatch.cs- No longer needed or moved.