RealTime
RealTime
Your real time on Minecraft time
PS: sorry for bad english, I'm Brazilian
Features
- Very Lightweight time changing plugin (little calculations)
- Mode for performance, mode for accuracy
- Transform real time clock to Minecraft clock or just change the visual time
- Support for Multiworld
- Open source
- PVPTime compatibility (smoother sunrise and sunset)
Installation
- Download and put the .jar on your /plugins/ folder
- Change your config.yml
- Restart/Start your server and you are ready!
Command | Permission | Description |
---|---|---|
/realtime start | realtime.start | Start the plugin/tasks |
/realtime stop | realtime.stop | Stop tasks |
/realtime reload | realtime.reload | Reload configuration and variables |
none | realtime.noptime | With this, your visual time won't be changed |
Suggestions
None! Comment if you have an idea, PM me if I dont answer (;
Credits
- elcamo12 - real-time-rotation, for a piece of his code and some help on Skype
- deathmarine - some help with Java (i'm still learning lol)
- Iwitrag - some feedbacks and help with bugs (thanks, mate) (;
I'm sorry but I can't update it anymore. I'm studying and don't have a lot of time to code. The plugin worked fine on 1.7 (when I had a server, and there weren't any bugs but now I can't test nor code an update).
The way it works is mostly for low latitudes countries (as the sun rises 6am and goes down around 6pm even on solstice). The code is a big mess because it is one of my first plugins; but if you ignore the mess with the "update modes", you can actually remove something from it and change the mathematics behind it a little so you can set up a variable sunrise and sunset.
And about seasons, I believe it is doable with the same concept above but by making a linear function with the winter and summer solstice's sunrise and sunset clock. So by date you'll get the approximated values to use on the function that set up the Minecraft's time.
If it isn't working on 1.9, I believe you just need to recompile using the updated World's setTime method, in the case that the API changed. Hopefully someone can learn from my code and update it, good luck
Yes, update, and make timezones possible and even seasons where it is in realtime at 10 pm still very light outside, in MC there is almost half a night passed.... So this would not be easy, i know, but don't you find this challenging to build?
Please update to 1.9!
Is there any, i mean ANY realtime plugin that actually works??? I tested now three different ones and the time is unaffected even if i tamper with the settings. I mean, REAL-Time is actually the time that is on your server, or PC, or whatever, synced by internet NTP's These plugins keep running normal gametime, and some even switch every tick another day so when it's nighttime you'll see the moon shifting rapidly from new to full, over and over again...
Hi, just wondering what timezone this is based on? Like I would want a reference time to add hours to.
Actually, it works on
But I would like to get a proper update. :)
Doesn't work on Spigot 1.8.3 It just... doesn't. However, it does work for ptime, but the world time goes on like nothing happened. Users see day but enemies are spawning. :/
@RobinGall2910
The code is really simple and it should be compatible with Bukkit as far as I know, and as far as I know too, there isn't any Bukkit version for 1.8. I am not coding for Minecraft anymore, so I don't even know what you're using for 1.8 (spigot, sponge, etc)
Is there a way that this can be upgraded to 1.8?
@rfsantos1996
@xbenas
Mode 0: slightly more performance cost, but the time is recalculated on every update, so you wouldn't have the "mismatch issue" after running your server for a while without restarting it.
Mode 1: the time is calculated on start, then the plugin keeps adding to it (less performance cost) but in servers that are having performance issues (having a lot of plugins or a bad CPU) the time will not match the real time after some hours of runtime.
Not sure if it was you that mentioned choppy skies, because the comment seems to be deleted, but you can decrease the "UpdateDelayInTicks" to 1 and "CalcDelayInTicks" to arround 5 or 10, that would help (but increase performance cost)
Can you explain more in-depth about how mode 0 differs from mode 1?
@drew5494
(;
Never mind just set useplayertime to false
the multiword feature doesn't work for me.
@Dreaminglogo
Does it? O.o I just coded it with better organization, I didn't even changed anything
hey dear author
I use the version of 1.7 and I got nothing change of my game time.
After reading out the comment. I used 1.3 version(for CB 1.6.2) instead.
Then it work perfectly on my 1.7.2(1.7.21.7.5) bukkit server.
So I think there's might be some bug in your v1.4.
@SpeedCrafter99
There's no change, I just change the time, minecraft ticks continues normally (I think)
Does crop grows as fast as in normal Minecraft?
@nateku2
On start, does the plugin mention that it is enabled? Or sends a warning that isnt?
Also, you gan try /realtime start
@rfsantos1996
Nothing to really give, I turned it on, Mode 0, I turned off player time and, I still see the server running game time.