-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
CMI incompatibility with /flyc command #40
Comments
Hello, Yes, it is required that double-jump work with a fly. Currently, this is the only way to make a double jump in Minecraft. How would the solution work, because I don't fully understand? When the player uses double jump, does the plugin execute the command for him? Regards. |
I think this is not a very good solution (performance). The only good solution is to use double jump API. More information about its implementation can be found on the project's main page. |
Wouldn't it be the same as spawning particle or making sound on doublejump? Or maybe the command on strikes? Like when it's 1st strike, we could add own commands, etc... then I could add this there |
Ok, there will be an update with what you propose in the next few days. It will work on the principle that when the player uses a double jump, according to the configuration, the plugin will execute this command for him. Do I understand your suggestion correctly? Let me know. |
Yes, may if you want you can implement it for strikes, as well, like we can set various commands for various strikes, and give player rewards, for example when they strike is 25, we could execute some cmd and give them reward. But yeah, the mentioned solution would be helpful enough, just maybe if you let it work with strikes and I can execute the cmd just on the 1st strike, it will save some performance So like:
or just like:
but I think the first variant could be more utilized |
Describe the bug
Hi, does double jump need to work with fly? As now when players double jump on spawn and they have bought flying in CMI using /recharge (for XP or money) and then used /flyc, then when they use double jump it cost them the recharged fly.
Aka Double jumping when /flyc is enabled uses the energy up when you jump
How do you trigger it?
Use CMI plugin, and recharge fly using /recharge, then use /flyc, and then when you fly it costs you energy. Then try to jump and it costs you energy as well
Server version
[17:26:29 INFO]: Current: git-Purpur-2165 (MC: 1.20.4)*
Previous: git-Purpur-2159 (MC: 1.20.4)
Plugin version
[17:26:49 INFO]: DoubleJump version 2.1.4
Plugin configuration
Possible solution:
may you add a way to trigger command when a player jumps so we can disable their flyc mode
This would be probably the best solution so you won't need to hook into the cmi to fix it
The text was updated successfully, but these errors were encountered: