TimeFold
Do you think a day needs to have 48 hours for all your work to do?
You don't want to be interrupted by fading out light and torches don't do the job?
But you also want to go on monster hunting in the night?
TimeFold lets you fold the time the way you want!
Features
- Extend/shorten the length of days/nights to an amount of your choice, even zero
- Longer days | Have always day
- Longer nights | Have always night
- Shorter days/nights
- Inconspicuous time changes
- Multiworld support
- Extremely lightweight
- Detects and adapts to external time changes
- Does not break redstone circuits or plant growing
How it works
The plugin cycles through the set amount of days and after that, through the nights.
As for the days, right before dusk, it will set the time back[1] to morning right after dawn until the specified amount of days is reached. Then the same for the nights. If less than 1 day (e.g. 0.5) is left, the time will be set to about noon (exact time is calculated).
For example, if you set it to world:3:2 it will repeat like this:
Day 1 - Day 2 - Day 3 - (Dusk) - Night 1 - Night 2 - (Dawn)
[1] It does not really set the time back into the past (that would break redstone and growing etc) but instead, it skips the night.
Configuration
Way A) Start the server once to let TimeFold create the settings file itself.
Way B) Create the directory and file yourself ("plugins/TimeFold/TimeFold.settings")
Set it up like this:
[default]:1:1 world:3:2 <worldname>:days:nights
Worldnames are case-sensitive.
If you don't specify a world in the file, its day/night cycle will be [default]. If the default isn't set the time remains untouched and runs like normal.
Commands
/timefold [world] Shows you the current day/night in the cycle
/timefold reload Reloads the TimeFold plugin (Permission timefold.reload required)
/timefold version Prints out the current version
_______
_______
View source on GitHub
.
What happens with the sleep cycles? Will it skip to the next dawn?
@Phoenix_IV
Okay thx... I ask for this at many Plugins, but no one answers :(
@MysticCity
Hm, well, the problem is that this is not what TimeFold is intended for. So maybe it would be a better choice to ask for updates / improvements at the existing plugin pages.
However, I made a note about that and if it's going to happen that I release a plugin with this functionality I will let you know. But don't rely on it.
@Phoenix_IV
I cant find a good, supportet, up to date, lag free version for this option
@MysticCity
There are already plugins out there that can do that. So why should this be added to TimeFold?
Can you add a realtime Day/Night
@parmleyhunt
Really i just didn't like the fact that it was changed up the fact that i had to go that extra step to actually choose a program to open it....theres standards in place for a reason for lazy ppl like me :)
@Phoenix_IV
Even if it is minimalistic you can achieve the same thing in yaml and have access built in as to having to create a custom getter
@parmleyhunt
I am willing to discuss about this. What is it that you don't like about it? As I can see you are obviously a developer yourself, therefore you should know the yaml file specifications, don't you? The composition of the configuration file (TimeFold.settings) is described in detail above. It's a super-easy set-up, which doesn't require a lot of sub-configuration-nodes. Additionally the layout of the config is very unlikely to change ever again. Therefore I decided (like Silverstar before) to keep this minimalistic setup, hoping that it will be the most easy to understand.
Glad to hear that this doesn't affect your overall opinion about the plugin ;)
WHY DID YOU NOT JUST USE CONFIG.YML STUPIDEST THING IVE EVER SEEN...good plugin though lol :)
This.. Looks great.. Thanks for creating something so awesome !!!
@ha11oga11o
i dont get it here, ... this settings
Can you please set it up for me?
have 3 worlds for now:
- Creative - want to be always day
- Jugoslavia- want to be 3 days one night - main world
- Yugoslavia - want to be 6 days one night
I tried everythings, seems that in n00b for this one :)
Thank you :)
@ha11oga11o
You're welcome ;)
Seems nice, ill transfer to this plugin since no one reply at another one im using for long time, and i still have same issue.
thanks :)
@erik1988
Yes, it does. Just tested it for you ;)
does it work well on 1.6.2?
@donsavage1
Oh okay, in this case I see a possible reason for this happening:
One of the other plugins altered the time as well. In world "world" it was day one of three (two remaining), then the time was changed to night. When you used
/timefold
the current time in the world was night and therefore should be 1 period long (your configuration). However, the counter stated that two periods (days) are still remaining. 1 - 2 = -1 -> It's night -1 of 1.However, the plugin will adapt to the current time of the day when a scheduled time change is out of sync with the time in the world (which happens when the time is changed e.g. via command).
@Phoenix_IV
It was working fine until a while ago. I think it was some freak conflict problem. A co-admin had installed a few outdated plugins to see if they still worked and once I realized it and removed them it seemed to go back to normal.
@donsavage1
I can't reproduce that. Could you try to find out under which circumstances this bug appears? Or does it happen all the time?