[ADMN] EpicFlight v1.0 - Simple flying plugin! [SPOUT] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Randy Schouten, Sep 2, 2011.

  1. Offline

    Randy Schouten

    EpicFlight v1.0 - Simple flying plugin!
    Version: 1.0
    For a better overiew: Bukkitdev

    ---------------------------------------------------------------------------------------------------------------------

    Features:
    • Custom key setup
    • Personal flying speeds
    • Remembers previous configuration
    • Permissions
    ---------------------------------------------------------------------------------------------------------------------

    Commands & Permissions:
    Code:
    /fly - Configure controls.
    /fly speed [number] - Set horizontal speed.
    /fly speed up [number] - Set vertical upwards speed.
    /fly speed down [number - Set vertical downwards speed.
    /fly speed show - Show the current speeds that you set.
    /fly keys - Show the current bound keys.
    /fly help - Show these commands in-game.
    ---------------------------------------------------------------------------------------------------------------------

    How it works:
    Copy paste the jar file in the plugins folder.
    Get the permission (if you want) and type "/fly" in-game.
    Then just follow the instructions.

    If the plugin does not register your key-presses, relog and it should work.

    Required: Spout server plugin and Spout client

    ---------------------------------------------------------------------------------------------------------------------

    Download:
    Jar

    ---------------------------------------------------------------------------------------------------------------------

    Changelog:
    • v1.1
      • Fixes file issues
    • v1.0
      • Initial release
     
  2. Offline

    kahlilnc

    Video??? To see the amazingness before trying :D
     
  3. Offline

    tombik

    Looks really great!! Thx for this plugin, i was just wiondering about something better than bfly.
     
  4. Offline

    staxx6

    - /fly
    - I press a button
    - nothing happen

    #1060

    Code:
    2011-09-04 01:34:51 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
        at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:19)
        at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputListener.java:44)
        at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.java:862)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:71)
        at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  5. Offline

    Randy Schouten

    Thanks for the error.

    You probably have to relog.
    I assume you have put EpicFlight in your folder, reloaded the server and tried it, right?
    For some reason, Spout doesn't fire it's events then or something.
    That means you have to relog in order to make it register key-presses. ;)
     
  6. Offline

    sddddgjd

    Why no superperms support? :(

    I found a bug...it tries to get the preferences from epicquest! Just need to change epicquest to flymod, or something, in the flyFileManager.java!
    Also,it creates 2 folders...epicflight,and fly!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  7. Offline

    Randy Schouten

    @sddddgjd
    I know how java works :3
    I already fixed it before, but I didn't upload the correct one I suppose. xD

    Anyways, new version is up :)
     
  8. EpicQuest.jar? :O
     
  9. Offline

    Randy Schouten

    Urg, sorry D:
     
  10. Offline

    sddddgjd

    Was giving me lots of errors (and creating a "fly" folder?), but i finally managed to switch it to default bukkit configuration, and superperms!
    And i gotta tell you,it's AMAZING!
    I love this soo much...you're the man!

    Also,a few things i put in which i think would be nice...
    A widget that tells you when you're flying
    if you add "if(!event.getScreenType()==ScreenType.GAME_SCREEN) return ;" to the beggining of the inputlistener,it will stop the flight keys from getting activated while the player is typing in chat!
    Also,i think this is a matter of personal taste,but i removed the setVelocity(0,0,0),because it looked ugly (stopped suddenly)! Now,it just stops slowly,and looks far better IMO!
    Will add a config for this soon...something like /fly smooth to toggle on or off!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  11. Offline

    RustyDagger

    Come 1.8 would you be looking at some how getting the fly mode from creative and implementing it with out the other creative features ? or all be it separate permission nodes for the bunch of it. that would be some thing i think my users would like a lot. I guess you cant say a whole lot till you know what kind of API for it bukkit will provide.
     
  12. Offline

    Randy Schouten

    If that is possible, then I will use that yes.
    It will probably be very easy to create (it will probably be a true/false thing), so this wil probably be buried beneath all the flying plugins.

    I will see if I can get some other features in there to make it stand out more tho.

    Well, if you want to do that all, then I'd be pleased to take it.

    The smoothing was also supposed to be off, most people are used to Zombe, and this is how it acts (as far as I know).
    I never used it personally, so this is sort of based off what I heard.

    Anyway, just commit your changes on github and I will check it out :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  13. Offline

    sddddgjd

    Well,it doesn't stop instantly,it just slows down until it stops!
    And i would commit the changes,but are you ok with the superperms?
     
  14. Offline

    Randy Schouten

    Sure, the more features the better.

    But yes, that's exactly what it is supposed to do.
     
  15. Offline

    sddddgjd

    Ok,i'll put it in a few minutes, gotta go eat!

    OK,i'm done! Some of the files, like FlyFileManager and FlySaver, are no longed needed!
    Sorry if the code seems messy,it's my coding style...:|

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  16. Offline

    Randy Schouten

    You have just decompiled it like that, didn't you.

    It's a mess, like seriously, this wasn't taken off github as far as I can see now.
    That said, I think it's TOO big of a mess.
    I seriously can't work with this.

    And there's also a reason for splitting stuff into different classes, it makes it more organized.

    I'm sorry, but I can't really accept this :/
    I just can't do anything with this.
     
  17. Offline

    sddddgjd

    Yeah,i don't mind ^^
    I know my code is messy...
    (and i didn't know you had a github, which is why i decompiled it)
     
  18. Offline

    iffa

    /me wants a video. No no... /me demands a video. /me makes a video.
     
  19. Offline

    Randy Schouten

    Awesome!
    It will be included in the main post :)

    Ah okay.

    Well anyways, thanks for the work.
    I really appreciate it.

    Maybe you can tell me how SuperPerms work? I never used those before.
     
  20. Offline

    sddddgjd

    It is really easy!
    You check it with:
    player.hasPermission("permissions.node");
     
  21. Offline

    Randy Schouten

    Mmmm alright.

    I was having trouble what SuperPerms was, but I understand now. :)
    I suppose I will support both Permissions and SuperPerms.
     
    sddddgjd likes this.
  22. Offline

    iPixeli

    Yay! I was wanting someone to make a fly for spout. Good job.
     
  23. Offline

    HellFrix

    I'm sorry, I'm new on bukkit user i want to add this mod but I cant do this alone, pls help me.
    What am I supposed to do right now with this ?

    14:54:47 [INFO] Starting minecraft server version Beta 1.7.3
    14:54:47 [INFO] Loading properties
    14:54:47 [INFO] Starting Minecraft server on *:25565
    14:54:47 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    14:54:47 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    14:54:47 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    14:54:47 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    14:54:47 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-
    g4ed23b1-b1060jnks (MC: 1.7.3)
    14:54:47 [SEVERE] Could not load 'plugins\EpicFlight.jar' in folder 'plugins': S
    pout
    org.bukkit.plugin.UnknownDependencyException: Spout
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:54:47 [INFO] Preparing level "world"
    14:54:48 [INFO] Preparing start region for level 0 (Seed: -8853025501437263881)
    14:54:49 [INFO] Preparing spawn area: 81%
    14:54:49 [INFO] Preparing start region for level 1 (Seed: -8853025501437263881)
    14:54:50 [INFO] Preparing spawn area: 89%
    14:54:50 [INFO] Server permissions file permissions.yml is empty, ignoring it
    14:54:50 [INFO] Done (0,241s)! For help, type "help" or "?"
    >‼


    Thanks for any replays
     
  24. Offline

    Lunthus

    Wont allow me to fly :/ Must be a conflict with another plugin.
    Code:
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:01:22 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:45
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:01:24 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:55
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:01:25 [INFO] Lunthus used command "/fly"
    02:01:33 [INFO] Lunthus lost connection: disconnect.quitting
    02:01:33 [INFO] Connection reset
    02:01:34 [INFO] [AutoSave] º9World Auto-Saving
    02:01:35 [INFO] [AutoSave] º9World Auto-Save Complete
    02:01:53 [INFO] Lunthus [/127.0.0.1:54213] logged in with entity id 144163 at ([
    Minigames-World] 166.76949348179332, 2.0, 736.3772982287327)
    02:01:53 [INFO] [AutoSave] AutoSaveThread Started: Interval is 300 seconds, Warn
     Times are 0
    02:01:54 [INFO] Reading data
    02:01:54 [INFO] [Spout] Successfully authenticated Lunthus's Spoutcraft client.
    Running client version: 1.0.5.262
    02:02:08 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:45
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:14 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:45
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:16 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:45
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:16 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:55
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:18 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:70
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:20 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:55
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:20 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:55
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:21 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:55
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:21 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:55
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    02:02:23 [SEVERE] Could not pass event CUSTOM_EVENT to Fly
    java.lang.NullPointerException
            at randy.fly.flyInputListener.onKeyPressedEvent(flyInputListener.java:70
    )
            at org.getspout.spoutapi.event.input.InputListener.onCustomEvent(InputLi
    stener.java:44)
            at org.bukkit.plugin.java.JavaPluginLoader$88.execute(JavaPluginLoader.j
    ava:862)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:7
    1)
            at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:129)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :478)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
     
  25. Offline

    Randy Schouten

    @HellFrix
    You don't have Spout installed. ;)
    You also need the Spout launcher if you want to fly.

    @Lunthus
    I will upload a new version soon with improved checks to prevent these errors.
     
  26. Offline

    Naatan

    I am also having this exact same error. Relogged & restarted multiple times.. still not working.

    It also created 2 folder, "fly" and "EpicFlight". They both have a preferences.yml file with contents:

    players: Naatan
    Naatan:
    toggle:
    configured:
    speed:
    horizontal:
    down:
    up:
    down:
    up:
     
  27. Offline

    544nick101

    u stoles mah idea my server is ZombiesWillOverRun
     
  28. Offline

    kahlilnc

    Wahhhht :O lol
     
  29. Offline

    544nick101

    i think i might need some [tnt] for this jk
     
  30. Offline

    beefroast

    This would be nice to test out, if i could access my multiplayer server!
     

Share This Page