D1 Fixed server version comparer to work with Paper.
D2 Fixed issue with messages and sleep commands.
D3 Fix color formating. Changed min version to 1.16
D4 Fixed message copier.
D5 Fixed Random Message selector.
D6 Fixed issue with hexcode updater.
D7 Fixed pattern for Standard Hex codes, Now converts Legacy codes to Hex.
D8 Added parser for legacy format codes to MiniMessage Tags.
D1 Fixed DaySkip cancel msg = null.
D2 Fixed an issue where SPS would broadcast twice.
D3 Added new permission sps.showCancelledMsg
D4 Removed Birthday Message code.
D5 Added better error and log handling
D6 Minor tweaks.
D7 Dayskip will now work with any Bed.
D8 Fixed a bug in dayskip code that would allow regular sleep code to run.
D9 Added more logging to Dayskip to find a bug.
D10 Fixed bed detector for Dayskip.
D11 Fixed spscancel, update, sleep, and dayskip commands.
D1 Added a config option for when a nickname is not set to use displayname or username.
D2 Added debug logs for previous changes.
D3 Added more debug code, and changed some defaults.
D4 Switched to i18n language files, reworked update checker.
2.13.49
D1- Added support for Bloodmoon Advanced.
D2- Added a check for DisplayName when Essentials nick is returned as null.
D3- Added color formatter for displayNames when Essentials/VentureChat/HexNicks returns null
D4- Changed method for formatting displayNames in re: above.
D5 Added debug checks on nickname getter.
D6 Fixed issue with chars in HexNicks nicknames.
Added permission debug logging, "/sps check", and "/sps check playername" commands.
Anyone can check their own permissions, but only people with sps.op can check permissions of others.
Fixed an issue with update command causing a NPE.
Fixed an issue with the /sleep command always using world 0 as the Night/Storm check world.
Changed reloading method, added simplified Chinese(zh_CN) translation from (NagaseYami)
Added new config option "reset_insomnia" to reset the stat "time_since_rest" for all players in the sleeping player's world to prevent phantom spawning
Fixed text formatting with nicknames.
Added Japanese (ja_JP) translation from (mtmtyu)
Fixed issue of broadcasting to world's not where sleep, cancel, dayskip were initiated.
Added config option for per world broadcasting.
Fixed issue of a floating bracket.
Fixed a minor bug involving an exception and a possible console spam.
Players with sps.unrestricted permission will have color sleepmsgs.
Fixed incomplete text issue.
Added new config option. exitbedcancel: false
Added tab complete for commands.
UpdateChecker update, should no longer say there is an update when using a Dev version.
/sps update, now runs Asynchronously, which should not cause server freeze.
Added configs for Blacklist sleep/dayskip.
Added cancelbracketcolor config, to set the color of the brackets of [CANCEL].
Added colorful_console config, Enables fancy ANSI colors in console.
Fixed a config issue.
fixed an error where sometimes iscanceled would become locked as true, not allowing canceling of sleep.
added a new spam checker for sleep and cancel.
it is now user based, and not world based.
Should be multiverse compatible.
added cancellimit: 60 to config.yml
Added config file updater, copies old configs to new config file.
Fixed bug that would cause exceptions if a player had no bed spawn set.
Added config to disable display of CANCEL in the sleep message. /cancel still works.
Fixed an issue with Respawn point setting and MC 1.15.
Plugin will no longer set respawn point for MC 1.15+
Plugin will still set respawn point for MC versions under 1.15.
Added new config enabledayskipper default is false, set to true to turn on dayskipper.
Added a chat notice of reloading plugin for /sps reload
If bedspawn is already set to the bed you try to sleep in, it will not spam chat.
Added es_MX.yml
/sps update uses new update check method, and will not lag the server.
Other minor tweaks to reduce spam, and cheating.
Changed update checking to only check on plugin enable, and to let those with permission know that an update is available. This should reduce any lag the plugin may have to a minimum.
added a requested config for "notifymustbenight" default is false.
added a lang variable for "respawnpointmsg" will now say Respawn point set, or whatever you change it to in the lang file.
changed lang files to be language specific lang/en_US.yml instead of lang.yml
some minor tweaks to code to streamline and simplify how SPS works.
To report any issues please start an issue on the SinglePlayerSleep github repository with debug=true, and a full log.
New version scheme that still continues the old scheme.
New method of broadcasting messages that is not version specific.
Should now work with all versions of Minecraft from 1.13 through 1.15.1+ and should even work with 1.16.
Tested in spigot 1.13, 1.14, and 1.15, and paper 1.14.4.
New feature starting 2.13.31, DaySkipper: A player with a Black bed, and the sps.dayskipper permission may skip the day to night, also can require an item named DaySkipper in config.yml.
Added Portuguese (pt_BR) to lang.yml.
Minor changes to update checker, to notify server owner of an update.
Changed time you may enter bed/use sleep command to be 12600 instead of 13000.
Added a requested feature, sleepdelay.
This config variable allows you to set the sleep delay in seconds between the time you sleep and the time is changed to day.
Also added Czech language, and some tweaks to onEnable/Disable as well as debug logging.
Also fixed a bug where sleepmsgs over 54 characters would not retain the color in the chat, if chat was set to ~320px/small.
Added new permission sps.showUpdateAvailable - If an update is available this permission will notify the player with the permission that there is an update.
Fixed a bug that would cause an exception error with PaperMC when a player used the /cancel command, or if the player tried to sleep with the permission sps.unrestricted. If you use PaperMC and experience any issues please go to the github and start an issue ticket.
Switched from mcstats to bStats, can be turned of in \plugins\bStats\config.yml
So that I can know how the plugin is being used without identifying statistics.
Added a config.yml check so you don't have to delete the config.yml file during plugin updates.
Added another feature suggested by H8RMinecraft,
You can now choose to either set the time to 23000 (Early/Sunrise), or 24000 (Normal/Vanilla) in the config.yml
Added a requested feature from H8RMinecraft.
Please delete your old config.yml, and lang.yml files in the plugins/singleplayersleep folder.
Plugin now has custom sleeping messages settable in config.yml.
Code (Text):
# Set to true to use random sleep msgs.
randomsleepmsgs: true
# Set to the number of sleep msgs
numberofsleepmsgs: 4
# Set msgs for random sleep msgs here "sleepmsg#: <player> msg here"
# Don't forget the space between : and the start of the message.
sleepmsg1: <player> is sleeping
sleepmsg2: <player> went to bed. Sweet dreams
sleepmsg3: Shhh! <player> is trying to sleep!
sleepmsg4: <player> is asleep at the wheel
Also fixed is custom sleep message colors, settable in config.yml.
Code (Text):
# Set the color of the [CANCEL] link text in broadcast messages. Format RED
# Colors: AQUA, BLACK, GOLD, GRAY, BLUE, GREEN, RED, YELLOW, WHITE
# DARK_AQUA, DARK_BLUE, DARK_GRAY, DARK_GREEN, DARK_RED, DARK_PURPLE, LIGHT_PURPLE
# MAGIC, BOLD, STRIKETHROUGH, UNDERLINE, ITALIC, RESET
cancelcolor: RED
# Sleep message color, use either YELLOW
sleepmsgcolor: YELLOW
# Player name color, use either WHITE
playernamecolor: WHITE
fixed a minor bug where if cancelbroadcast was set to false, that SPS would still broadcast the cancel message.
added some minor tweaks, debug code is easier to see in server logs with Ansi codes.
MC 1.14 update, cleaned up some code, and added features, minor bug fixes for 1.14
added ability to sleep during thunderstorm
added unrestricted sleep(in config.yml)
added anti spam feature (settable in config.yml)
new permission:
sps.unrestricted allows the player with the permission to sleep without others being able to cancel it.