Spigot TempFly 1.8.9

Treat flight time as a currency!

  1. I will think about this feature. Can you give me a little information on why you want it? I may be able to develop it better if i understand why you wish for it to be implemented.
  2. Code (Text):
    13.06 20:59:07 [Server] Server thread/ERROR null 13.06 20:59:07 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'tf' in plugin TempFly v1.8.6 13.06 20:59:07 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:707) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1670) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1510) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:895) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:888) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:99) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:871) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:805) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO at java.lang.Thread.run(Thread.java:834) [?:?] 13.06 20:59:07 [Server] INFO Caused by: java.lang.NullPointerException 13.06 20:59:07 [Server] INFO at com.moneybags.tempfly.fly.FlyHandle.flyAllowed(FlyHandle.java:138) ~[?:?] 13.06 20:59:07 [Server] INFO at com.moneybags.tempfly.command.player.CmdFly.<init>(CmdFly.java:55) ~[?:?] 13.06 20:59:07 [Server] INFO at com.moneybags.tempfly.command.CommandHandle.onCommand(CommandHandle.java:23) ~[?:?] 13.06 20:59:07 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 13.06 20:59:07 [Server] INFO ... 17 more
    I'm getting this when using the /tf command.
  3. I cannot recreate the issue you are having with /tf help. Can you show me your 'lang.yml'
    The placeholders color is set in the message 'format'. [​IMG]

    i'm currently fixing the other issues you pointed out and adding the ability to give time on first join.
    #83 ChiefMoneyBags, Jun 14, 2019
    Last edited: Jun 14, 2019
  4. ChiefMoneyBags updated TempFly with a new update entry:

    bugs and feature

    Read the rest of this update entry...
  5. For example: A player enters a command /fly, a dot is automatically put. Within a radius of 100 blocks, the player can fly. If the player goes beyond the specified radius, it pushes back. You can also add a delay to set the flight point.
  6. On my server (Spigot 1.14.2) I've isolated this as a plugin that slowly deppletes the TPS of the server. I have no clue why, as there are no errors. the server just says something about thread warning, the server is overloaded, and is X ms behind, or Y ticks. Both X and Y slowly increase every few minutes until the server TPS just tanks and is near unplayable.

    Also, still have the last issue I stated before.
  7. I will look into the error in your first message. Also can you show me your timings report?
  8. I am getting an internal error when executing the "/tfly" command. Here is the console error:

    Code (Text):
    15.06 12:27:28 [Server] Server thread/ERROR null 15.06 12:27:28 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'tfly' in plugin TempFly v1.8.7 15.06 12:27:28 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:707) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1670) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1510) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:895) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:888) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeAll(SourceFile:99) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:871) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:805) [customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO at java.lang.Thread.run(Thread.java:834) [?:?] 15.06 12:27:28 [Server] INFO Caused by: java.lang.NullPointerException 15.06 12:27:28 [Server] INFO at com.moneybags.tempfly.fly.FlyHandle.flyAllowed(FlyHandle.java:140) ~[?:?] 15.06 12:27:28 [Server] INFO at com.moneybags.tempfly.command.player.CmdFly.<init>(CmdFly.java:55) ~[?:?] 15.06 12:27:28 [Server] INFO at com.moneybags.tempfly.command.CommandHandle.onCommand(CommandHandle.java:23) ~[?:?] 15.06 12:27:28 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[customjava11.jar:git-Spigot-01d0f04-b7fea42] 15.06 12:27:28 [Server] INFO ... 17 more
    The server TPS tanked drastically right after the internal error issue, so that may be whats causing the lag spikes. I did the timings report, but TempFly had almost no impact it seems, so odd that the TPS drop only appeared after I got the internal error. I'll do some more testing regarding the TPS drops, but regardless,t here is that internal error issue.
  9. The error has something to do with worldguard. Can you tell me your version and do you have worldedit on the server?
  10. Wonderful dev, one more qualm, but not particularly high priority. The action bar doesn't seem to be displaying current flight time. Tried both progress bar and just text.
  11. ChiefMoneyBags updated TempFly with a new update entry:


    Read the rest of this update entry...
    • Like Like x 1
  12. Actionbar still doesn't seem to be visible/working. Completely flawless otherwise, excellent update and support.

    ** edited for info **
    This was in the console, not sure what to do.

    17.06 14:48:08 [Server] Server thread/WARN [TempFly] There is a missing or broken string in the file: (config) | Key: (aesthetic.action_bar.text)
  13. You need to add the new config options to your old config. copy this into your config to fix it. It goes under the section aesthetic.
    Code (YAML):
    : true
        # If true the action bar will display a progress bar display of remaining time.
        # If false it will display the text.
    : false
    : '&6Flight meter&7: {FORMATTED_TIME}'
  14. Oddly enough, the players are not receiving their daily login bonus, or the first time bonus.
  15. ChiefMoneyBags updated TempFly with a new update entry:


    Read the rest of this update entry...
  16. So I noticed there's a daily log in feature, does this notify them when they get the time, and the reason they got the time? Also is how reliable is this feature, does it actually give it to them every 24 hours.
  17. i have a towny server, could i and how would i set it so users can fly on plots they own but not others?
  18. That is not currently implemented. I may add it in an update soon.
  19. If you'd like to support Towny and want some direction let me know.