SleepRegardless
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2FHcLVscx.gif)
Plugin description
An extremely lightweight plugin that allows players to sleep more than vanilla Minecraft allows them to! Can be used to enhance the roleplay experience, implemented in minigames or even simply as a unique feature to make your server stand out. Works with Bukkit and Paper Minecraft servers.
Features
- Set your own custom messages
- Sneak only mode: Sleep in the nether while still using beds to blow things up
- Extremely customizable; use the features you want, disable those you don't!
Commands
/leave - Leave your bed. Used if forcebound is enabled in settings.yml
Aliases: /exit, /leavebed
/sleepreload - Reloads the plugin
Permissions
sleepregardless.admin - Allows player to use /sleepreload
Configuration
The config is split into settings.yml and messages.yml
settings.yml
Code (YAML):
# What a line in messages.yml will start with if you don't want to use messageformat
# For example "Plugin > some message" is the default message
# You can change it to "some message" if you replace the default with the following in messages.yml
# example: "--some message"
negateformat
:
"--"
# Sets if the plugin will only do anything if the player is sneaking
sneakonly
: false
# Sets if the player can sleep regardless of the world, even in the nether
ignorewhere
: true
# Sets if the player can sleep during daytime
# Minecraft will immediately kick the player out of bed unless forcebound is set to true
ignoretime
: true
# Sets if player can sleep with monsters nearby
ignoresafety
: true
# Sets if player can sleep with on a bed further than normal vanilla would allow (but still within his reach distance)
ignoredistance
: true
# Sets if a player can sleep when he is unable to due to other reasons not listed above
ignoreothers
: true
# Sets if players will be bound to the bed they're in, unless they use /leave or talk in chat
# Note that if you enable this, players will not be able to leave their bed normally by clicking "leave bed" or when the morning comes
forcebound
: true
# Sets if players will be kicked out of bed when they talk in chat, if forcebound is enabled
chatforceexit
: true
messages.yml
Code (YAML):
# The format that all messages will follow unless negated with prefix stated in settings.yml
messageformat
:
"&eSleepRegardless &8> &f{message}"
nopermissions
:
"You can't use that command!"
usage
:
"Usage: {usage}"
eject
:
"You have been ejected from your bed!"
forceboundenter
:
"To leave the bed, type /leave{0}"
forceboundchat
:
" or anything in chat"
notsleeping
:
"You're not sleeping now!"
Support
If you found a bug or have a suggestion,
add a comment
Satisfied? Leave a review!