imDMK / DoubleJump

✨️ Efficient double jump plugin with many features and configuration possibilities.
https://www.spigotmc.org/resources/doublejump-1-17-1-20-1.110632/
GNU General Public License v3.0
12 stars 2 forks source link

Set limit to double jump #17

Closed PorkLiquor closed 10 months ago

PorkLiquor commented 11 months ago

Description First of all, love this plugin, thanks so much for your contribution, tons of fun! One thing I'd really like is the ability to set a limit on the amount of double jumps as right now it is unlimited with no ability to prevent people from perma-flying.

Additional context Would love an easy command to set dbl jump

imDMK commented 11 months ago

Thank you for this suggestion. An update will come out in a few days. Pss... If you liked the plugin and want to support me, leave a star project.

PorkLiquor commented 11 months ago

Thank you for this suggestion. An update will come out in a few days. Pss... If you liked the plugin and want to support me, leave a star project.

done, your plugin is king :)

imDMK commented 11 months ago

Your feature is ready. But it needs testing to find bugs. If you are willing to test this feature let me know.

PorkLiquor commented 11 months ago

absolutely willing to test, want to share the file? will load it into my server ASAP

imDMK commented 11 months ago

DoubleJump.zip Here you have compiled a jar file. Don't test it on a public server with lots of players - it may be unstable.

imDMK commented 11 months ago

Report all your suggestions and any bugs you encounter. Thanks for testing! Regards.

PorkLiquor commented 11 months ago

hey brother, installed the plugin and the commands are no longer appearing ingame verified it's installed via /plugins but the text is red

imDMK commented 11 months ago

What do you mean by commands are no longer appearing? And what do you mean by text is red? Could you attach screenshots?

Please make sure you have permission to use these commands.

On my localhost everything with commands is okay.

PorkLiquor commented 11 months ago

I use apex hosting see attached images, apologies new to this! When I used the 'pre-loaded' one in the plugin library it worked but when i tried installing it myself no luck.

db4 db3 db2 db1

imDMK commented 11 months ago

Could you please show the error? Error is available in the console.

PorkLiquor commented 11 months ago

there is no error it is just not appearing in game at all, like i used to be able to type /doublejump for various commands and see nothing now

imDMK commented 11 months ago

The error appears when starting the plugin, in other words, when the server is loading. When the name of the plugin is in red color, it means that it was not loaded correctly and must have thrown an error when trying to enable it.

PorkLiquor commented 11 months ago

image aha found the error see above

PorkLiquor commented 11 months ago

running paper 1.20

imDMK commented 11 months ago

My mistake. Fixed here. DoubleJump.zip

PorkLiquor commented 11 months ago

working now! gonna mess around a bit and let you know ty <3

imDMK commented 11 months ago

Hey, did you manage to detect anything and how do you rate the new feature?

PorkLiquor commented 11 months ago

works great and yes rated the new feature! the only thing i noticed is the double jump propels you forward vs a standard double jump which is fine

imDMK commented 11 months ago

I don't quite understand. What do you mean more? Can you record it somehow or something? During my tests, I did not notice any change in the jumps. Make sure the configuration hasn't changed.

PorkLiquor commented 10 months ago

https://github.com/imDMK/DoubleJump/assets/143234436/efc4372d-5874-4ef2-8375-05f7dcfc8781

see how it sends you forward instead of jumping directly straight up?

PorkLiquor commented 10 months ago

thanks again for all your help :)

imDMK commented 10 months ago

I think this is already done physics in Minecraft and probably won't do anything about it. This feature has nothing to do with it because I didn't make any changes to the jumping physics, but I'll look into that. Soon update with your feature and configuration improvement. Thank you for your help! Regards.

PorkLiquor commented 10 months ago

no problem!