-
-
Notifications
You must be signed in to change notification settings - Fork 980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of CommandFilters, replacing cooldowns and costs #3886
base: 2.x
Are you sure you want to change the base?
Implementation of CommandFilters, replacing cooldowns and costs #3886
Conversation
How does this affect PR #3744 ? |
They should go hand in hand with each other, defining a |
So this PR needs #3744 ? Just asking because 3744 hasn't been merged yet. |
I mean they are independent features -- #3744 fixes a bug where |
Make CommandFilter more extendable + fix AsyncTeleport not applying command cooldown
eefb99e
to
dfda202
Compare
So I just came across a thing which prevented AsyncTeleport's from applying command cooldowns - this is due to the fact AsyncTeleport creates a new Trade without the command defined in it. I added a new |
# Conflicts: # Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java
Conflicts need to be addressed, please reopen when done so. |
Cant reopen this one, opening #4224 instead |
# Conflicts: # Essentials/src/main/java/com/earth2me/essentials/Essentials.java # Essentials/src/main/java/com/earth2me/essentials/Settings.java
What’s the status on this PR? 😅 |
This likely won't make it in time for 2.19 but 100% 2.20/2.19.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be updated to configurate (use EssentialsConfiguration over EssentialsConf)
Done |
Just a quick heads-up: I have a pending review for this PR, but I likely won't have time to properly review this for a few weeks. |
Remaining errors (EssentialsConf and logger stuff) need to be fixed. It's almost been 2 years since this PR was made, and I appreciate your persistence 😅. This pull request will be merged for 2.20 which is HOPEFULLY before the new year. |
@JRoy Some build dependencies are timing out because they redirect to jcenter, which closed down. Do they need to be updated or is there a repo missing for these dependencies? |
# Conflicts: # Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java
Basically implements #3200, with just a small difference in yaml format: made the
name
required, as a key, just like kits.Automatic converter is included, and will create the new yaml format from existing nodes.
Formats for
command
will be the same as with thecommand-costs
, formats forpattern
will be the same as incommand-cooldowns
.Closes #3200, #3847