Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
β¨ Features
Sleep Manager brings a democratic approach to skipping the night in Minecraft multiplayer servers with an elegant voting system, solving the classic "one player sleeps, everyone must wait" problem.
- π³οΈ Democratic Sleep System: When a player tries to sleep, a server-wide vote is initiated
- π Interactive Voting: Beautiful chat prompts with clickable YES/NO buttons
- π World-Specific: Votes only affect the world they're initiated in
- π» Anti-Phantom Protection: Resets phantom spawn timer for all players when night is skipped
- π Multi-language Support: Available in English, Spanish, and French (easily expandable)
- βοΈ Fully Configurable: Adjust voting requirements, duration, and more
π Commands
Command | Description | Permission |
---|---|---|
/sleepmanager or /sm |
Shows plugin help | - |
/sm version |
Shows the plugin version | sleepmanager.version |
/sm revote |
Starts a new sleep vote | sleepmanager.revote |
/sm yes |
Vote yes to skip night | sleepmanager.vote |
/sm no |
Vote no to skip night | sleepmanager.vote |
/sm toggle [world] |
Toggle sleep voting per world | sleepmanager.toggle |
π§ Configuration
SleepManager is highly configurable through its config.yml
file:
# Language setting (files located in the lang/ folder)
language: en_US
# Voting settings
voting:
# Percentage of players required to vote YES (0-100)
required_percentage: 50
# Duration in seconds that a vote will remain active
duration_seconds: 30
# Cooldown in seconds before allowing a new vote
revote_cooldown_seconds: 60
π Language Support
SleepManager supports multiple languages through its language files. Currently included:
- πΊπΈ English (en_US)
- πͺπΈ Spanish (es_ES)
- π«π· French (fr_FR)
Want to contribute a new language? Create a pull request adding your translation!
π₯ Installation
- Download the latest
.jar
file from Releases - Place it in your server's
plugins
folder - Restart your server
- Edit the configuration in
plugins/SleepManager/config.yml
if desired - Use
/sm
in-game to see available commands
π Usage Example
When a player tries to sleep at night:
- A vote message appears in chat for all players in that world
- Players can click YES or NO to vote
- If enough players vote YES (configurable percentage)
- The next player to enter a bed will skip the night
- All players' phantom spawn timers are reset
π License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
π₯ Credits
- Developer: tatayless
π Support
Having issues or suggestions? Open an issue on GitHub. You are free to contribute through Pull Requests.
Pinned Versions
Pages
Members
Owner