{"id":135156,"date":"2026-06-08T02:31:07","date_gmt":"2026-06-07T23:31:07","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/"},"modified":"2026-06-08T02:31:07","modified_gmt":"2026-06-07T23:31:07","slug":"sac","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/","title":{"rendered":"ServerAlarmClock"},"content":{"rendered":"<p># ServerAlarmClock<\/p>\n<p>**ServerAlarmClock** is the perfect wake-up call for your Minecraft server! Ever tried to join a server that&#8217;s still fast asleep? With ServerAlarmClock, your server will automatically start up when someone attempts to join, ensuring no one has to wait too long for the fun to begin.<\/p>\n<p>### Features<br \/>\n&#8211; \ud83d\ude80 **Automatic Server Start:** Your server will automatically boot up when a player attempts to join a stopped or sleeping server.<br \/>\n&#8211; \ud83d\udcac **Custom Messages:** Send players fun and customizable messages while they wait for the server to start.<br \/>\n&#8211; \ud83d\udd27 **Easy Configuration:** Simple setup with a lightweight, no-hassle config.<\/p>\n<details>\n<summary>Principle<\/summary>\n<p>![Principle](https:\/\/cdn.modrinth.com\/data\/cached_images\/8257a01aef9a294e8e299a88004fd01bbf9f5914.png)<\/p>\n<\/details>\n<p>### Command<br \/>\n&#8220;`<br \/>\n# reload your plugin config(serveralarmclock.reload)<br \/>\n\/sac reload<br \/>\n&#8220;`<br \/>\n## How to Use<\/p>\n<p>1. **Install the Plugin:**<br \/>\n   &#8211; Download the `ServerAlarmClock.jar` file and place it in your BungeeCord plugins folder.<\/p>\n<p>2. **Configure the Flags:**<br \/>\n   &#8211; Open the `config.yml` file located in the `ServerAlarmClock` folder.<br \/>\n   &#8211; Under the `flags` section, specify the paths to the flag files for each of your servers. These flags will be used to trigger the server startup.<\/p>\n<p>3. **Setup the Server Startup Script:**<br \/>\n   &#8211; You need to create or modify your server startup script to include the logic for checking the flag file. The example of a Linux shell script is provided at the end of this passage.<br \/>\n4. **Start the Server:**<br \/>\n   &#8211; Once everything is configured, reload the plugin using \/sac reload. The plugin will now monitor server connections and start the target server when a player attempts to join a server that is currently stopped.<br \/>\n5. **Enjoy!**<\/p>\n<details>\n<summary>Example of a Linux shell script<\/summary>\n<p>&#8220;`<br \/>\n#!\/bin\/bash<\/p>\n<p># Server directory<br \/>\nSERVER_DIR=&#8221;your\/server\/path&#8221;<\/p>\n<p># Path to the flag file<br \/>\nFLAG_FILE=&#8221;your\/flag\/file\/path\/example.flag&#8221;<\/p>\n<p># Change to the server directory<br \/>\ncd &#8220;$SERVER_DIR&#8221; || { echo &#8220;Failed to change directory to $SERVER_DIR&#8221;; exit 1; }<br \/>\nwhile true<br \/>\ndo<br \/>\n  # Check if the flag file exists<br \/>\n  if [ -f &#8220;$FLAG_FILE&#8221; ]; then<br \/>\n    echo &#8220;Minecraft Server is Starting&#8221;<\/p>\n<p>    # Start the server<br \/>\n    java -jar server.jar<\/p>\n<p>    # Remove the flag file<br \/>\n    rm -f &#8220;$FLAG_FILE&#8221;<\/p>\n<p>    echo &#8220;Minecraft Server has Stopped&#8221;<br \/>\n  else<br \/>\n    sleep 1<br \/>\n  fi<br \/>\ndone<br \/>\n&#8220;`<br \/>\n<\/details>\n<details>\n<summary>Example of a Windows bat script(generate by gpt)<\/summary>\n<p>&#8220;`<br \/>\n@echo off<\/p>\n<p>REM Server directory<br \/>\nset SERVER_DIR=yourserverpath<\/p>\n<p>REM Path to the flag file<br \/>\nset FLAG_FILE=yourflagfilepathexample.flag<\/p>\n<p>REM Change to the server directory<br \/>\ncd \/d &#8220;%SERVER_DIR%&#8221;<br \/>\nif %errorlevel% neq 0 (<br \/>\n    echo Failed to change directory to %SERVER_DIR%<br \/>\n    exit \/b 1<br \/>\n)<\/p>\n<p>:loop<br \/>\nREM Check if the flag file exists<br \/>\nif exist &#8220;%FLAG_FILE%&#8221; (<br \/>\n    echo Minecraft Server is Starting<\/p>\n<p>    REM Start the server<br \/>\n    java -jar server.jar<\/p>\n<p>    REM Remove the flag file<br \/>\n    del \/f &#8220;%FLAG_FILE%&#8221;<\/p>\n<p>    echo Minecraft Server has Stopped<br \/>\n) else (<br \/>\n    timeout \/t 1 \/nobreak >nul<br \/>\n)<\/p>\n<p>goto loop<\/p>\n<p>&#8220;`<br \/>\n<\/details>\n<p>Keep your players happy and your server ready with ServerAlarmClock\u2014no more unexpected downtime!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin gives your Minecraft server a wake-up call, automatically restarting it when it decides to snooze.<\/p>\n","protected":false},"featured_media":135157,"template":"","meta":{"_minecraft_slug":"sac","_minecraft_project_id":"GEvUgSC4","_minecraft_author":"silvervoid","_minecraft_license":"LicenseRef-All-Rights-Reserved","_minecraft_downloads":650,"_minecraft_follows":5,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"sac.zip","_minecraft_size_bytes":98068,"_minecraft_version_count":4,"_minecraft_updated_at":"2026-05-16T09:50:15.376806Z","_minecraft_date_created":"2024-08-15T03:53:43.661388Z","_minecraft_date_modified":"2025-01-11T05:54:53.863219Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/sac","_minecraft_icon_attachment_id":135157,"_minecraft_imported_at":"2026-06-07T23:31:08+00:00","_minecraft_import_hash":"88fc0ab467d7d55c03f42f5723585c13","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[894,90,123,92],"mod_loader":[895],"minecraft_version":[62,37,73,74,38],"class_list":["post-135156","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bungeecord","mod_category-optimization","mod_category-technology","mod_category-utility","mod_loader-bungeecord","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ServerAlarmClock - 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\/sac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ServerAlarmClock - Minecraft\" \/>\n<meta property=\"og:description\" content=\"This plugin gives your Minecraft server a wake-up call, automatically restarting it when it decides to snooze.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/sac\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/\",\"name\":\"ServerAlarmClock - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/sac-icon-2435cf11c92752f3fcb16a1a0094741abce02a13.png\",\"datePublished\":\"2026-06-07T23:31:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/sac-icon-2435cf11c92752f3fcb16a1a0094741abce02a13.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/sac-icon-2435cf11c92752f3fcb16a1a0094741abce02a13.png\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sac\\\/#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\":\"ServerAlarmClock\"}]},{\"@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":"ServerAlarmClock - 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\/sac\/","og_locale":"en_US","og_type":"article","og_title":"ServerAlarmClock - Minecraft","og_description":"This plugin gives your Minecraft server a wake-up call, automatically restarting it when it decides to snooze.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/","name":"ServerAlarmClock - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/sac-icon-2435cf11c92752f3fcb16a1a0094741abce02a13.png","datePublished":"2026-06-07T23:31:07+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/sac\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/sac-icon-2435cf11c92752f3fcb16a1a0094741abce02a13.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/sac-icon-2435cf11c92752f3fcb16a1a0094741abce02a13.png","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/sac\/#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":"ServerAlarmClock"}]},{"@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\/135156","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\/135157"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=135156"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=135156"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=135156"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=135156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}