-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56e603d
commit 9848a42
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
# SinglePlayerSleep | ||
Introduction: | ||
|
||
First Off, I watch several Hermitcrafters, and after seeing them have issues with their Single Player Sleep command block, rain messes it up. I decided to make this simple plugin. | ||
|
||
|
||
Product Description: | ||
|
||
When a player right clicks on a bed, the plugin broadcasts "[CANCEL] <player> is sleeping", if no one clicks on Cancel, then after 10 seconds the plugin will advance the time ahead to the next morning. Thus the day and difficulty is not affected. The plugin also checks for storms, and if the player has the permissions, it will clear them. There is also a permission for the Cancel command. | ||
|
||
|
||
|
||
Permissions: | ||
|
||
sps.hermits - Allows player to sleep when other players are online. | ||
|
||
sps.downfall - Allows player to clear downfall. | ||
|
||
sps.thunder - Allows player to clear thunderstorm. | ||
|
||
sps.cancel - Allows player to cancel SPS of other players | ||
|
||
sps.* - Admin, grants all sps permissions. | ||
|
||
|
||
If the player is the only player online, then the bed functions as normal, since the sleep function works before the 10 second delay. |