Flying Plugin for OPs [Prefferably using permissions]

Discussion in 'Plugin Requests' started by jor956, Feb 19, 2011.

  1. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I need a flying plugin on my server to let OPs fly, hopefully using the permissions system, if anyone can help it would be appreciated. Thanks
  2. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My skypirates plugin lets you fly on boats, hover and go underwater and has permissions... not sure if that's what you want. Alternatively try bFlight, fly ridge fly, or other such plugins
  3. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are there no plugins that you fly controlled using buttons like on the WOM client for classic for example?
  4. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hmmmm... as the WOM client is client-based, it can listen for specific key presses. A bukkit server cannot use those key listeners, so has to rely on another form of input. I guess you could make a plugin that moved you where you were looking.
  5. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have magic carpet installed, it's just that it's too laggy, and I'm looking for something other than that
  6. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I see. Well, I guess I could try to do the idea I mentioned earlier? However, I'm not really sure of the maths involved in that.
  7. Offline

    Edward Hand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Its just a bit of trigonometry to convert from spherical polars to cartesians. Easy peasy ^_^

    x += speed * cos(theta)cos(phi)
    y += speed * sin(theta)cos(phi)
    z += speed * sin(phi)

    where phi is your view angle (from horizontal) in the vertical plane and theta is the angle in the horizontal plane.

    I've made flyhacks before. It seems fullwall has given you quite a good list of mods that already allow flying, but if you can explain to me why none of them are what you need then I'd be happy to look into making what you require.
  8. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I found those formulas from google after I made that post XD. I think that he wants a more 'natural' like flymod? EG. fly, ridge, fly requires a lot of jumping, my boat plugin requires boats, but he wants just a 'jetpack' type mod.
  9. Offline

    Edward Hand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The last flying mod I made (a client mod) worked by detecting what item you were holding. Feather made you hover in place, brown mushroom made you fly where you were looking at walking speed. Red mushroom was like warp drive. [IMG] That allowed you to get fairly smooth control. Sound like the right kind of thing?
  10. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sounds like a plan: will probably make the OP very happy :). Interesting to hear about your flyhack exploits :p. Good luck!
  11. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I pretty much just need one that is easy to activate, and doesn't really need any items or anything, but it's fine if it is an item, but it's easy to control.
  12. Offline

    Edward Hand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've spent the last several hours fighting with this thing and I cannot find any way to allow you to turn in mid air. Flying in straight lines is fine, but bukkit doesn't trigger the PLAYER_MOVE event when players look around so there seems to be no way to capture that information.

    Sorry :(
  13. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's ok, I'll just have to find another way
    Thanks for your help
  14. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wouldn't turning around in midair work if you move after you've turned?
  15. Offline

    Edward Hand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The issue I has was that when you teleport a player you have to set their pitch and yaw to something. In order to make it smooth, you have to teleport them on every tick. When someone is being teleported around, they don't sent PlayerLookMove packets, they just send PlayerLook packets, which dont trigger PLAYER_MOVE right. I couldn't find any way to capture the new angles sent by the client before teleporting them overwrote them.

    Any suggestions you might have would be great though.
  16. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Why teleport them? Just set their x,y,z values to your new vector?
  17. Offline

    Edward Hand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Unless I'm missing something, the only way to move a player using the bukkit methods is with teleportTo, isn't it? I tried setting the position properites in the EntityPlayer class directly and they didn't move at all when I did that.
  18. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah, I thought there was a velocity method in there somewhere.
    --- merged: Feb 20, 2011 10:39 AM ---
    From looking at the EntityHuman class, you can't change the velocity variables unless you fiddle with the position values, and that could get messy.
  19. Offline

    Edward Hand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah there is. I was quite optimistic when I saw that. It works for vehicles and things but apparently not for players.
  20. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Indeed :/. Guess an issue needs to be submitted.
  21. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    CraftEntity has a setVelocity() function. You could use that?
  22. Offline

    Machete.Panda

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could you use something like the boat mentioned earlier. with right clicking(or left click) in a direction to move in that direction?
  23. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fly, ridge, fly.
  24. Offline

    fullwall

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Edward - with the new PlayerMomentum/Velocity method, any chance of this plugin? I was just thinking about how cool it'd be :p.
  25. Offline

    Bloq

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'd love it too :D
  26. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What exactly does this momentum/velocity method achieve?
  27. Offline

    jor956

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Anyone have any new about this?
  28. Offline

    Omni

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    bump, this sounds like exactly what i have been looking for, a bukkit plugin that make u fly like in fly mod. i hope u guys can work it out.
  29. Offline

    Waterwolf

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  30. Offline

    flipperjinx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

Share This Page