Jump to content
Message added by RustFlash,

This plugin was originally developed by M&B Studios in a simpler version without permissions and additional features. Due to health reasons, they are no longer active in plugin development, and I have completely rewritten and modified the plugin for version 2.0.0. It now contains very little of the original code and should run more reliably with enhanced features.

For questions, please reach out via a support ticket on Discord, as notifications through Codefling may not always work.  

Support Discord

2 Screenshots

  • 27.6k
  • 140
  • 6.33 kB

About Sleep

Description
The Sleep plugin allows players to enter sleep mode and automatically heal during that time. Players with the appropriate permission can use the /sleep command to go into sleep mode, during which their health will continuously regenerate. Admins have the ability to bypass the cooldown, allowing them to use the command as often as they like.

Features
- Players can use the /sleep command to enter sleep mode and heal themselves.
- Automatic healing of 5 HP every 5 seconds while the player is sleeping, as long as their health is below 100 HP.
- The health bar shows the healing progress and is displayed at the top center of the screen.
- The UI is removed once the player is fully healed (100% health) or leaves sleep mode.
- Admins with the .admin permission can use the command without a cooldown.

 

Config
There are no configurable options. The plugin is designed with all essential settings hardcoded:
Healing Amount: 5 HP every 5 seconds
Max Health: 100 HP
Cooldown for players: 60 seconds
No configuration files are needed.

 

Permissions
The plugin uses two permissions:

sleep.use

Allows players to use the /sleep command. Players are subject to a 60-second cooldown.

sleep.admin

-Allows players to use the /sleep command without a cooldown. Ideal for administrative purposes or special player roles.

load, run, enjoy 💝
Support Discord

  • Love 1

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.7k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.