Mineuniverse
Data Packs
SleepXP

SleepXP

DATA PACK
Rewards players with XP for sleeping, scaled to the world's difficulty.
by Lorrampi
Download Claim this project
32 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Adventure Utility
Advertisement Remove ads with Premium →

SleepXP

A simple data pack that rewards players with experience levels for sleeping in a bed — no extra items, just a small incentive to rest safely through the night.

How it works

Whenever a player lies in a bed and the night is skipped, they receive XP based on the world's difficulty:

Difficulty Reward
Peaceful None
Easy 1 level
Normal 3 levels
Hard 5 levels

To prevent abuse, each player can only be rewarded once every 12,000 ticks (about 10 real-world minutes) — enough to cover a full night, even during thunderstorms.

Multi-language support

Reward messages are available in Portuguese (default), English, Spanish, French, German and Russian. This is a server-wide setting — run one of the following commands as an operator to change it:

/function sleepxp:lang/set_en → English
/function sleepxp:lang/set_es → Spanish
/function sleepxp:lang/set_fr → French
/function sleepxp:lang/set_de → German
/function sleepxp:lang/set_ru → Russian
/function sleepxp:lang/set_pt → Portuguese

The choice is saved in the world and persists across restarts.

Installation

  1. Download the sleepxp.zip file.
  2. Place it in your world's datapacks folder:
    • Server: world/datapacks/
    • Singleplayer: saves/<world name>/datapacks/
  3. Run /reload (or reopen the world).

Compatibility

Built and tested for Minecraft Java Edition 26.3.

Credits

Icon and concept created specifically for this project.

sleepxp.zip
MC 26.3
Release 2026-10-02 Get
sleepxp.zip
MC 26.3
Release 2026-09-30 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
26.3
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 26.3 All data packs

More from Lorrampi

Advertisement Remove ads with Premium →

You Might Also Like