-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Add support for commands.yml aliases in command cooldowns #3744
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
Add support for commands.yml aliases in command cooldowns #3744
Conversation
Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
Outdated
Show resolved
Hide resolved
2dce671
to
39f2f4f
Compare
Took a look at this real quick but doesn't seem like it's working. Have you tested this? If so, can you provide any manual test cases you tried and their output? |
39f2f4f
to
60db00a
Compare
It was working, however we had to explicitly define an extra cooldown for the alias as well in the essentials This built was tested on paper 1.8.8, paper 1.16.3 and spigot 1.16.3. |
Hello, can you please rebase this pull request so we can merge it! Thanks! |
e3aae13
to
e637e66
Compare
Alright! Should be good to go now! Sorry I didn't notice it earlier, totally slipped my mind. |
- Split the provider up for both spigot/paper impl.
1a8d3dc
to
b6c5cc3
Compare
# Conflicts: # providers/PaperProvider/build.gradle
# Conflicts: # providers/PaperProvider/build.gradle
# Conflicts: # Essentials/src/main/java/com/earth2me/essentials/Essentials.java
0e65970
to
cd4007b
Compare
Essentials/src/main/java/com/earth2me/essentials/Essentials.java
Outdated
Show resolved
Hide resolved
...ionProvider/src/main/java/net/ess3/nms/refl/providers/ReflFormattedCommandAliasProvider.java
Outdated
Show resolved
Hide resolved
...ovider/src/main/java/net/ess3/provider/providers/PaperReflFormattedCommandAliasProvider.java
Outdated
Show resolved
Hide resolved
Removing PaperReflFormattedCommandAliasProvider.java and the need for the reflection library in paper providers.
Done, should be good to go 😄 |
providers/BaseProviders/src/main/java/net/ess3/provider/FormattedCommandAliasProvider.java
Outdated
Show resolved
Hide resolved
...ionProvider/src/main/java/net/ess3/nms/refl/providers/ReflFormattedCommandAliasProvider.java
Outdated
Show resolved
Hide resolved
…ndAliasProvider an interface
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.
looks fine to me, want @mdcfe to look one last time
This happens for example with commands.yml, the aliases defined in there don't have a PluginCommand instance.