Spigot PlayTime 3.3

Allows users to view a players playtime.

  1. what permissions??
     
  2. read overview page it tells you
     
  3. one permissions for three different commands?
     
  4. yes as they are all related and dont need different permissions
     
  5. Hey, The plugins is not working to see top 10 playertime and to see my time, What I need to do ? ( Version 1.16.5 )
     
  6. can i ask what its showing? make sure to delete and expansion pack for playtime inside of placeholderapi if you have one and make sure your on latest version of playtime
     
  7. I noticed in the last few updates we cannot use the playtime command in the console anymore. I'm not sure if it's just me or the plugin changed. Please advise, thank you.
     
  8. You haven't been able to use it at all in this plugin
     
  9. Here's another suggestion: add a feature where it will tell you how long a player has played on the network as a whole. right now it is just per server. (I honestly don't know if this is even possible without bungeecord support but it's worth suggesting.) If this is already implemented, what command/placeholder do I use to use this feature?
     
  10. When I use /playtime, this is what happens

    Code (Text):
    [11:24:48 INFO]: r_0_m_a_n issued server command: /playtime
    [11:24:48 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'playtime' in plugin PlayTime v2.9.5
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Purpur-1086]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172) ~[patched_1.16.5.jar:git-Purpur-1086]
            at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:810) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2301) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2116) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2069) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:50) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:8) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:55) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1335) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1328) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1304) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1148) ~[patched_1.16.5.jar:git-Purpur-1086]
            at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Purpur-1086]
            at java.lang.Thread.run(Thread.java:834) [?:?]
    Caused by: java.lang.NoSuchFieldError: PLAY_ONE_TICK
            at me.F64.papiexpansions.playtime.ExpansionPlayTime.onPlaceholderRequest(ExpansionPlayTime.java:40) ~[?:?]
            at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:31) ~[?:?]
            at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:160) ~[?:?]
            at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70) ~[?:?]
            at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98) ~[?:?]
            at me.F64.PlayTime.Utils.Chat.message(Chat.java:23) ~[?:?]
            at me.F64.PlayTime.Commands.PlayTime.onCommand(PlayTime.java:113) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Purpur-1086]
            ... 19 more

    Also, the placeholders aren't working.
     
  11. its because of the server version your using try using normal spigot 1.16.5 and it will work also for placeholders not working check that you dont have the old playtime expansion inside of the placeholderapi folder its no longer needed
     
  12. this aint my plugin... can you remove the message thanks
     
    • Agree Agree x 1
  13. Code (Text):
    17.05 19:14:12 [Server] WARN Unexpected token END OF FILE at position 0.
    17.05 19:14:12 [Server] WARN at org.json.simple.parser.JSONParser.parse(JSONParser.java:257)
    17.05 19:14:12 [Server] WARN at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
    17.05 19:14:12 [Server] WARN at me.F64.PlayTime.Main.writePlayer(Main.java:146)
    17.05 19:14:12 [Server] WARN at me.F64.PlayTime.Main.savePlayer(Main.java:138)
    17.05 19:14:12 [Server] WARN at me.F64.PlayTime.Main.onPlayerQuit(Main.java:81)
    17.05 19:14:12 [Server] WARN at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor102.execute(Unknown Source)
    17.05 19:14:12 [Server] WARN at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
    17.05 19:14:12 [Server] WARN at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
    17.05 19:14:12 [Server] WARN at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    17.05 19:14:12 [Server] WARN at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.PlayerList.disconnect(PlayerList.java:598)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1977)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.NetworkManager.handleDisconnection(NetworkManager.java:713)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:184)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1594)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:434)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1413)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1139)
    17.05 19:14:12 [Server] WARN at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292)
    17.05 19:14:12 [Server] WARN at java.base/java.lang.Thread.run(Thread.java:834)
     
  14. delete the userdata.json and let it regenerate :)
     
  15. offline player playtimes don't appear
     
  16. They need to join atleast once for it to save to userdata.json
     
  17. Heya! for some reason the Plugin isn't working for me.. I added it into my server with PlaceholderAPI but it keeps saying on my console that I need to install PlaceholderAPI for the plugin to work even though I already added it.. what can I do to fix it? I'm using zap-hosting for my Server
     
  18. make sure on latest version of placeholderapi
     
  19. Weird because ever since i started using this plugin in 2018 i have always been able to check playtime through console. I couldn't find a screenshot of it in console, but i have used it in console and copy pasted it to my discord.

    Heres a screenshot of a conversation about the plugin.
    https://prnt.sc/13amggy
     
  20. the only time you could was before you could check others players playtime since then you are not able to