Skip to content
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’s permission message shows up. #73

Closed
ghost opened this issue Jun 22, 2023 · 2 comments
Closed

[BUG] Skript’s permission message shows up. #73

ghost opened this issue Jun 22, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jun 22, 2023

Describe the bug
A clear and concise description of what the bug is.
If you do a Skript command which has a permission, it will show the no such command message and show Skript's no permission message.

Expected behavior
A clear and concise description of what you expected to happen.
You shouldn’t see skript’s permission message.
To Reproduce
Steps to reproduce the behavior:

  1. Download Skript from their GitHub.
  2. Put Skript's .jar file into the plugins folder.
  3. Restart the server.
  4. Now make a file named test.sk in /plugins/Skript/scripts/.
  5. Put this text into the file:
command /test:
  permission: permission.test
  trigger:
    send "test" to player
  1. Do the command /test. Make sure you do NOT have operator or the permission permission.test.
  2. It will send the configured no such command but it also sends Skript's no permission message.
    Screenshots
    If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@ghost ghost added the bug Something isn't working label Jun 22, 2023
@ghost ghost assigned YouHaveTrouble Jun 22, 2023
@YouHaveTrouble
Copy link
Owner

If this is the case, skript is ignoring the command cancellation state. You can use protocollib mode to stop the command before it's processed by the server. There's nothing other plugins can do when skript just decides to send their message anyway regardless of event cancellation.

@ghost
Copy link
Author

ghost commented Jun 22, 2023

Ok, I made a bug report on Skript’s GitHub: SkriptLang/Skript#5752.

@ghost ghost closed this as completed Jun 22, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant