SinglePlayerSleep2

Because I can't access my old account I had to start this one. I will be updating the plugin for all the versions of minecraft that have come out while I've been gone.

For versions of minecraft older than 1.12 download the appropriate version of SPS for your MC version here... http://dev.bukkit.org/bukkit-plugins/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 " is sleeping [CANCEL]", 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. default=true

sps.downfall - Allows player to clear downfall. default=true

sps.thunder - Allows player to clear thunderstorms. default=true

sps.cancel - Allows player to cancel SPS of other players. default=true

sps.command - Allows player to use the /sleep command, instead of a bed. default=OP

sps.* - Admin, grants all sps permissions. default=false

 

If the player is the only one player online, then the bed functions as normal, since the sleep function works before the 10 second delay.

 

config.yml:

#change to false to stop auto-update-check

auto-update-check: true

 

#color of [CANCEL]

cancelcolor: RED

 

#set to true to broadcast " canceled sleep."

#set to false not to broadcast that msg.

cancelbroadcast: true

 

#set to true before sending a log about and issue,

#logs trace data required to pinpoint where errors are.

debug: false

 

#available languages (English US) en_US, (LOLCat) lol_US, (Dutch) nl_NL, (Francais) fr_FR, (Deutsch) de_DE

lang: en_US

 

Contributing:

This plugin is open source; you can view the source code on github. Feel free to open issues there or submit pull requests.

 


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    323851
  • Created
    Jun 8, 2019
  • Last Released File
    Jun 23, 2019
  • Total Downloads
    4,730
  • License

Categories

Members

Recent Files