Closed AgaSpace closed 1 year ago
Plugins that use TSPlayer.DamagePlayer
or KillPlayer
requires recompile (source level compatible).
Plugins that use TShockAPI.Hooks.PlayerHooks.OnPlayerCommand
requires change.
- The
OnAccountGroupChange
hook should be invoked inUserManager.SetUserGroup
instead, right now it only fires when a group gets changed via command- The
PlayerCommand
hook should probably be kept and called like it was before for binary backwards compatibility- The
UpdateSection
method'svisibility
parameter should be called something likeisLoaded
instead to not be misleading, and the documentation adjusted- The
DamagePlayer
andKillPlayer
reason parameters should also be put into an overload instead for binary backwards compatibility
I wrote it down as you instructed
@punchready, Any other changes needed for the merge?
Since I have been asked to split this PR into several smaller PRs, I am closing this PR.