Unlimited Elytra
<!> UnlimitedElytra is back, smoother than ever! Check version 2.0.0+ <!>
Hi! This is a really simple plugin that improves the elytra by adding the possibility to fly forever with it.
This is not just a fly-up plugin: with this one you can have a smooth, infinite and relaxing flight! :D
Now comes with new fancy particle effects :)
Features:
-> Sprint while gliding to get the much desired boost! (by default Ctrl + W keys)
-> Sprint while swimming to... well, to become some sort of a slow torpedo
-> Hover over the water at high speeds to see a cool trail of particles forming on
the water's surface
-> cheated bukkit's tick speed by increasing this plugin's refresh rate to 144hz!
....as I said: smoother than ever! (only from version 2.0.0+)
Commands:
- /unlimitedelytra reload
...reload this plugin's configuration on-the-go, without having to restart the server
- /unlimitedelytra reset
...revert this plugin's configuration back to it's default values
Permissions:
- unlimitedelytra.inair_boost (permission to boost yourself while in the air)
- unlimitedelytra.underwater_boost (permission to boost yourself while underwater)
- unlimitedelytra.overwater_particles (permission to have those over-the-water particles)
Need help with the configuration file? Check this:
inair:
boost_enabled: true //main feature. Whether or not you can boost yourself in the air
boost: 2 /with how much force you increase your speed
particles:
enabled: true //self explanatory
type: SOUL_FIRE_FLAME
amount: 0.02 //how many particles
speed: 0.1 //how fast the particles move
offset:
x: 0 //by default, the particles at spawned at the player's position.
y: 0.2 //you can finetune the spawn position by modifying these values
z: 0
spread: //how much the particles spread along the 3 axis.
x: 0.3
y: 0
z: 0.3
underwater: //same criteria of the "inair" section
boost_enabled: true
boost: 5
particles:
enabled: true
type: WATER_BUBBLE
amount: 1
speed: 0.3
offset:
x: 0
y: 0.2
z: 0
spread:
x: 0.2
y: 0.2
z: 0.2
overwater:
particles:
enabled: true
realistic: true //amount of spawned particles varies with speed and altitude of the player. Cooler.
type: WATER_WAKE
amount: 10
speed: 0.1
offset:
x: 0
y: 1
z: 0
spread:
x: 0.25
y: 0.1
z: 0.25
distance_from_water: 5 //at what distance (in blocks) you want this effect to start taking place
Github:
There are literally endless possibilities for what to do with this plugin:
from spitting fire to customizable elytras (with different perks); from submarine warfare to drag racing with phantoms.
Sky's the limit!
...I obviously can't implement all these things: it would result in a really messy code.
Therefore I decided to completely rewrite this plugin in order to make it more scalable and upload it's source code to github.
It's all yours.
My only wish is to be credited :)
Note: post bugs as github issues, that way I can actually view them since I'm not active on bukkit
Seems to be a little broken in 1.19.4
It looks like players can no longer activate sprint while flying with an Elytra. Which is a huge shame. It still works if you're sprinting before an elytra wings are activated. But once you take your finger off your move forward key you lose it.
Is there any workarounds you can think of (besides switching to shift)? Such as seeing if the player is attempting to move forward while the elytra is activated. Or have a way to momentarily cancel the Elytra while mid-air? Just brainstorming.
The underwater boost also seems to be completely broken inside 1.19.4
Additionally I'd love a way to utilize shift to slow the player down. Maybe with a temporary slow falling effect?
In reply to Sephiths:
https://bugs.mojang.com/browse/MC-257082
This is why it broke in 1.19.4
In reply to Sephiths:
sorry for the terribly delayed answer but I'm not active on bukkit; the mojang issue is marked as resolved, perhaps I suppose that this has not been an issue anymore?
In reply to l_apostrofo_orly:
This issue is that the bug "fix" (the reason that it is marked as resolved) now prevents you from activating sprint while mid-flight.
The bug they were trying to fix is the Field of view changing while inside vehicles, riding mobs, and flying (boats, horses, elytras, etc). This happened because people were attempting to sprint. Which caused the FOV to change even though there was no speed increase when compared to normal behavior.
However all they did was just remove you're ability to activate sprint while in a vehicle.
It's funny. Because this fix doesn't actually fix the issue. You can still keep the FOV change inside the vehicle if you are already sprinting as you mount a vehicle. However you can no longer activate it at will.
You can still fly forever with the plugin if you've activated it before taking off. However you can also stop sprinting midflight by no longer pressing the sprint or forward key mid-flight. If you do this. You are forced to land before you can activate infinite flight again.
In reply to Sephiths:
Ah crap, I'll send an issue to mojang
In reply to Sephiths:
In reply to l_apostrofo_orly:
https://bugs.mojang.com/browse/MC-265545
If I get ghosted or the issue gets closed then I'll try to change the activation key (probably SHIFT, even tho it will look very ugly)
In reply to l_apostrofo_orly:
Seems like you got a similar response to the one that I got :/
In reply to Sephiths:
Hi, an issue was opened on github regarding the problem; I brainstormed down some ideas; are you still interested in the issue? Do you have any preference regarding what solution is used to fix the problem?
https://github.com/dennisorlando/unlimitedelytra/issues/1
Great plugin, works exactly how you'd expect it to work, probably even better
For the author: I am currently looking for a couple of features to be added, would you be able to work on those either for free & public or paid & private by commission? Please contact me on Discord Sabri#3197
In reply to ssqbrii:
Hi, nice to meet you :)
Sure! I sent you a friend request on discord in order to discuss what kind of features you would like to add
Thanks for the little comeback, without this my brain would be blank. Your project was a good point to start learning java! (The guy that made Unlimited Elytra Upgraded).
In reply to TheFrieber:
Oh hello there :)
I saw your plugin but I forgot to post a reply xD
...Anyways: I really appreciate the fact that after 4 years someone had the interest for updating and adding new features to this reaaally simple plugin :)
I'm also happy that it helped you with Java: I myself started learning it by developing this plugin xD
Btw: with 2.0.0 I have completely rewritten the code, which is really different from jar you decompiled. If you're still into learning I suggest you to check the code out (on github): it makes use of various java-related structures and it's pretty straightforward, yet it contains a lot of technicalities that I would have found difficult to understand back in the day, like Threads and Classes/Instances or some strange-looking algorithms.
I hope you will find it useful! :)
Hey! loved this plugin, but can you make so only specific players are affected by it? if you do it will be really apricieted
In reply to phoennix1412:
Hi, I really appreciate your love for this project :)
If I recall correctly it has been already implemented: only people with the "unlimitedelytra.boost" permission should be able to fly indefinitely.
Does it still work or do I need to fix it?
In reply to phoennix1412:
Hi again, I'm not sure if you already saw my previous message... anyways:
Thanks for your input: I realized permissions were pretty much broken.
it was just like an "oopsie" from my side but I'm gonna spare you the details.
I now managed to fix the problem (in version 1.4 which I'm about to upload) and I also tested it with the LuckPerms plugin:
the ability to fly is given by the "unlimitedelytra.boost" permission, which defaults to "true" for the default group (i.e. anyone can fly).
It can be disabled with "/lp group default permission set unlimitedelytra.boost false", therefore you can then create your custom groups to allow only certain people to use the features.
I hope that helps :)
if you want something to add keep updating my friend.
any suggestions about something to add?
Can we get a reload command?
In reply to BrooklynStarr:
In reply to Lupus_Z: