[INFO] SpoutClock v1.7 - The Time Display Plugin [1337] [Spout]

Discussion in 'Inactive/Unsupported Plugins' started by Waterpicker, Aug 25, 2011.

  1. Offline

    Waterpicker

    SpoutClock - The Time Display Plugin:
    Version: v1.7
    Description: Displays the in-world time in real-time

    [​IMG]

    SpoutClock is now moved to BukkitDev: Here
     
  2. Offline

    Liberality

    I'm some what confused with what this plugin can do.
     
  3. Offline

    Waterpicker

    Updated. I was in the middle of still writing it out the thread.
     
  4. Offline

    Cosmic Break

    can you have it so it always shows it? also one or the other would be good, both ways aren't needed.

    will this be affected by plugins that change time? how fast does it update if i were to use the command /time set day
     
  5. Offline

    Waterpicker

    It shows automatically when you go on the server.

    As of now, every tick.

    instant
     
  6. Offline

    Cosmic Break

    works fine to me, only thing is it overlaps with mcmmo xp bar, but that is easily remedied.

    1st error

    04:58:08 [SEVERE] java.lang.NullPointerException
    04:58:08 [SEVERE] at org.waterpicker.spoutclock.SpoutClock.updateGUI(Spout
    Clock.java:105)
    04:58:08 [SEVERE] at org.waterpicker.spoutclock.SpoutClock.onSecond(SpoutC
    lock.java:64)
    04:58:08 [SEVERE] at org.waterpicker.spoutclock.SpoutClock.access$0(SpoutC
    lock.java:59)
    04:58:08 [SEVERE] at org.waterpicker.spoutclock.SpoutClock$1.run(SpoutCloc
    k.java:49)
    04:58:08 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    04:58:08 [SEVERE] at java.lang.Thread.run(Unknown Source)

    i just logged in after a disconnect and it came up

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

    Waterpicker

    I got that alot during my intial bebugging too. I'll look at it quickly

    I had the error too but it still worked and it didn't show up again. Cosmic Break

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

    Cosmic Break

    Code:
    05:15:48 [SEVERE] Could not pass event CUSTOM_EVENT to SpoutClock
    java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.GenericLabel.setHexColor(
    I)Lorg/getspout/spoutapi/gui/Label;
            at org.waterpicker.spoutclock.listeners.SpoutClockSpoutListener.drawGUI(
    SpoutClockSpoutListener.java:40)
            at org.waterpicker.spoutclock.listeners.SpoutClockSpoutListener.onSpoutC
    raftEnable(SpoutClockSpoutListener.java:33)
            at org.getspout.spoutapi.event.spout.SpoutListener.onCustomEvent(SpoutLi
    stener.java:40)
            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.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.jav
    a:82)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :114)
            at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
            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
    :453)
            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)
    05:15:48 [SEVERE] java.lang.NullPointerException
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.updateGUI(Spout
    Clock.java:105)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.onSecond(SpoutC
    lock.java:64)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.access$0(SpoutC
    lock.java:59)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock$1.run(SpoutCloc
    k.java:49)
    05:15:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    05:15:49 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    05:15:49 [INFO] CosmicBreak lost connection: disconnect.endOfStream
    05:15:49 [SEVERE] java.lang.NullPointerException
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.updateGUI(Spout
    Clock.java:105)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.onSecond(SpoutC
    lock.java:64)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.access$0(SpoutC
    lock.java:59)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock$1.run(SpoutCloc
    k.java:49)
    05:15:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    05:15:49 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    05:15:49 [SEVERE] java.lang.NullPointerException
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.updateGUI(Spout
    Clock.java:105)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.onSecond(SpoutC
    lock.java:64)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.access$0(SpoutC
    lock.java:59)
    05:15:49 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock$1.run(SpoutCloc
    k.java:49)
    05:15:49 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    05:15:49 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    05:15:51 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    05:15:59 [INFO] /178.79.164.111:51428 lost connection
    05:16:00 [INFO] CosmicBreak [/50.81.45.111:49495] logged in with entity id 1383
    at ([sateda] 225.09375, 64.0, 260.4375)
    05:16:00 [INFO] [HomeSpawnPlus] Attempting to respawn player CosmicBreak (joinin
    g).
    05:16:01 [INFO] [Spout] Successfully authenticated CosmicBreak's Spoutcraft clie
    nt. Running client version: 102
    05:16:01 [SEVERE] Could not pass event CUSTOM_EVENT to SpoutClock
    java.lang.NoSuchMethodError: org.getspout.spoutapi.gui.GenericLabel.setHexColor(
    I)Lorg/getspout/spoutapi/gui/Label;
            at org.waterpicker.spoutclock.listeners.SpoutClockSpoutListener.drawGUI(
    SpoutClockSpoutListener.java:40)
            at org.waterpicker.spoutclock.listeners.SpoutClockSpoutListener.onSpoutC
    raftEnable(SpoutClockSpoutListener.java:33)
            at org.getspout.spoutapi.event.spout.SpoutListener.onCustomEvent(SpoutLi
    stener.java:40)
            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.spout.PlayerManager.onSpoutcraftEnable(PlayerManager.jav
    a:82)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :114)
            at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
            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
    :453)
            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)
    05:16:01 [INFO] Connection reset
    05:16:01 [INFO] CosmicBreak lost connection: disconnect.endOfStream
    05:16:01 [SEVERE] java.net.SocketException: Socket closed
    05:16:01 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    05:16:01 [SEVERE]       at java.net.SocketOutputStream.write(Unknown Source)
    05:16:01 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    05:16:01 [SEVERE]       at java.io.BufferedOutputStream.flush(Unknown Source)
    05:16:01 [SEVERE]       at java.io.DataOutputStream.flush(Unknown Source)
    05:16:01 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:116)
    05:16:01 [SEVERE] java.lang.NullPointerException
    05:16:02 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.updateGUI(Spout
    Clock.java:105)
    05:16:02 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.onSecond(SpoutC
    lock.java:64)
    05:16:02 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock.access$0(SpoutC
    lock.java:59)
    05:16:02 [SEVERE]       at org.waterpicker.spoutclock.SpoutClock$1.run(SpoutCloc
    k.java:49)
    05:16:02 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    05:16:02 [SEVERE]       at java.lang.Thread.run(Unknown Source)
    05:16:03 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    >
    its now preventing me from staying logged in.

    after multiple restarts, it stopped. weird.
     
  9. Offline

    Waterpicker

    What version of SPout do you have? Alot of those errors are related to the Spout plugin SpoutClock uses.
     
  10. Offline

    Cosmic Break

    im using the recommended version 134
     
  11. Offline

    Waterpicker

    hmmmm. It shouldn't do that. I tested over and over again earlier. It very simple plugin.
     
  12. Offline

    Cosmic Break

    about the enable/disable thing.

    i want it to always be enabled.

    it currently switches between enabled/disabled whenever i relog.

    i think that may be the cause of those errors?

    im currently an OP on my server with '*' permission using permissionsbukkit, craftbukkit 1060, spout 134.
     
  13. Offline

    Waterpicker

    yea I'll fix that in 1.0.1

    Any suggestions for me to add while I'm in there.
     
  14. Offline

    Liberality

    Ah, apologies. This looks very nice. I'll be looking forward to using it instead of having to minimize minecraft to see the time and what not.
     
  15. Offline

    Waterpicker

    Glad people like my it so far. ^^
     
  16. Offline

    Cosmic Break

    also fix it so it doesnt switch modes on relog
     
  17. Offline

    Mercury

    Is it possible to add minecraft style clock? (Analog)
     
  18. Offline

    fffizzz

    If you really wanna freak people out, add a timer of how long they've been online. lol
     
  19. Offline

    Stephen92

    I love it just need it updated Im getting the same error mentioned above.
     
  20. Offline

    HockeyMike24

    This looks interesting, could you maybe add the option to make it change colour?
     
  21. Offline

    fffizzz

  22. Offline

    Eagle

    Waterpicker Nice JOb :D [pig]
     
  23. Offline

    Marcos Cosmos

  24. Offline

    Waterpicker

    I'm planning on upgrading the plugin when 1.8 verison officall comes out.
     
  25. Offline

    Waterpicker

    SpoutClock hass been updated for 1.8.
     
  26. Offline

    simbad

    what to do?
    [SEVERE] Could not load 'plugins/SpoutClock.jar' in folder 'plugins': lib24time
    org.bukkit.plugin.UnknownDependencyException: lib24time
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:104)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  27. Offline

    Waterpicker

    1.7 is out.
     
  28. Offline

    Avous

    @Waterpicker can you change it to the right side of the screen and use the clock icon? but it is only displayed if a clocks in your bag? and i mean like the actual clock item for displaying the time
     

Share This Page