ProperTime
ProperTime
On many servers, lag causes the time to pass extremely slow, so this plugin fixes it.
properTime runs in a dedicated thread, so it wont really be affected by lag.
By default this plugin makes sure that the day/night cycle lasts exactly 20 minutes.
If desired you can change this, so that it always runs at half speed, or -10 times as fast, causing the time to go backwards really fast .
This plugin is also compatible with other time changing plugins, however, I advise against using it in combination with time stopping plugins. It also works fine with beds.
Presets
Valid presets are:
ALWAYSDAY: permanent midday
ALWAYSNIGHT: permanent midnight
CYCLE24M: a full day/night cycle lasts 24 minutes, instead of 20min.
CYCLE24H: a full day/night cycle lasts 24 hours
Normally day lasts 10 minutes, dawn + dusk 1.5, and night 7.
If you want your day to last 12 minutes, you should set timespeedDay to 10/12 = 0.833
Also, when freezing time, if you set the time to somewhere during dusk or dawn, the light will flicker for the client. I advise against this.
Features:
Configurable time speeds
Dedicated thread (so lag proof)
Separate configuration for day, night, dawn, dusk
Multiworld support (the plugin that creates the secondary worlds needs to load before properTime)
Permanent day/night
Ability to freeze time.
Troubleshooting
First of all, carefully read all errors, as well as the last few comments on this thread. If that does not fix your problem, try adding "debug" to the top of your config file. That way the plugin will give you a lot of information, some of which may be useful for finding out what is wrong.
World "foo" not found
Make sure your plugins load in the correct order. You can also try to remove or rename your config file, so that it is regenerated with the correct worldnames and syntax.
Nice but the jitter's bit offputting. Not entirely sure if freezing time actually freezes the movements, but if it does coudln't you essentially run the freezes frame by frame or every other?
@andersonhc
It would be awesome! I stop the server often, so it would be perfect. Thanks :D
@Freezap
If you use on the config:
world_name:
preset: CYCLE24H
You will have a 24 hours day/night cycle, and if you set the time to the server time it will keep running like in RL.
Maybe I can implement checking the server time to set the start time of the world, if you would like to use that way.
@HeIIsing
I think the best way would be to freeze the time for, we could say 5 or 10 min, and let it run until it reaches the than checked time of the server and freeze it again, but maybe it is too complicated, hope that andersonhc could say something about that.
@Frezap
Well you can't really have it look real without much checks/sends because the client needs information about what time it is on the server. So if there weren't enough checks/sends then your clients e.g. sun would just move like 5 secs and then reset back depending on the real time.
What I'm trying to say: The more checks/sends, the more realistic it looks on the client. Sad but true =(
@HeIIsing
Yes I know, but for me, its very bugy, because it is checking all the time. Thanks anyway
@Frezap http://forums.bukkit.org/threads/mech-admin-timesync-v0-4-sync-time-with-real-time-1597.26851/
This does what you request.
It's awesome! Is it posible to sync it with the time of the server at every start or reload, so I can have same time in the game and reallive? It would be amazing!
Will there be a update for the new version of Bukkit? I Hope so :)