Description of Issue
When AquaticCrates is installed alongside CMI, custom CMI commands (aliases) are executed twice instead of once. The issue is reproducible on the latest versions of Paper, CMI, and CMILib (tested using Paper 1.21.11 and CMI 9.8.4.4). Without AquaticCrates, CMI custom commands behave normally and only run once. After adding AquaticCrates, the same custom command runs twice (when using its alias) and once when using the command with the explicit "/cmi:" prefix. Extensive troubleshooting and discussion with the AquaticCrates developer have not resolved the problem, and it appears to originate from the way CMI registers/saves aliases.
Here is a complete video about the bug with CMI commands running twice, if you want to try to reproduce the bug: https://youtu.be/6wxrSveK0p8
Steps in the video and some details:
- Start the clean server without AquaticCrates & Waves
- Do the command "
/cmi aliaseditor new demobug-test"
- Set "
asConsole! minecraft:give Noltiii minecraft:diamond" in the CustomAlias
- Restart the server to register the command
- Do the command "
/demobug" in chat and in console
- Here, you can see the command execute single time.
- Stop the server and put AquaticCrates (latest version sent in DM)
- Start the server
- Do the command again "
/demobug" and "/cmi:demobug" in chat and in console
- Here, you can see the command execute twice time with
/demobug and single time with /cmi:demobug.
Version Information
--------------------------------------------------
CMI: 9.8.4.4 SqLite
CMILib: 1.5.8.2
Server: Paper(87) 1.21.11-R0.1-SNAPSHOT+
CMI economy: Disabled CMI Chat: Disabled
Modules -> 68 enabled 1 disabled: votifier
--------------------------------------------------
Errors
Relevant Config Sections
Relevant Plugins
Sources:
Agreements
Description of Issue
When AquaticCrates is installed alongside CMI, custom CMI commands (aliases) are executed twice instead of once. The issue is reproducible on the latest versions of Paper, CMI, and CMILib (tested using Paper 1.21.11 and CMI 9.8.4.4). Without AquaticCrates, CMI custom commands behave normally and only run once. After adding AquaticCrates, the same custom command runs twice (when using its alias) and once when using the command with the explicit "/cmi:" prefix. Extensive troubleshooting and discussion with the AquaticCrates developer have not resolved the problem, and it appears to originate from the way CMI registers/saves aliases.
Here is a complete video about the bug with CMI commands running twice, if you want to try to reproduce the bug: https://youtu.be/6wxrSveK0p8
Steps in the video and some details:
/cmi aliaseditor new demobug-test"asConsole! minecraft:give Noltiii minecraft:diamond" in the CustomAlias/demobug" in chat and in console/demobug" and "/cmi:demobug" in chat and in console/demobugand single time with/cmi:demobug.Version Information
-------------------------------------------------- CMI: 9.8.4.4 SqLite CMILib: 1.5.8.2 Server: Paper(87) 1.21.11-R0.1-SNAPSHOT+ CMI economy: Disabled CMI Chat: Disabled Modules -> 68 enabled 1 disabled: votifier --------------------------------------------------Errors
Relevant Config Sections
Relevant Plugins
Sources:
Agreements