2.0.0-beta5
Pre-release
Pre-release
⚠️ You are recommended to begin updating as 1.x will no longer be maintained
2.0.0-beta5
Changes
- Fixed some docs
- Added
CustomDropdownSetting::SyncedIndex - Renamed
CustomSetting::UpdatePlayerSetting->PersonalizeSetting
Full Changelog: 2.0.0-beta4...2.0.0-beta5
2.0.0
Additions
- Added
CallOnUnloadAttributewhich you can use to disable your stuff (make sure to call from Plugin.Disable or equivalent) - Added
HarmonyExtensions.SafePatch(Harmony, Type - Added
PlayerExtensions.GetEffect(Player, string - Added
CustomTickingPlayerEffect - Added
IsServerOnly,Label(Setter),DescriptionHint,Id(Init),CollectionId,IsSharedproperties toCustomSetting
Breaking Changes
- Removed all previously obsoleted methods, classes, etc.
- Removed
IAttackDamageModifierEffect- You should make your own variant if its needed DoorPermissionCheck.InventoryExludingCurrentrenamed toInventoryExcludingCurrent- Reworked
CustomSettingto allow per player setting values- Will now use
Player? KnownOwnerrather than Player method params - This is only null on the original setting created CustomSetting.TryGetrenamed toGetPlayerSettingCustomSetting.PersonalizeSettingwill be called before the setting is sent - should be used to set exclusive optionsCustomSetting.HandleSettingUpdateno longer hadPlayeroverload
- Will now use