Jorvalt Posted September 5, 2024 Share Posted September 5, 2024 Somehow this question has never been asked before because I can't find any info on it. I know how to set it to a full moon, but I have no idea what the name for "new moon" is in the code. I tried just "new" and "newmoon" but neither worked. Link to comment https://forums.kleientertainment.com/forums/topic/159511-command-to-set-next-moon-phase-to-new-moon/ Share on other sites More sharing options...
Bumber64 Posted September 5, 2024 Share Posted September 5, 2024 It should just be "new", looking at components/worldstate.lua. Does "full" work with the command you're using? So use TheWorld:PushEvent("moonphasechanged", "new") at night, then restart the server if you want the visual change. Link to comment https://forums.kleientertainment.com/forums/topic/159511-command-to-set-next-moon-phase-to-new-moon/#findComment-1745894 Share on other sites More sharing options...
Jorvalt Posted September 7, 2024 Author Share Posted September 7, 2024 On 9/5/2024 at 2:32 PM, Bumber64 said: It should just be "new", looking at components/worldstate.lua. Does "full" work with the command you're using? So use TheWorld:PushEvent("moonphasechanged", "new") at night, then restart the server if you want the visual change. Doesn't work. The command I was using for full moon was this: TheWorld:PushEvent("ms_setmoonphase", {moonphase = "full"}) I tried TheWorld:PushEvent("ms_setmoonphase", {moonphase = "new"}) And it didn't work. I really wish this game actually gave error text, this sort of guessing game is really frustrating. Link to comment https://forums.kleientertainment.com/forums/topic/159511-command-to-set-next-moon-phase-to-new-moon/#findComment-1746284 Share on other sites More sharing options...
Tranoze Posted September 7, 2024 Share Posted September 7, 2024 Try TheWorld:PushEvent("ms_setmoonphase", {moonphase = "new", iswaxing = true}) Link to comment https://forums.kleientertainment.com/forums/topic/159511-command-to-set-next-moon-phase-to-new-moon/#findComment-1746315 Share on other sites More sharing options...
Baguettes Posted September 7, 2024 Share Posted September 7, 2024 Do make sure your console is on Remote mode when executing the command, if your world has caves. If caveless, this shouldn't be an issue. Just sayin'. Link to comment https://forums.kleientertainment.com/forums/topic/159511-command-to-set-next-moon-phase-to-new-moon/#findComment-1746337 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.