-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
- Java 21+ (compiled for the latest Paper API)
- Minecraft 1.16.5+ (Bukkit, Spigot, Paper, Folia, or any compatible server)
- No other plugins required! Onlysleep works standalone
- [Optional] PlaceholderAPI for placeholder expansion support
Get the latest Onlysleep-*.jar from one of these sources:
| Platform | Link |
|---|---|
| Modrinth | https://modrinth.com/plugin/onlysleep |
| Hangar | https://hangar.papermc.io/DemonzDevelopment/Onlysleep |
| Spigot | https://www.spigotmc.org/resources/onlysleep.12345/ |
| GitHub Releases | https://github.com/DemonZ-Development/Onlysleep/releases |
- Stop your server (or use
/reloadโ though a full restart is recommended) - Place the downloaded
Onlysleep-*.jarfile into your server'splugins/folder - Start your server
Check the server console for a message like:
[Onlysleep] Detected platform: Paper
[Onlysleep] bStats metrics initialized (ID: 31415)
[Onlysleep] Onlysleep v1.0.0 by Demonz Development enabled!
[Onlysleep] Running on Paper 1.21.4
Edit plugins/Onlysleep/config.yml to customize the plugin to your needs.
After making changes, run /onlysleep reload to apply them without restarting the server.
If you want to use Onlysleep's placeholders in other plugins (like scoreboards, nametags, etc.):
- Download and install PlaceholderAPI
- Restart your server
- Onlysleep will automatically detect PlaceholderAPI and register its placeholders
- Use any of the available placeholders in your other plugins
See the Building from Source guide for instructions on compiling the plugin yourself.
To update Onlysleep:
- Download the latest version
- Stop your server
- Replace the old
Onlysleep-*.jarwith the new one - Start your server
Note: Configuration files are preserved across updates as long as you don't delete the
plugins/Onlysleep/folder.
Problem: Plugin doesn't load / "Plugin Onlysleep vX has failed to load"
- Ensure you're running Minecraft 1.16.5 or newer
- Check that Java 8+ is installed (run
java -versionon your server) - Check the console for specific error messages
Problem: /onlysleep command not found
- Ensure the plugin loaded successfully (check console)
- Try restarting your server
Problem: Placeholders not working
- Ensure PlaceholderAPI is installed
- Ensure PlaceholderAPI loaded before Onlysleep (check plugin load order)
- Check that you're using the correct placeholder syntax (
%onlysleep_sleeping%)
See the FAQ page for more common issues.
Onlysleep โ Developed by Demonz Development with โค๏ธ for the Minecraft community.
Licensed under the MIT License.
Links:
๐ Website ยท ๐ป GitHub ยท ๐ฎ Modrinth
๐ฆ Twitter/X ยท ๐ฅ YouTube ยท ๐ธ Instagram
๐ Discord ยท ๐ Reddit ยท ๐ demonzdevelopment@gmail.com