---
title: "How to keep a Minecraft server always daytime with no rain | StreetHosting"
description: "Learn the gamerule commands to lock the day cycle, stop the rain and turn off weather on your Minecraft server, with a simple explanation for beginners."
url: "https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day"
type: "page"
language: "en-US"
---

Minecraft · 3 min · Beginner

Published on Jun 17, 2026 · Updated on Jun 17, 2026

# Keep your Minecraft server always daytime

Want to build without monsters or that annoying rain? Gamerules fix it with one command. Here is how to lock the time, the weather and even item loss.

By [Equipe StreetHosting](https://streethosting.com.br/en/autores#equipe-streethosting) · StreetHosting infrastructure and support team

[Minecraft server administration](https://streethosting.com.br/en/guides/topics/minecraft-administration)

Summarize with:

[](https://chat.openai.com/?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "ChatGPT") [](https://claude.ai/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Claude") [](https://www.google.com/search?udm=50&aep=11&q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Google AI Mode") [](https://x.com/i/grok?text=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Grok") [](https://www.perplexity.ai/search/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Perplexity")

Share:

[](https://x.com/intent/tweet?text=How%20to%20keep%20a%20Minecraft%20server%20always%20daytime%20with%20no%20rain&url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day "Share on X") [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day "Share on Facebook") [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day "Share on LinkedIn") [](https://wa.me/?text=How%20to%20keep%20a%20Minecraft%20server%20always%20daytime%20with%20no%20rain%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-server-always-day "Share on WhatsApp")

For agents: Copy as Markdown [.md](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day.md)

In this guide 5 sections

* [What gamerules are](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#o-que-sao-gamerules)
* [Lock the day](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#travar-o-dia)
* [Stop the rain](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#parar-a-chuva)
* [Other useful gamerules](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#outros-uteis)
* [Make it permanent](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#tornar-permanente)

Quick answer

To keep your **Minecraft server always daytime**, type `time set day` and then `gamerule doDaylightCycle false` in the console or in game as an OP. To stop the rain, use `weather clear` and `gamerule doWeatherCycle false`. Gamerules are saved in the world and apply to everyone.

## What gamerules are[](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#o-que-sao-gamerules)

Gamerules are world rules that you switch on and off with a command. They control things like the passage of time, weather, fall damage and item loss. To use them, you need to be a server operator. If you are not an OP yet, see [how to give OP and admin](https://streethosting.com.br/en/guides/minecraft/give-op-minecraft-server).

## Lock the day[](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#travar-o-dia)

1. Jump to daytime with `time set day`.
2. Freeze time with `gamerule doDaylightCycle false`.
3. To go back to normal, use `gamerule doDaylightCycle true`.

With time locked on day, the monsters that spawn in the dark stop showing up on the surface. It is great for relaxed building sessions.

## Stop the rain[](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#parar-a-chuva)

To clear the sky right away, use `weather clear`. To keep it from raining again, turn off the weather cycle with `gamerule doWeatherCycle false`. That way storms do not get in the way of events or builds.

## Other useful gamerules[](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#outros-uteis)

| Gamerule            | Effect                      | When to use                  |
| ------------------- | --------------------------- | ---------------------------- |
| keepInventory true  | Keeps items on death        | Casual server                |
| mobGriefing false   | Mobs stop destroying blocks | Protect builds               |
| doFireTick false    | Fire does not spread        | Avoid fires in a wooden base |
| doMobSpawning false | Stops mob spawning          | Event or creative map        |

## Make it permanent[](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#tornar-permanente)

The good news is that a gamerule is already saved in the world, so you apply it once and you are done. If you want to set the default for a new world, just apply it right after creating the world. To start from scratch with everything in place, see [how to create a Minecraft server](https://streethosting.com.br/en/guides/minecraft/how-to-create-a-minecraft-server) or get a ready-made plan at [Minecraft Fácil](https://streethosting.com.br/en/minecraft-facil).

In this guide

* [What gamerules are](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#o-que-sao-gamerules)
* [Lock the day](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#travar-o-dia)
* [Stop the rain](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#parar-a-chuva)
* [Other useful gamerules](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#outros-uteis)
* [Make it permanent](https://streethosting.com.br/en/guides/minecraft/minecraft-server-always-day#tornar-permanente)

## Frequently asked questions

Does the command apply to the whole server or only to me?

A gamerule applies to the entire server world, so it affects all players at the same time. It is not a per-player setting.

Do I have to repeat the command every time I start the server?

No. The gamerule is saved in the world. You apply it once and it keeps working on later boots, unless someone changes it again.

I locked the day but it is still night, why?

doDaylightCycle only freezes time where it is. Use the time set day command together with it to jump straight to daytime, and then lock the cycle.

Can I turn off item loss on death?

Yes, with keepInventory true. Players keep their items and experience when they die. Many casual servers turn this on to reduce frustration.

Next step

Create a Minecraft server

Simple plans for beginners, with activation within 60 seconds, Anti-DDoS and support in Portuguese.

[Create a Minecraft server](https://streethosting.com.br/en/minecraft-facil)

[Minecraft plans Compare Minecraft hosting options in Brazil.](https://streethosting.com.br/en/minecraft) [See Minecraft Pro Managed hosting on Ryzen with modpacks, optimized Paper and technical support.](https://streethosting.com.br/en/minecraft-pro)

## Related guides

[Minecraft Beginner How to create a Minecraft server from scratch (step by step) This guide lays out server creation in a logical order: picking the right resources, launching the jar, accepting the EULA, pointing a domain, setting up the world and inviting players safely. 6 min Read guide](https://streethosting.com.br/en/guides/minecraft/how-to-create-a-minecraft-server) [Minecraft Beginner How to give a friend OP and admin on your Minecraft server OP turns your friend into an administrator with full power. Here is how to do it from the panel or with a command, and why permissions beat OP on larger servers. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/give-op-minecraft-server) [Minecraft Beginner How to ban and kick a player on a Minecraft server Someone is disrupting your server. Here is the difference between kick and ban, how to use each one from the console, and how to undo a ban if you change your mind. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/ban-player-minecraft-server)

[← Back to the Guide Center](https://streethosting.com.br/en/guides)
