I am running a Minecraft server (Spigot) on my desktop, for me and my friends. Some of my friends want to play standard Survival mode, and some want to play Creative.
For this, I installed Multiverse and added a second world that is just flat terrain with the CREATIVE
game mode. Obviously, if all they want to do is build creatively, they would want it to always be daytime. So for this, in the Creative world, I set up a command block with time set day
, triggered by a daylight sensor. This worked fantastically!
However, when I went back to the Survival world, I was dismayed to find that the command block in the Creative world affected the Survival world, too, making it never be nighttime. This isn't how we wanted to play in the Survival world, obviously.
So my question is, how do I make the Creative world always day, and the Survival world cycle normally?
I tried searching for it, but I can't find any answers that seem confident. Some mention a plugin called Timeshift, but it seems to have not been maintained since 2012.
The closest I got was Issue #79 on their GitHub: "Request: Per-World Time". This was closed saying this:
Each World has it's own time, whatever plugin or command you're using to change time is doing it wrong if it's setting all worlds.
We can look into adding the ability to keep it a certain time constantly per world, so one world is always day and the other is always night set.
So this is promising; it seems that it's totally possible to do what I want... I just can't figure out how.
I only have these mods installed:
setTime()
in a repeating task should suffice.