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

I'm use 'POST /v1/server/exec' and some command is dont have Response #231

Open
Jadlokin-Scarlet opened this issue Jun 20, 2023 · 3 comments

Comments

@Jadlokin-Scarlet
Copy link
Contributor

image
curl -X 'POST' \ 'http://1.1.1.1:1111/v1/server/exec' \ -H 'accept: */*' \ -H 'key: mykey' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -d 'command=execute%20if%20block%2053%2062%20-14%20minecraft%3Astone&time='

I expect an output similar to '[Previous output: true]'
But there's nothing

@phybros
Copy link
Collaborator

phybros commented Jul 14, 2023

I think this is a case of that command not using CommandSender. If you try -d 'command=kshdjbfkjshdfg&time= instead, do you get this output?

Unknown command. Type "/help" for help.

If you can verify that, that will at least show that the plugin is working.

@srmullaney
Copy link
Collaborator

I've seen this issue using LuckPerms. Its really frustrating. Might be worth checking to see if they use CommandSender or not.

@Jadlokin-Scarlet
Copy link
Contributor Author

The command is: execute if block 53 62 -14 minecraft:stone. It is a native command in Minecraft. Is there any way to make it usable and return results in "/v1/server/exec"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants