SkytAsul / BeautyQuests

A quests plugin based on a simple-to-use graphical interface (Minecraft)
MIT License
155 stars 32 forks source link

When a player executes a command, bq doesn't detect it! #293

Closed Matt3w35 closed 10 months ago

Matt3w35 commented 11 months ago

Hi, I'm using Beauty Quests on a 1.20.1 server and while I was creating a quest I realized that if the quest requires entering the spawn command for example, when the player executes /spawn in chat, the quest does not continue but continues to ask for that command. However, I have seen that this problem does not exist if commands are requested that do not exist on the server. How can I solve it?

SkytAsul commented 11 months ago

Can it be because /spawn is handled by your proxy (BungeeCord for example)?

Matt3w35 commented 11 months ago

No, they are CMI commands, even using /warps gives the same problem

SkytAsul commented 11 months ago

And does it do that with non-CMI commands? And what about vanilla commands such as /execute?

Matt3w35 commented 11 months ago

Apparently it doesn't only work with CMI, is there a way to fix it?

SkytAsul commented 11 months ago

Ask CMI devs then. I'm using the PlayerCommandPreprocessEvent, which works with everything. I don't know what CMI devs did to break that...