[MECH][FUN] TimeShift 2.0.1 ~ Change Time on-the-fly! [b1337]

Discussion in 'Inactive/Unsupported Plugins' started by Tazzernator, Jan 19, 2011.

  1. Offline

    Tazzernator

    Xordaii, arpey, Steve Cole and 2 others like this.
  2. Offline

    ssttevee

    so this is pretty much TimeRift from hmod?
     
  3. Offline

    Tazzernator

    Pretty much! :)

    I hadn't seen it ported yet, So i thought i'd re-write it myself :)
     
    cjc343 likes this.
  4. Offline

    Wolfy9247

    It works just fine on build 96! ^^
     
  5. Offline

    Tazzernator

    Fixed the redstone issue. If you're on 1.0 UPDATE! :)
    --- merged: Jan 20, 2011 9:05 AM ---
    Woops. Left my debug code in there. Re-download 1.1. XD
     
    cjc343 likes this.
  6. Offline

    RadicalM1nd

    Hey mate, I do have the latest CraftBukkit and the Plugin loads just fine when I start my server, but whenever I type either of the 3 commands, nothing happens and i get some weird errors in the console.
    I will edit and copy/paste the error in a minute. Does anyone else have this problem?

    Edit:
    Here goes:
    Code:
    20.01.2011 16:07:04 org.bukkit.plugin.SimplePluginManager callEvent
    SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to TimeShift
    java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerChatEvent.getPlayer()
    Lorg/bukkit/entity/Player;
            at com.bukkit.tazzernator.timeshift.TimeShiftPlayerListener.onPlayerComm
    and(TimeShiftPlayerListener.java:36)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:134)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:199)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:540)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    20.01.2011 16:07:04 org.bukkit.plugin.SimplePluginManager callEvent
    SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to MyWarp
    java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerChatEvent.getPlayer()
    Lorg/bukkit/entity/Player;
            at me.taylorkelly.mywarp.WMPlayerListener.onPlayerCommand(WMPlayerListen
    er.java:24)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:134)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:199)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:540)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-20 16:07:04 [INFO] zeroeenna issued server command: shift day
    2011-01-20 16:07:04 [INFO] Unknown console command. Type "help" for help.
    
     
  7. Offline

    Tazzernator

    Can you list all the plugins on the server?

    I'm seeing

    Code:
    java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerChatEvent.getPlayer()
    Which means a bukkit event is missing from your build.


    You can see that this is happening in not only my plugin in your errors...

    Code:
    SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to TimeShift
    SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to MyWarp
     
    cjc343 likes this.
  8. Offline

    cjc343

    Thanks, I've been waiting for this plugin. I've been running it for a little while now on 118 without issues afaik.
     
  9. Offline

    Tazzernator

    No worries! Glad to hear it's all working :)
     
    cjc343 likes this.
  10. Offline

    cjc343

    Actually, just caught a bug: If you use /time day, you display the "Time appears to be back to normal..." even if you aren't canceling a /shift
     
  11. Offline

    Tazzernator

     
    cjc343 likes this.
  12. Offline

    cjc343

    That is expected behavior. But if you type "/time day" without setting a shift, it still displays the "shift removed" message. The message should only be displayed if a shift was in effect, and was canceled, not anytime the command is used, regardless of whether a shift was in effect.
     
  13. Offline

    Tazzernator

    Updated to 1.2:

    Download


    I havn't tested it, but should work in theory.. Mind lettin me know how it goes?
     
    cjc343 likes this.
  14. Offline

    cjc343


    Thanks, that fixed my issues. I still have redstone issues if I switch things too fast, but I think that's my fault for typing "/time day /shift day /time day /time day /time day /time night /shift day /time night /time day /shift night /time day /time day" since I haven't had any issues if I keep the changes down to a more reasonable level.

    Also, I'm running on 127 at this point, haven't tested any newer builds yet.
     
  15. Offline

    Wolfy9247

    Well it seems that in build 123 that it doesn't quite work, it'll still goto night no matter if you've typed in /shift day - Another error I may mention is that when time is switched via /time day or /time night it'll say that time has gone back to normal (whatever it says, lol) x2 (twice) instead of just once.
     
  16. Offline

    Tazzernator

    @Wolfy9247 Sounds like you didnt remove the original timshift-v1.1.jar..
     
    cjc343 likes this.
  17. Offline

    Wolfy9247

    Ah, that'd be it xP -- I saw it whenever I was adding some plugins earlier, but my mental note to remove it kinda slipped from my mind, lol.
     
  18. Offline

    Sturmeh

    Does anyone still want TimeRift ported?
     
    cjc343 likes this.
  19. Offline

    Threezool

    Is it possible to have a config file to set the time? like Timeshift=Day|Night|Default ?
     
  20. Offline

    cjc343

  21. Offline

    Juze

    Just like TimeRift and better than Noon! Thanks!
     
    cjc343 likes this.
  22. Offline

    Sturmeh

    Since it's not really a complicated plug-in I'll hold off porting, you should add the watch control feature.
     
  23. Offline

    MatCat

    Is there permissions support?
     
  24. Offline

    Tazzernator

    good idea.

    Will be once bukkit has it as standard.
     
    cjc343 likes this.
  25. Offline

    Aelux

    If you could support the current Permissions plugin, that would be amazing, especially since it uses basically the same format that bukkit itself will be using. It would give you a head start ;)
     
  26. Offline

    Tazzernator

    No.
     
  27. Offline

    ccman125

    i have heard that bukkit plugins can work on simple server. really want this one can any one help me out with a comand prompt or instructions???
     
  28. Offline

    DerET

    Support for Permissions? (Default shouldn't be able to loop day :D)
     
  29. Offline

    Sturmeh

    In lieu of the accusations and rammifications I will be porting TimeRift soon, bear with me.

    Sorry to see this happen. -_-
     
  30. Offline

    Tazzernator

    Awesome! Admin - Remove this thread?
     

Share This Page