sQuickSleep - The Simple, Swift, Sleeping Solution
Are you tired of waiting for every single player on your server to find a bed just to skip the night? Do thunderstorms last forever because one person is AFK?
sQuickSleep is the elegant solution to one of multiplayer's biggest annoyances.
sQuickSleep is a modern, lightweight, and highly configurable plugin that overhauls the sleeping system on your server. It allows the night to be skipped when a certain percentage of players are in bed, or even just one! It's designed to be drag-and-drop simple for server owners who just want it to work, but powerful enough for those who want to customize every detail.
Key Features
- Percentage-Based Sleeping: You decide the percentage of players needed to skip the night. Set it to 50% for a majority vote, 25% for a quick skip, or anything in between! It's the perfect balance for any server size.
- One-Player Sleep Mode: Perfect for small, friendly survival servers. With a simple config change, you can allow a single player to skip the night for everyone.
- Fully Customizable Messages: Every message is customizable! Change the text and colors of all announcements using standard Minecraft color codes (&a, &l, etc.). All placeholders (%player%, %needed%, etc.) are supported.
- Intelligent Player Exclusion:
- Players in Creative or Spectator mode are automatically ignored.
- Players with the squicksleep.bypass permission (like vanished staff) are not counted, so they won't prevent others from sleeping.
- World Whitelist/Blacklist: You can easily disable sQuickSleep in specific worlds, like minigame or creative plot worlds.
- Instant Reload: Update your configuration on the fly with a simple command. No server restart required!
- Lightweight and Performant: sQuickSleep is built to be fast and efficient. It does one job and does it perfectly without adding any lag or unnecessary features to your server.
Commands
- /squicksleep help (Alias: /ssleep help) - Displays the help menu.
- /squicksleep status (Alias: /ssleep status) - Shows how many players are currently sleeping and how many are needed.
- /squicksleep reload (Alias: /ssleep reload) - Reloads the configuration file. (Requires permission)
Permissions
- squicksleep.reload - Allows the user to reload the plugin's configuration. (Default: OP)
- squicksleep.bypass - Excludes the player from all sleep calculations. They won't count toward the total or needed players. Ideal for admins in vanish. (Default: OP)
- squicksleep.status - Allows the user to check the sleep status. (Default: Everyone)
Default Configuration (config.yml)
Our configuration is designed to be clear and easy to understand. Here is the default config.yml that is generated on the first run.
Code (YAML):
Generated yaml
# sQuickSleep Configuration File v1.0.0
# Placeholders: %player%, %sleeping%, %needed%, %total%, %more%
# --- Main Settings ---
# Set the sleep mode. Options:
# PERCENTAGE: A percentage of players must sleep.
# ONE_PLAYER: Only one player needs to sleep.
sleep-mode
:
"PERCENTAGE"
# If using PERCENTAGE mode, what percentage of players in the world are needed to skip the night? (0-100)
percentage-required
: 50
# --- Messages ---
# Customize all messages sent by the plugin. Use '&' for color codes.
messages:
player-enter-bed
:
"&e%player% is now sleeping. &a[%sleeping%/%needed%]"
player-leave-bed
:
"&e%player% is no longer sleeping."
not-enough-players
:
"&c%more% more player(s) needed to skip the night."
night-skipped
:
"&aRise and shine! The night has been skipped."
storm-skipped
:
"&aThe skies have cleared."
config-reloaded
:
"&a&lsQuickSleep configuration has been reloaded."
no-permission
:
"&cYou do not have permission to use this command."
status
:
"&eSleep Status: &a%sleeping%&e/&c%needed% &eplayers are sleeping. (&a%total% &eplayers in this world)"
# --- Advanced Settings ---
# Should players in creative or spectator mode be ignored?
ignore-gamemode-creative
: true
ignore-gamemode-spectator
: true
# Should players with the 'squicksleep.bypass' permission be ignored?
ignore-bypass-permission
: true
# A list of worlds where this plugin should be disabled.
# By default, sleeping is only enabled in the main overworld.
disabled-worlds
:
-
"world_the_end"
-
"world_nether"
# Time in ticks before the night is skipped after enough players are sleeping.
# 20 ticks = 1 second. This gives other players a moment to see who slept.
skip-delay-ticks
: 60