-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
[BUG] Skript ignores event cancellation. #5752
Comments
This is because Skript is NOT actually making a server registered command. Skript just listens within a If you wish for Skript to take priority over the plugin in question. Change the event priority of Skript in the config.sk to something higher or you can even use the priority pattern after any event with Please explain what you are trying to do with Skript in this regards, as we do not know the purpose of CommandWhitelist. |
CommandWhitelist (https://www.spigotmc.org/resources/commandwhitelist-spigot-waterfall-velocity.81326/) is for blocking command execution and tab completion. Skript will still show the no permission message when CommandWhitelist cancels the event. I tried to make skript lower priority which didn't work. |
@JeffreyRCGithub Try this nightly jar for 2.7: https://github.com/SkriptLang/Skript/actions/runs/6066909722 |
We usually leave issues open until a version that contains the fix/feature is released. |
It should actually have been included in 2.7.1 I believe, it was cherrypicked from the feature branch to the patch branch. So it should be good to close now. I forgot about it in favor of the other issue #5966 fixed. |
Skript/Server Version
Bug Description
Skript ignores event cancellation. When a plugin like CommandWhitelist tries to cancel the event, it doesn’t work. Source: YouHaveTrouble/CommandWhitelist/issues/73
Expected Behavior
Skript's no permission message shouldn't show.
Steps to Reproduce
Errors or Screenshots
No response
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: