{"id":89103,"date":"2026-06-05T05:09:47","date_gmt":"2026-06-05T02:09:47","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/"},"modified":"2026-06-05T05:09:47","modified_gmt":"2026-06-05T02:09:47","slug":"just-sleep","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/","title":{"rendered":"Just Sleep"},"content":{"rendered":"<p># \ud83d\udca4 AFK Sleep<\/p>\n<p>**Sleep through the night with just 50% of players \u2014 AFK players don&#8217;t count!**<\/p>\n<p>&#8212;<\/p>\n<p>## \u2728 Features<\/p>\n<p>&#8211; \ud83c\udf19 **50% sleep threshold** \u2014 Only half of active players need to sleep to skip the night<br \/>\n&#8211; \ud83d\udeb6 **AFK detection** \u2014 Players who haven&#8217;t moved for **5 minutes** are automatically marked as AFK and excluded from the sleep count<br \/>\n&#8211; \ud83d\udcac **Chat notifications** \u2014 Players are informed when they go AFK, return, and when the night is skipped<br \/>\n&#8211; \u2600\ufe0f **Morning bonus** \u2014 Sleeping players get a small Regeneration effect as a reward<br \/>\n&#8211; \u26a1 **Lightweight** \u2014 Pure datapack, no mods required, runs on vanilla 1.21.x<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udce6 Installation<\/p>\n<p>1. Download the `.zip` file<br \/>\n2. Place it in your world&#8217;s `datapacks` folder:<br \/>\n   `saves\/<world_name>\/datapacks\/`<br \/>\n3. In-game run: `\/reload`<br \/>\n4. You should see: `[AFK Sleep] Datapack za\u0142adowany!`<\/p>\n<p>&#8212;<\/p>\n<p>## \u2699\ufe0f How it works<\/p>\n<p>| Situation | Result |<br \/>\n|&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8211;|<br \/>\n| 2\/4 players sleeping, 0 AFK | Night skips \u2705 |<br \/>\n| 1\/4 sleeping, 2 AFK (2 active) | Night skips \u2705 (1\/2 active = 50%) |<br \/>\n| 1\/4 sleeping, 0 AFK | Night continues \u274c |<br \/>\n| All players AFK | Nothing happens \u274c |<\/p>\n<p>AFK is detected by checking if a player hasn&#8217;t moved for **300 seconds (5 minutes)**.<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udd27 Compatibility<\/p>\n<p>&#8211; \u2705 Minecraft Java Edition **1.21.x**<br \/>\n&#8211; \u2705 Works on **multiplayer servers** and **single player**<br \/>\n&#8211; \u2705 Compatible with other datapacks<br \/>\n&#8211; \u274c Does not work on Bedrock Edition<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udcdd Notes<\/p>\n<p>&#8211; Only **Survival** and **Adventure** mode players are counted<br \/>\n&#8211; Only players in the **Overworld** dimension are counted<br \/>\n&#8211; Creative\/Spectator players are completely ignored<\/p>\n<p>&#8212;<\/p>\n<p>*Made with \u2764\ufe0f for vanilla Minecraft multiplayer servers*<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tired of waiting for everyone to sleep? Only 50% of active players need to sleep to skip the night. AFK players are automatically detected and ignored.<\/p>\n","protected":false},"featured_media":89104,"template":"","meta":{"_minecraft_slug":"just-sleep","_minecraft_project_id":"L2Ezptii","_minecraft_author":"Kerfuss_","_minecraft_license":"LicenseRef-All-Rights-Reserved","_minecraft_downloads":14,"_minecraft_follows":0,"_minecraft_client_side":"optional","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"just-sleep.zip","_minecraft_size_bytes":6479,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-16T00:18:57.691335Z","_minecraft_date_created":"2026-02-26T07:28:37.953800Z","_minecraft_date_modified":"2026-02-24T22:39:27.288169Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/just-sleep","_minecraft_icon_attachment_id":89104,"_minecraft_imported_at":"2026-06-05T02:09:48+00:00","_minecraft_import_hash":"27a77cd711614eeee4d191eb265ecce8","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[84,89,867,92],"mod_loader":[86],"minecraft_version":[62,37],"class_list":["post-89103","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-datapack","mod_category-game-mechanics","mod_category-social","mod_category-utility","mod_loader-datapack","minecraft_version-1-21","minecraft_version-1-21-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Just Sleep - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Just Sleep - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Tired of waiting for everyone to sleep? Only 50% of active players need to sleep to skip the night. AFK players are automatically detected and ignored.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/\",\"name\":\"Just Sleep - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/just-sleep-icon-c07ddcd7ac48532bc77f0b0551e912f76f4b468e.png\",\"datePublished\":\"2026-06-05T02:09:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/just-sleep-icon-c07ddcd7ac48532bc77f0b0551e912f76f4b468e.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/just-sleep-icon-c07ddcd7ac48532bc77f0b0551e912f76f4b468e.png\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/just-sleep\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Just Sleep\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Just Sleep - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/","og_locale":"en_US","og_type":"article","og_title":"Just Sleep - Minecraft","og_description":"Tired of waiting for everyone to sleep? Only 50% of active players need to sleep to skip the night. AFK players are automatically detected and ignored.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/","name":"Just Sleep - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/just-sleep-icon-c07ddcd7ac48532bc77f0b0551e912f76f4b468e.png","datePublished":"2026-06-05T02:09:47+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/just-sleep-icon-c07ddcd7ac48532bc77f0b0551e912f76f4b468e.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/just-sleep-icon-c07ddcd7ac48532bc77f0b0551e912f76f4b468e.png","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/just-sleep\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Just Sleep"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/89103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/89104"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=89103"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=89103"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=89103"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=89103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}