Skip to content

2.0.0-beta5

Pre-release
Pre-release

Choose a tag to compare

@obvEve obvEve released this 20 Sep 11:52

⚠️ 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 CallOnUnloadAttribute which 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, IsShared properties to CustomSetting

Breaking Changes

  • Removed all previously obsoleted methods, classes, etc.
  • Removed IAttackDamageModifierEffect - You should make your own variant if its needed
  • DoorPermissionCheck.InventoryExludingCurrent renamed to InventoryExcludingCurrent
  • Reworked CustomSetting to allow per player setting values
    • Will now use Player? KnownOwner rather than Player method params - This is only null on the original setting created
    • CustomSetting.TryGet renamed to GetPlayerSetting
    • CustomSetting.PersonalizeSetting will be called before the setting is sent - should be used to set exclusive options
    • CustomSetting.HandleSettingUpdate no longer had Player overload