CustomTime
CustomTime
Version 2.1.1
By jcv8000
Built on spigot-api-1.17.1-R0.1-SNAPSHOT
Updated for 1.17.1
CustomTime is a simple plugin used to control the day/night cycle. You can speed up or slow down time any way you like.
You can set day or night separately to last a certain number of real-life seconds, minutes, hours, or days, or you can specify a multiplier like '2x' to make time move 2x as fast.
The values for length/multiplier can be decimals. Setting the multiplier less than 1 slows down time, greater than 1 speeds up time.
Worlds can be controlled individually, and supports other worlds created by plugins like MultiVerse. They can't be nether or end worlds though.
Commands:
The command structure has been rewritten to be a lot simpler.
Typing ' /ct ' by itself will display information about the day/night cycle for all worlds that it is affecting.
This is the general usage of the command:
/ct [day/night] [value][s/m/h/d/x] [world (optional)]
s = seconds, m = minutes, h = hours, d = days, using x will apply that number as a multiplier.
(Leaving the [world] parameter blank uses the world that the player is currently in. If left blank in the console it uses the level-name from server.properties)
Example: If you wanted to make the day/night cycle last 24 real hours (in the default world), you would do this:
/ct day 12h
/ct night 12h
Example: Make day and night last 10 seconds each in a MultiVerse world called 'testWorld':
/ct day 10s testWorld
/ct night 10s testWorld
Installation:
Just download the latest .jar file and put it in your server's "plugins" folder.
Permissions:
The permission node customtime.* gives that user/group access to use '/ct' and change the day/night cycle
Okay.. this is what I have...
Two Worlds: 1. Hub 2. Survival
What I Want: 1. Hub to stay daytime 2. Survival to have normal time. (both day/night)
How do I set it up to where they don't share the same time? I want them separate.
Does what it's supposed to perfectly. Thank you for making this!
@Yor0071
Is the plugin enabled?
CustomTime plugin doesn't work for me. When i change the multiplier to 2, the time just moves normally. As explained to me i need to do /gamerule doDaylightcycle false so the plugin can change the time. But for me the time just freezes and never moves. My server is version 1.10 and that could be the problem but someone in the comments here said it works for 1.10 just fine so i don't see the problem here.
Ya, I'm having the same problem now. It was working fine up until we changed maps, but now the time isn't moving at all, unless it's set to the normal 10 minute length or below it.
Any ideas?
@ServerMiner
I saw your video way back when it was first made, I really liked it! Thanks so much for featuring the plugin :)
We love your plugin so we decided to create a video to showcase its features, feel free to use it on your plugin info area: https://www.youtube.com/watch?v=l_hfsq-oZJk
We would most appreciate it if you could give credit to our website: https://serverminer.com
Amazing plugin, working on 1.10! I'm so glad someone keeps up a plugin like this, it's useful in so many ways! :D
@snABCraft
im using spigot 1.9.4
Eror!Help!Pls?!
[14:41:55] [Server thread/WARN]: [CustomTime] Task #35 for CustomTime v1.3.2 generated an exception java.lang.NullPointerException at io.github.crafterguy3x3.customtime.customtime$1.run(customtime.java:115) [?:?] at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:734) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at java.lang.Thread.run(Unknown Source) [?:1.8.0_66] [14:41:55] [Server thread/WARN]: [CustomTime] Task #36 for CustomTime v1.3.2 generated an exception java.lang.NullPointerException at io.github.crafterguy3x3.customtime.customtime$2.run(customtime.java:136) [?:?] at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftTask.run(CraftTask.java:71) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at org.bukkit.craftbukkit.v1_9_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:734) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-8a048fe-71e5248] at java.lang.Thread.run(Unknown Source) [?:1.8.0_66] [14:41:55] [Server thread/INFO]:
@MrJeje22
Thank you!
@Crafterguy3x3
Thanks alot ! Work Perfectly ! Sorry for this, so simple to test before asking you and I forget to test ! >.< Your plugin was an awesome plugin and worked perfectly ! Really good job for this awesome plugin !
@MrJeje22
Type /gamerule doDaylightCycle true
The plugin requires that gamerule to be false when in use, so that time can be completely managed by the plugin, and doesn't have to compensate for the game moving time as well.
Hi ! I downloaded your plugin, all worked perfectly. The thing is I removed your plugin, now my time if freezing :/ If I "/time set x" it will change the time but not moving, still freezing.. I tried to upload your plugin back, set a new time speed, the time was back moving, and when I removed the plugin, time back freezing.. Is there a way to fix it ?
sweeet
@skyli
@borntoblock
I just uploaded 1.3.2, which fixes sleeping. Thank you for letting me know about this. The file should be approved by Bukkit shortly.
@skyli
My users were noticing that also. Is there a fixed planed for that or is it just the nature of the plugin.
error spam in console
logs, http://hastebin.com/aroyavoleb.avrasm
are there issues with changing the day or night length and causing it to lag or break worlds?