TimeLock
TimeLock
Features
TimeLock allows you to freeze the time on any world, so that the world will permanently stay at the time of your choice. This is perfect for creative servers, and anyone trying to create a certain environment for their server.
TimeLock supports multiple worlds, so you may have one world locked at day, one, at night, one normal, or what ever combination you chose.
Modes:
- Always Day
- Always Night
- Normal Time
- Custom Ticks
Permissions
- timelock.admin
Commands
- /tl day (Always day)
- /tl night (Always night)
- /tl normal (Normal time)
- /tl (0-24000) (Lock time at a tick of your choice. Ex: /tl 18000)
- /tl set [world] [time(ticks)] (Lock any world at a specific time (in ticks))
- /tl refresh [time(seconds)] (Change how often TimeLock resets the time
- /tl reload (Reloads the config)
- /timelock (About TimeLock)
Download
Changelog
- 0.6 Updated to 1.7.2
- 0.5b New command (/tl refresh). Plugin no longer runs in async thread.
- 0.4 New command (/tl set), with console support.
- 0.3 Added tick support (/tl 18000 will lock time at 0:00)
- 0.2 Initial Release
@MicxPlayYT
Clearly if it's for 1.7.2
Thanks, work on 1,7?
I love this plugin, you've done a fantastic job on this. Still working as of 1.7.9. Great plugin!
@MarkehMe
Working fine as of 1.7.9 R0.1. What version server are you running?
TimeLock and LockTime both don't work properly anymore - bit of a shame!
@BukkitHost
Is there a command to set the time back to its normal schedule?
Edit: also your reload command doesn't seem to work, because when I removed a world lock from the config.yml and reloaded with /tl reload, it didn't affect anything. The YML wasn't changed either, as if it was never actually read. When I restart the plugin it reads the YML and applies the right time to the correct worlds.
I'll make a ticket.
Does This Plugin Conflict with Lan Broadcaster? Because when i installed Time Lock it didnt work but when i took out LAN B it worked. Please help
I have a problem. I cant join my server when I installed the plugin. Please Help. Thanks!
Can't Download and this plugin is perfect but i cant download D:
Suggestion:
Add the ability to lock the weather too!
/gamerule doDaylightCycle false ;)
Thanks for updating it. I had looked for a long time for a plugin that did this. This is the only one that worked like I wanted it to. Please keep it going!
Updated for 1.7.2
This plugin dont all ready working on 1.7.4 and 1.7.2
pls update to bukkit 1.7.2
Update?
HI. This is what happen when I used your time lock in one of my server maps. Apparently the shader cannot read the time.dat file in the map correctly. It seems to corrupt the file and make the shader unable to know the exact time and therefore producing false shading.
BUG
18:45:35 [SEVERE] Exception in thread "pool-1-thread-153"
18:45:35 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin TimeLock v0.4 generated an exception while executing task 33
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
at java.util.ArrayList$Itr.next(ArrayList.java:791)
at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.getPlayers(CraftWorld.java:630)
at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.setFullTime(CraftWorld.java:442)
at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.setTime(CraftWorld.java:431)
at me.speed.timelock.TimeLock$1.run(TimeLock.java:90)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
Works fine on 1.6.2 as well.
Does this work for 1.6.2?