How Can We Help?
Print

How to change the daylight cycle in Minecraft

There are two ways you can do this in Minecraft, the first method is by changing the daylight cycle in game, or you can use the Pterodactyl panel console.

Changing daylight cycle in game:

1. Open the chat window by pressing “t”

2. Type into the chat box

2a. No daylight cycle:

/gamerule doDaylightCycle false

2b. Do daylight cycle:

/gamerule doDaylightCycle true

Changing daylight cycle using the panel:

1. Open the Pterodactyl panel console page

2. Run the following command

2a. No daylight cycle:

gamerule doDaylightCycle false

2b. Do daylight cycle:

gamerule doDaylightCycle true