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

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

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


    so this is pretty much TimeRift from hmod?
  3. Pretty much! :)

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


    It works just fine on build 96! ^^
  5. 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


    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?

    Here goes:
    Code (Text):
    1. 20.01.2011 16:07:04 org.bukkit.plugin.SimplePluginManager callEvent
    2. SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to TimeShift
    3. java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerChatEvent.getPlayer()
    4. Lorg/bukkit/entity/Player;
    5.         at com.bukkit.tazzernator.timeshift.TimeShiftPlayerListener.onPlayerComm
    6. and(TimeShiftPlayerListener.java:36)
    7.         at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    8. va:134)
    9.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    10. ava:199)
    11.         at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:540)
    12.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    13.         at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    14.         at net.minecraft.server.NetworkManager.a(SourceFile:232)
    15.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
    16.         at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    17.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    18.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    19.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    20. 20.01.2011 16:07:04 org.bukkit.plugin.SimplePluginManager callEvent
    21. SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to MyWarp
    22. java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerChatEvent.getPlayer()
    23. Lorg/bukkit/entity/Player;
    24.         at me.taylorkelly.mywarp.WMPlayerListener.onPlayerCommand(WMPlayerListen
    25. er.java:24)
    26.         at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    27. va:134)
    28.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    29. ava:199)
    30.         at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:540)
    31.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
    32.         at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    33.         at net.minecraft.server.NetworkManager.a(SourceFile:232)
    34.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
    35.         at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    36.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    37.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    38.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    39. 2011-01-20 16:07:04 [INFO] zeroeenna issued server command: shift day
    40. 2011-01-20 16:07:04 [INFO] Unknown console command. Type "help" for help.
  7. Can you list all the plugins on the server?

    I'm seeing

    Code (Text):
    1. 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 (Text):
    1. SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to TimeShift
    2. SCHWERWIEGEND: Could not pass event PLAYER_COMMAND to MyWarp
    cjc343 likes this.
  8. Thanks, I've been waiting for this plugin. I've been running it for a little while now on 118 without issues afaik.
  9. No worries! Glad to hear it's all working :)
    cjc343 likes this.
  10. 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
    cjc343 likes this.
  12. 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. Updated to 1.2:


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

  14. 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


    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. @Wolfy9247 Sounds like you didnt remove the original timshift-v1.1.jar..
    cjc343 likes this.
  17. Offline


    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


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


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


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


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


    Is there permissions support?
  23. good idea.

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


    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 ;)
  25. No.
  26. Offline


    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???
  27. Offline


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


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

    Sorry to see this happen. -_-
  29. Awesome! Admin - Remove this thread?

Share This Page