4.2.17-Adding and optimizing hooks
Hi, I'm not sure if there are patch notifications here. But I think it would be helpful to indicate the affected lines to make them easier to find.
- 245
- 286-293
- 1204
- 1327
- 1598
- 1620-1627
Thanks in advance!
4.2.17-Adding and optimizing hooks
Hi, I'm not sure if there are patch notifications here. But I think it would be helpful to indicate the affected lines to make them easier to find.
Thanks in advance!
In this patch, the TryRemovePVPDelay
method has been modified. Instead of creating variables(like 1620-1621) for userID
and displayName
, the TryRemovePVPDelay
method will now accept a BasePlayer
object.
In the hooks OnPlayerAddedToPVPDelay
and OnPlayerRemovedFromPVPDelay
, userID
has been replaced with BasePlayer
. This change allows plugins that work with your plugin to directly receive the BasePlayer
and interact with them without the need to search for the BasePlayer
using userID
.
Additionally, the hooks OnCreatedDynamicPVP
and OnDeletedDynamicPVP
have been added. These hooks are called after the zones have been fully(100%) created or deleted, eliminating the need for additional checks.
Hello. I've taken over as maintainer of DynamicPVP. Unfortunately I can't find a way to just save off your patched version so that I can look at it in my own development envrionment. Any chance you could DM it to me (hunterz_) on Discord, or throw it up on pastebin?
I messaged you on Discord and also added a new patch request 4.2.20 - Adding and optimizing hooks
Thanks! Responded in Discord.