TimeShift

5 minute icon

TimeShift

Tazzernator, cjc343

Download TimeShift Download Latest JAR

Download TimeShift Download Previous Builds

Deutsch config.yml from RasCas

Fork TimeShift on GitHub
(TimeShift is Open Source!)


Summary:

TimeShift gives you control over how time progresses on your server. It allows you to set both the current behavior and the startup behavior for any world to progress normally, loop day, or loop night. It also offers multiple options for sunrise and sunset.

TimeShift attempts to play nice with other plugins that reserve the '/time' command by cancelling active shifts on a world if a '/time [x]' command is used. It also offers Bukkit permission nodes which are available by default to ops.

You can easily modify what messages TimeShift displays and who sees them using the configuration file which is generated when TimeShift is first run. This allows you to localize TimeShift in your own language or simply control who sees announcements. If you decide to localize TimeShift, you should send me your config!

The links below provide more information on configuring and using TimeShift. Simply click "Main" at the top to return to this page. If you are currently browsing via minecraft.curse.com, please follow this link. The sub-pages do not work on curse.com yet, and at this rate (and knowing curse) they never will. DBO provides a much cleaner, easier to read, limited-ad (320 pixels of affiliate links) place to view Bukkit plugins.


Command Reference


Permission Nodes


Configuration


Change Log


Developers

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of gabessdsp gabessdsp Oct 03, 2013 at 18:33 UTC - 0 likes

    For some reason TimeShift randomly broke, adn whenever I use a timeshift command I get this error:

    03.10 14:29:53 [Server] INFO Connection reset 03.10 14:28:33 [Server] INFO ... 15 more 03.10 14:28:33 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 03.10 14:28:33 [Server] INFO at tazzernator.cjc.timeshift.TimeShiftCommandParser.onCommand(TimeShiftCommandParser.java:194) 03.10 14:28:33 [Server] INFO at tazzernator.cjc.timeshift.TimeShiftCommandParser.stopShift(TimeShiftCommandParser.java:90) 03.10 14:28:33 [Server] INFO at tazzernator.cjc.timeshift.TimeShift.cancelShift(TimeShift.java:337) 03.10 14:28:33 [Server] INFO Caused by: java.lang.NullPointerException 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:834) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:877) 03.10 14:28:33 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:959) 03.10 14:28:33 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:523) 03.10 14:28:33 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) 03.10 14:28:33 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 03.10 14:28:33 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'shift' in plugin TimeShift v3.0 03.10 14:28:33 [Server] SEVERE null

    plus my server time is still going, and it's going through day/night but the sun is stuck in the sky. I haven't altered anything in the config at all.

    BFAK:90589814,167b0d0ede23101b5b8660c3a07bab36c32dd06a0c760ae2355e71ac76e030dd

    Plugin Website Wiki | My Server

    Every dollar donated let's me spend more time making plugins instead of working to raise money for college. Every bit helps :)

    donate

  • Avatar of o0CreeperBoss0o o0CreeperBoss0o Apr 22, 2013 at 21:25 UTC - 0 likes

    It would be useful if you included a data file to save all the shifts in different worlds.

  • Avatar of eagleFMJ eagleFMJ Mar 31, 2013 at 19:21 UTC - 0 likes

    Can someone update this plugin for 1.4.7 please!

  • Avatar of ubelong2matt ubelong2matt Feb 17, 2013 at 15:17 UTC - 0 likes

    CJC,

    I apologize if this seems like a dumb comment, but I am having trouble following the advanced configuration information. I want to add a custom command that sets the day to run for 15-minutes, sunset/sunrise for 1.5 each (total of 3-minutes), and night for 2-minutes. However, when I try to follow the example of an advanced configuration, I am having trouble understanding what of those options I can customize.

    Could you possibly give me a brief example of how I could do the above or how I could do anything? I've tried to find anything at all to answer my question and even tried making my own based off the example advanced config but I failed to do something correctly. Any help would be greatly appreciated.

    Thanks, Matt

    Last edited Feb 17, 2013 by ubelong2matt: added a word
  • Avatar of cjc343 cjc343 Nov 08, 2012 at 09:06 UTC - 0 likes

    @PAL18: Go

    Aside from a bug I noticed with the 'stop' text for '/shift startup' commands appearing incorrectly, it appears to be working just fine.

    Plugins I work on: TimeShift

  • Avatar of PAL18 PAL18 Nov 05, 2012 at 05:45 UTC - 0 likes

    Will this be updated for 1.4.2?

  • Avatar of cjc343 cjc343 Sep 16, 2012 at 06:08 UTC - 0 likes

    @Psithief: Go

    it's supposed to be:

    configuration:
      classic:
        on: false
    

    not sure how 'true' ended up there.

    Enabling classic mode makes TimeShift poll for time changes instead of trying to intelligently schedule timers. I would not recommend turning it on unless you are encountering issues with 3.0, in which case I'd like to hear more about the issues.

    I assume this was from a config file which was updated automatically, and not from a fresh copy?

  • Avatar of Psithief Psithief Sep 15, 2012 at 04:17 UTC - 0 likes
    configuration:
      config-version: 1
      detect-time: true
      colorize-strings: false
      classic:
        'true': false
        poll-rate: 100
    

    Um.. 'true'? What's that supposed to be? classic: true?

  • Avatar of Psithief Psithief Sep 12, 2012 at 03:41 UTC - 0 likes

    @cjc343: Go

    I tested that myself, all you see is monsters spawning in the day. The client doesn't appear to make any assumptions about when monsters should spawn or spontaneously combust in sunlight.

  • Avatar of cjc343 cjc343 Sep 09, 2012 at 00:29 UTC - 0 likes

    @Psithief: Go

    Well that certainly simplifies things.

    I've just released an update that brings a very old feature request (able to colorize strings), semi-unintentionally implements a feature I didn't really want to implement (custom time progression settings), and generally updates the underlying code base to be more efficient and more versatile than it was before, and much easier to add the ability to freeze time per world by freezing the players on the world, or freeze or loop time per player.

    With setPlayerTime that might be 100x easier than I was thinking it would... though I'm curious what'll happen when I set the world to night and myself to day...

Table of contents

  1. 1 TimeShift
    1. 1.1 Summary:

Facts

Date created
Aug 25, 2011
Categories
Last update
Sep 09, 2012
Development stage
Mature
Language
  • deDE
  • enUS
License
Public Domain
Curse link
TimeShift
Downloads
12,261
Recent files

Authors