SleepXP
Rewards players with XP for sleeping, scaled to the world's difficulty. (PT-BR: Recompensa jogadores com XP por dormir, com valores diferentes para cada dificuldade.)
截图
介绍
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
- Download the
sleepxp.zipfile. - Place it in your world’s
datapacksfolder:
- Server:
world/datapacks/ - Singleplayer:
saves/<world name>/datapacks/
- 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 支持哪些 Minecraft 版本?
SleepXP 支持 Minecraft Java 版 26.3。下载时注意选择和你游戏版本一致的文件。
SleepXP 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
lorrampi 的其他作品
查看全部 →
Camper’s Rest
Make straw beds, campfires and cushions worth using: sleep for XP, camp with friends for bigger bonuses, and eat by the fire to regenerate. Built-in English, Portuguese, Spanish, French, German and Russian.
Lingering Death
A death penalty datapack for Hard mode — lingering weakness, hunger and fatigue after you respawn. No permadeath, just consequences.
Scout’s Reward
Earn XP for finding abandoned camps with explorer maps. Rewards scale with world difficulty, used maps stay in your inventory as keepsakes, and vanilla loot is untouched. 6 languages.
评论
登录后评论和评分