How To Enable One Player Sleep on a Minecraft Server

2 min. readlast update: 07.12.2025

This guide will go over the playersSleepingPercentage gamerule, so that you can set the minimum amount of players needed to be in beds to skip nights in your Minecraft world! This includes creating a one player sleep setup where only one player needs to sleep to skip the night on your server. 

Enabling One Player Sleep on Your Minecraft Server

There are a couple of different ways to enable enable One Player Sleep on your Minecraft server, depending on how your server is set up. Below, we’ll walk you through the two most common methods.

Option 1: Using the Gamerule Command in Your Server Console

This is the easiest and most flexible way to enanble One Player Sleep. It can be done either through the server console.

To disable mob spawning:

1. Head to the Console tab in your control panel.

2. In the command box (located just next o the Start, Restart, and Stop buttons), type the following and press Enter:  gamerule playersSleepingPercentage 0

This will enable one-player sleep on your server. After entering the command, you should see a confirmation message in the console logs letting you know it was applied successfully.

Option 2: Using the Gamerule Command In-game

To use the /gamerule command, you first need to be an (OP) Operator permissions on your server.

1. Open your server’s Console from the Panel.

2. Type the following command, replacing <yourusername> with your Minecraft username:
op <yourusername>

undefined

👋Note: If you're using Bedrock, put your name in quotation marks.
Example: op "YooooBrian"

3. Once done, you’ll see a confirmation message in the console and in-game showing that you now have OP permissions.

4. Now that you’re OP, you can change how many players need to sleep to skip the night using this command in-game and pressing Enter: /gamerule playerSleepingPercentage 0

5. Once done, you'll see a confirmation message popup in your game chat notifiying you of this change. 

Custom Sleep Percentage Examples

You can use the playerSleepingPercentage gamerule to set how many players need to sleep to skip the night.

  • Example: /gamerule playerSleepingPercentage 30
    • Only 30% of players (about 3 out of 10) need to sleep.
  • Example: /gamerule playerSleepingPercentage 60
    • 60% of players (about 3 out of 5) must sleep to skip the night.

If you need help, don't hesitate to reach out to our support team by submitting a Support Ticket or contacting us directly via LiveChat!

Was this article helpful?