Skip to content

Commit

Permalink
Initial upload
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGodOfwar committed Mar 17, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 56e603d commit 9848a42
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README.md
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.

0 comments on commit 9848a42

Please sign in to comment.