One Player Sleep v2.1: *Updated to the latest Minecraft version (1.15.1)*
Additions:
- Basic customizable configuration (data.yml, not config.yml):
- enabled - If the plugin is enabled - changes_weather - If the weather is changed after sleeping - message - The message displayed after sleeping - duration - How long it takes a player to sleep (in ticks)
- New Basic Commands:
- /ops - lists the available sub-commands.
- /ops set enabled <true/false> - sets whether or not one player sleep is enabled. With no parameter, it returns the current state
- /ops set weather <true/false> - sets whether or not the weather is changed after a player sleeps. With no parameter, it returns the current state.
- /ops set duration <ticks> - sets the amount of ticks it takes until the time is set to day. With no parameter, it returns the current amount of ticks.
- /ops reload - reloads the configuration file
-
New Basic Permissions:
- ops.reload - Allows the user to reload the configuration file - ops.enable - Allows the user to enable/disable the plugin - ops.enableweather - Allows the user to set whether the plugin changes weather - ops.changeduration - Allows the user to change the amount of ticks it takes to sleep