[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

    cjc343

    Glad to have you back, and thanks for the info + new version!

    There's a new experimental feature I was aiming at 1.4.4 for that partially slipped into 1.4.3.1, and through it, into 1.4.3.2 that should allow you to name the worlds you would like to change (by their worldname / folder name).

    I'll be testing it shortly, but until then, here's how it works:

    /shift <option> [world names]

    This (theoretically) allows you to either change multiple worlds at once, or to change a world that you are not on.

    If I had two worlds, named world1 and world2, and ran '/shift day world1 world2' they should both loop day.

    I think this is case sensitive. If it is, making it case-insensitive may be bad if you use a case-sensitive file system and have both World and world.

    This feature is not at all present for startup settings yet, hence the 'partially'

    I'm going to go upgrade a bunch of plugins and see if I can try it out.
     
    Tazzernator likes this.
  3. Offline

    Tazzernator

    I assume this is in regards to such features as multiverse?
     
    cjc343 likes this.
  4. Offline

    cjc343

    Also because I was procrastinating on doing other things and it seemed like fun.
     
  5. Offline

    Tazzernator

    Hahaha - Only reason I write plugins to be honest. :p
    --- merged: Feb 23, 2011 5:25 AM ---
    Right now i've put my shoes and socks on to mow the lawn! -- But you know.... That was an hour ago. XD
     
    cjc343 likes this.
  6. Offline

    cjc343

    New Version: TimeShift 1.4.4.1

    TimeShift 1.4.4

    Support for world names.

    Simply enter 1 or more worldnames after the command to change only those worlds.

    /shift day world otherworld
    /shift startup night world world2

    Commands that do not include worldnames still work, they effect the player's world.

    Permissions 2.0 support is tested. Permissions 2.1 support should also be present (Previous builds gave everyone permission if Permissions 2.1 was used due to a change in the way permissions are set up).

    Tested on CB 432

    New Version Below!

    TimeShift 1.4.4.1
     

    Attached Files:

  7. Offline

    Scyl

    doesn't seem to work with permissions 2.1, it keep saying I don't have permission, I am an admin
     
  8. Offline

    cjc343

    I have it working just fine with Permissions 2.1

    Please post:

    Your CB build #

    Server startup logs

    Permissions config (in a code block to preserve spaces please)
     
  9. Offline

    Scyl

    I updated to craftbukkit 456 and now it give this server eror

    Code:
    [SEVERE] PLAYER_COMMAND (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
        at tazzernator.cjc.timeshift.TimeShift.onEnable(TimeShift.java:99)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-27 10:07:27 [INFO] Done (0.231s)! For help, type "help" or "?"
    
     
  10. Offline

    cjc343

    Build 454+ breaks any plugins using onPlayerCommand.

    TimeShift was still using this in order to not override the functions of other plugins.

    If a shift is active, it will be canceled by any /time command. This ensures that if you have /shift night and type /time day (for some other plugin) that it will not snap back to night.

    The user typing /time day must also have /shift permission in order to cancel a shift.

    TimeShift v. 1.4.4.1
    Changes:
    - Fix for builds 454+
     

    Attached Files:

  11. Offline

    Scyl

    thx, <3 this plugin, so useful!!
     
  12. Offline

    Save777_

    pls update it for the new bukkit server
     
  13. Offline

    cjc343

    If it's not working, you'll need to provide more info than that to get help.

    What server version are you running?

    What TS version are you running?

    What error do you get?

    Please post a full log of your server startup.
     
  14. Offline

    Tazzernator

    TImeShift working perfectly on 485 for me.
     
    cjc343 likes this.
  15. Offline

    LtKernelPanic

    I'm getting the same error posted by Scyl in build 493 the latest recommended build. I'm using TS 1.4.4.

    Edit: Tried the above mention build 485 and got the same build. Guess I'll stick with 440 for now since newer seems to have broken several plugins.

    Thanks for the great plugin!
     
  16. Offline

    Queepo

    Works for me on 493. Thanks a lot.
     
    Tazzernator likes this.
  17. Offline

    AdmiralKnight

    Works on 493 for me as well! Two requests though.

    1) Multi-World support. I'm not looking for anything fancy myself, don't need seperate commands per world or anything like that, but currently this only works in the main world. It'd be great if when I did a /shift day, it applied to all worlds.

    2) http://forums.bukkit.org/threads/ad...keep-your-server-plugins-up-to-date-400.5026/ <-- I'm pointing this out to any plugin devs who aren't on UpToDate's list. It's a great feature for your user base.
     
  18. Offline

    Tazzernator

    http://forums.bukkit.org/threads/ti...e-time-on-the-fly-b454.1265/page-3#post-79906
     
    cjc343 likes this.
  19. Offline

    AdmiralKnight

    Doh. Thank you!
     
    Tazzernator likes this.
  20. Offline

    Juze

    Works on #493, but I cannot seem it to do permament day (shift day) on server restart.
     
  21. Offline

    Tazzernator

    Have you tried "/shift startup day"
     
    cjc343 likes this.
  22. Offline

    Juze

    Ah, thanks!
     
  23. Offline

    Tazzernator

    No Worries :)
     
    cjc343 likes this.
  24. Offline

    svavart

  25. Offline

    cjc343

  26. Offline

    svavart

    Sorry my mistake it works, it was a plugin conflict with something I made. :) confirmed working on 531
     
  27. I don't think the plugin works for me, it doesn't seem to loop the day :S
     
  28. Offline

    cjc343

    Just finished testing with a fresh download of CB 531, and a fresh download of TS 1.4.4.1 and had no unexpected behavior. You'll need to provide more information about what you're trying to do, how you tried to do it, and the results both in the server console and in-game.

    First of all, what command did you use? What CB version? TS version? Server output from using the command? Server output from starting the server?
     
  29. Offline

    Loglis

    Hi,
    is it possible to configure this plugin to have the sunset and the sunrise ?

    Thanks.
     
  30. Offline

    cjc343

    Not yet, I'll look into adding it as a possibility once I have some free time again. (soonish)
     
  31. Offline

    feverdream

    Check your mail please.
     

Share This Page