-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Skript highest priority setting causes Skript commands to be undetected in command event #5908
Comments
After preliminary investigation: |
Alright thank you! It does seem to be quite a hinderance on overall functionality, seeing as how the majority of that event no longer functions. Please let me know if there’s something I can do to fix this! |
The only thing you can do is make sure the |
@not-3than Try this nightly jar for 2.7: https://github.com/SkriptLang/Skript/actions/runs/6066909722 |
I have a live server and try not to use dev versions. If you can make 2.6.4 I can test. This isn’t a huge issue for me, I didn’t end up needing to change priorities in skript config, but I can still test nonetheless.- EthanOn Sep 3, 2023, at 3:12 PM, sovdee ***@***.***> wrote:
@not-3than Try this nightly jar for 2.7: https://github.com/SkriptLang/Skript/actions/runs/6066909722
I can make you one for 2.6.4 if you can't test on 2.7 for some reason.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
This jar should work for 2.6.4 |
This issue currently only exists when listening at HIGHEST or MONITOR for commands that are run by players that do not have the permission to use them. To my knowledge, fixing this completely will require a breaking change to how permission messages are sent (see the above PR for more detail, 6126). |
Skript/Server Version
Bug Description
Recently I set the plugin priority of Skript to
highest
to see if it could detect WorldGuard blockingon break:
events, but forgot to switch it back. I have a few scripts (including a combatlog one) that check to see if a player is running a command viaon command:
event. After noticing that it couldn't detect any of my custom teleportation commands, I further investigated and found it couldn't detect any Skript commands at all. It wasn't until I changed my priority back tohigh
was I able to see those commands in the command event.Expected Behavior
Any and all commands a player runs should fire the
on command:
event, but for some reason in this case with this particular version (haven't tested others), it would not fire for Skript commands (except for /skript + aliases).Steps to Reproduce
highest
in config.skon command:
to detect commands, and try a command created in Skript.Errors or Screenshots
No response
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: