SkytAsul / BeautyQuests

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

Issue with commands from CMI #337

Closed BobbyZe1606 closed 1 month ago

BobbyZe1606 commented 1 month ago

Describe the bug
For any CMI commands, if I were to add in the chat quest to type a cmi command, it does not progress with the quest. But other non CMI commands such as /summon it works and the quest progresses.

Reproduction Create a quest that needs a cmi command to be typed in the chat

Screenshots, error messages No error messages in console. image

Software BeautyQuests version: 1.0.3 Game version: 1.20.1 Server version: 1.20.1 Server type (e.i. PaperSpigot): Bukkit, Spigot Are you using a protocol hack (like ViaVersion): No

Additional context (optional) Add any other context about the problem here.

(FR: Si vous êtes plus facilement compréhensible en français, écrivez dans cette langue car il s'agit de ma langue natale)

SkytAsul commented 1 month ago

CMI are probably doing some weird shit with their commands and not registering them properly like literally all the other plugins. You can ask them why isn't the PlayerCommandPreProcessEvent called for their commands, if they give me some information I might fix this.

Le mer. 2 oct. 2024, 22:42, BobbyZe1606 @.***> a écrit :

Describe the bug For any CMI commands, if I were to add in the chat quest to type a cmi command, it does not progress with the quest. But other non CMI commands such as /summon it works and the quest progresses.

Reproduction Create a quest that needs a cmi command to be typed in the chat

Screenshots, error messages No error messages in console. image.png (view on web) https://github.com/user-attachments/assets/e1d0cd0a-2cd0-43c9-a6f7-6a92e8e8d483

Software BeautyQuests version: 1.0.3 Game version: 1.20.1 Server version: 1.20.1 Server type (e.i. PaperSpigot): Bukkit, Spigot Are you using a protocol hack (like ViaVersion): No

Additional context (optional) Add any other context about the problem here.

(FR: Si vous êtes plus facilement compréhensible en français, écrivez dans cette langue car il s'agit de ma langue natale)

— Reply to this email directly, view it on GitHub https://github.com/SkytAsul/BeautyQuests/issues/337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3537W2CK6TM2JKGLSWWP3ZZRLDLAVCNFSM6AAAAABPIORJH2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DENRQGYZDQMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BobbyZe1606 commented 1 month ago

So CMI replied, and mentioned in order for BQ to work, need to make players type /cmi rankup and similar for other cmi commands. And this resolved the issue.