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
how to give permissions:
pls explain in full. from start to end
Please update to 1.16.4 love this plugin
Right now i deleted the plugin, how to i fix the day to normal time as it was before
In reply to fragas0:
I have had the same problem. To solve it I had to use the command "/gamerule doDaylightCycle true" and obviously, delete the plugin.
I rewrote the plugin as 2.0 and uploaded the jar last night, but it's still "under review" at the moment. It should be up soon
I might have noticed a couple of bugs. I am running
CraftBukkit version git-Spigot-8918ad0-7a9e4f7 (MC: 1.16.1)
(Implementing API version 1.16.1-R0.1-SNAPSHOT)
When I enter the bed, there is no longer an animation, when the plugin is active. When I deactivate the plugin, the animation resumes but,
When I disable the plugin again, the server time stands at 19:02.
Sincerely,
Michael Hansen
In reply to Forge_User_90483612:
I just rewrote the plugin from scratch to 2.0, and the sleeping should have a normal delay before changing to day like vanilla. It's still under review on Bukkit but if you want to download it from Spigot you can get it here
In reply to Forge_User_90483612:
I have had the same problem. To solve it I had to use the command "/gamerule doDaylightCycle true" and obviously, delete the plugin.
Plugin is working in PaperMC 1.15.2 R01 Build 254. No conflicts with the other 95 plugins I am running. No WARNINGS or ERRORS in Server Console.
Was able to set 24 hour days (realtime) did not change Dusk or Dawn automation time, you can still see the Sunrise and Sunsets at the same rate it did before using plugin.
Nice plugin and great programmer.
Earned it's Test of Time Reward : 1.10 to 1.15.2 3.5 years since last update.
Still in development? It's the only one plugin that do that on Bukkit.
In reply to Maelep:
Just updated it to 2.0. It's still under review on bukkit so it'll be up soon, but you can also download it from Spigot here
Server thread/WARN Plugin CustomTime v1.3.3 does not specify an api-version.
Beyond the API warning, it just works for 1.14. It would be helpful if it could have an update that gets rid of the warning and keeps this plugin moving forward, but for what it does, it does it very well.
EDIT: With 1.14 it appears that "/gamerule doDaylightCycle false" will cause beds to NOT move time forward until daylight, it just kicks players off. Thus when we attempt to use this, we get kicked off our beds without moving daylight forward.
To test single-player PURE VANILLA, if I set the game midnight with DaylightCycle false, I attempt to sleep on a bed. I get kicked off the bed after a few seconds and the moon does not move. This may not be explicitly a "CustomTime" bug, but it DOES mean "Either CustomTime *OR* Beds to pass the night, BUT NOT BOTH".
I verified 1.13.2 *also* has this behavior in Vanilla, though my problem could be due to EssentialsX (for 1.13, being used in 1.14). For now, we are just going to do without CustomTime.
In reply to RomaqRosher:
Just updated it to 2.0 and fixed a ton of stuff. It's still under review on bukkit so it'll be up soon, but you can also download it from Spigot here
still using it in papermc 1.13.2 since
great work^^
This appears to be working just fine on my Spigot 1.13.1 server.
This appears to be working just fine in my 1.13.1 Spigot server.
Very good :)
Every second it throws a NullPointerException:
[15:23:16] [Server thread/WARN]: [CustomTime] Task #42 for CustomTime v1.3 generated an exception[15:23:16] [Server thread/WARN]: [CustomTime] Task #42 for CustomTime v1.3 generated an exceptionjava.lang.NullPointerException at io.github.crafterguy3x3.customtime.customtime$2.run(customtime.java:134) ~[?:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8.8.jar:git-Spigot-76236cb-9cd1111] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.8.jar:git-Spigot-76236cb-9cd1111] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:722) [spigot-1.8.8.jar:git-Spigot-76236cb-9cd1111] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-76236cb-9cd1111] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot-1.8.8.jar:git-Spigot-76236cb-9cd1111] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot-1.8.8.jar:git-Spigot-76236cb-9cd1111] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Spigot 1.12 has an interesting bug...
You can normaly setup the day and nighttime
But if its Night and a player get into Bett it will not get day..
is there possibly an updated version that works with 1.11?