BetterSleeping icon

BetterSleeping -----

Makes sleeping in multiplayer useful and fun!




Languages
  • Added the Ukrainian language (thank you,
    VladOliinyk)
  • Updated the French translation (thank you,
    lucas-luchack)
New feature! Logging level, now available in config.yml! This reduces spam in your console but allows debugging as well (when desired).
Bug fix! Absolute can now be used again as sleepers counter!
----------, Jul 10, 2022

A big thanks to everyone who was waiting for an update! Life is busy but I try to remain as active as possible.
This release only contains fixes and a performace improvement but updating is highly recommended.

Bug fixes
  • BetterSleeping should now work again on all servers
  • Permissions are now cached so they don't need to be checked every tick anymore, improving performance. However, players who gain a bypass permission must log out and log in for it to take effect. This fixes luckperms verbose spamming!
  • Animations can now be disabled again!
  • Configuration links now point to the right locations
  • Premium: /Bs status no longer results in an error when GUIs are enabled (update will be released soon)
Tweaks
  • The Spanish translation has been improved and expanded
  • The Russian translation has been improved and expanded
----------, Jan 8, 2022

All core systems have been rewritten so all existing bugs should be fixed and our beta testers were unable to find any new issues in the latest dev build. If any issues slipped past us, they are expected to be minor.

Tweaks
  • The default color theme has been changed and is now much better!
  • Leaving the bed no longer subtracts a sleeper, it is now good enough to enter your bed and go about your business right away. This allows players to have more time to enjoy playing on the server.
  • Bypassed can still sleep but are not counted towards the required sleeping count
New features
  • BetterSleeping3 settings will auto-migrate to BetterSleeping4
  • Sleeping animations: Show 'zzz' above sleeping players' heads
  • /bs sleep was re-added and allows admins (or players) to count as sleeper without entering their bed
  • /bs shout was added to ask players (anonymously) to go to bed
  • Configuration of night skipping is now much easier but equally configurable
  • The default day and night length can be set, changing the default game speed
  • Added a permission that allows sleeping with nearby monsters: bettersleeping.monsters_sleep
  • Added a bossbar sleepers counter to show how many players must sleep
  • Command output can now be localised as well
  • Per-world settings are now supported
  • You can now enable a logger in the config files
Premium features (Get it here)
Premium is getting an upgrade!
  • A bossbar can be used to show the current time. It will display whether it is nighttime or daytime as well
  • An option to set time to day when a player joins a world that has been empty for at least 10 minutes

Thank you for your patience, feel free to reach out if there is anything!
----------, Jul 26, 2021

Updating is only required if you plan to use GSit support. This small update introduces support for GSit's newest version. The support allows laying/crawling players to count as sleepers.
----------, Apr 19, 2021

Updating is only required if you plan to use GSit support. This small update introduces support for GSit's newest version. The support allows laying/crawling players to count as sleepers.
----------, Apr 19, 2021

Thank you for being patent, I recommend updating to the latest version as this fixes some issues and has nice new features. Happy sleeping!

New features
  • Run a custom command when a player gets buffs/debuffs (eg. /balance give 10)
  • A new option to display messages on screen
  • New RGB code support: Additionally, the format &#rrggbb is now also supported for RGB codes
  • Limited GSit support has been implemented, but may have to be tweaked later
  • Implemented a countdown to notify players when they can sleep
  • Re-implemented DoDayLightCycle=false support
  • Added Citizens2 support
  • Added Skyblock/BentoBox support
Tweaks
  • Changed the shortened prefix to [BS3] (previously [BS])
  • Debuffs are now given to everyone if no one slept
  • We are now collecting more data with bstats
  • Added Italian localisation
Bug fixes
  • Setting a language option to "ignored" now works again
  • Fixed a console error
  • Removed Freddy Krueger
----------, Apr 19, 2021

New features
  • Premium only: buffs chance improvements
  • Disable BetterSleeping in some worlds. Check out the default config file here to see an example.
  • [ and ] can now be used in lang messages by using |( or )| respectively. This has been implemented to work around the usage of [ and ] to indicate singular/plural words.
  • In bypassing.yml, a new option: send_messages. This defines whether or not bypassed players will get BetterSleeping messages.
Tweaks
  • The update notifier now notifies admins once per hour (and only for versions smaller than the newest release).
  • If enough_sleeping is set to '''' or ignored, bed_enter_broadcast will be sent instead to prevent confusion.
  • Reduced memory usage for servers (with a lot of players)
Bug fixes
  • Fixed an issue with setter mode where the storm was not skipped
  • Fixed an issue where console does not get all permissions by default (which is a workaround for external issues with server consoles)
----------, Oct 19, 2020

Only a few players received messages due to a bug in the previous update. This has now been fixed, I'm sorry for the inconvenience.
From now on, I will also include a 1.12 compatible version with more or less the same functionality as the newer versions. This version will be named BetterSleeping-1.12 and will also be statically named each update. Currently all features are included, except for disabling phantoms (duh).

You can grab the 1.12 compatible version on GitHub. Look for the jars called BetterSleeping-1.12.jar.

Once again, my apologies.
----------, Aug 14, 2020

Tired of the way too long message prefix? This update will be right up your alley!

New features
  • New option in config.yml: shorten_prefix. This is true by default and changes the prefix to [BS] instead of [BetterSleeping]. You can still use the full prefix by setting this to false.
  • New option in hooks.yml: minimum_afk_time. This is the time that a player must be afk before they are ignored by BetterSleeping. This is 60 (seconds) by default.
  • RGB support: Only available for 1.16+. Format is as follows $(RED,GREEN,BLUE)$ where each colour is a value in the range [0, 255] that indicates the strength of that component. You can use an online color picker to find the right values.
Tweaks
  • New language added: French (fr-FR)
  • New language added: German (de-DE)
  • New language added: Chinese (zh-HK)
  • New feature silent mode: use language code "silent" to get a default silent language file
  • BetterSleeping releases on GitHub are now statically named so they can be auto downloaded if your host supports this. Get the latest release at all times from: https://github.com/Nuytemans-Dieter/BetterSleeping/releases/latest/download/BetterSleeping.jar.
  • A faulty example was fixed in all language files
  • Phantoms are no longer disabled by default. This will have no effect on servers already using BetterSleeping.
Bugs
  • Time setter mode did not clear weather in all cases. This has been fixed
  • The variable <var> was not replaced in no_permission, this has been fixed
  • Sleeping player count not being right after players leaving/joining has now been fixed
Canceled/removed
  • Canceled: Custom language code support. When a language code is not supported, en-US is used instead.
  • Canceled: RGB support for versions <1.16 will not be implemented as most servers (91.5%, that share stats) are using 1.16.
  • The easter egg language Latin has been removed
----------, Aug 12, 2020

As the previous release was a big one, some new bugs were introduced. Luckily, I got your back and took care of them.
  • The Spanish translation was improved drastically and no longer causes an error (if you're using the default Spanish translation, make sure to delete your current file to generate the new version)
  • BetterSleeping will warn the console in a clean manner when there is an error while sending a message. A stacktrace is no longer printed to the console
  • doDayNightCycle set to false at times [0, 10] no longer causes spam in the chat
  • Storm skipping causing some weird behavior has been fixed entirely
  • Removed Freddy Krueger
Some issues may still be remaining but make sure to report them so they can be fixed.
Happy sleeping!
----------, May 26, 2020

A premium version will be available along the free version from now on. Don't worry though, all core features are (and always will be) part of the free version. It only contains GUIs and the ability to change the prefix, for now.

  • Almost every line of code was rewritten, and new concepts are being used to more accurately track the sleeping players.
  • Time can pass faster, depending on the number of players that are sleeping. Or you can have the time be set to day, as you are used to.
  • Required players can be counted in different ways now: by percentage or an absolute number.
  • Localisation was added: English, Dutch, Portuguese and Spanish are now supported by default. Adding your own lang file is still possible as well!
  • The singular/plural system of lang.yml is now more advanced.
  • Debuffs were introduced to punish players that didn't sleep
  • And finally, bypassed players can now sleep!!
  • bStats is now being (optionally) used to collect some anonymous info
  • The core systems have been changed to be way more robust than ever before
That should cover most changes from your perspective but it's very likely I forgot some features. Make sure to check the plugin page as it has gotten a completely fresh look for v3.

Cheers, guys and girls!
----------, May 22, 2020

Updating is not required as this release only contains minor improvements. No new features were added.
  • An available (but disabled) event is no longer reported to the console every hour but only once, each time when BetterSleeping is loaded.
  • Small visual tweaks in the /bs help and /bs status output
----------, Apr 18, 2020

It's been a while but I certainly haven't forgotten about BetterSleeping. When you need support, do join our Discord server (I'm from Belgium and am generally not awake when it's 4am over here though)
Patch notes:
  • Timed events: The Easter event will be active from 12/04/2020 to 19/04/2020 (has to be enabled first in events.yml, but it will disable itself when the event ends).
    • During this event, players can poop an egg on wakeup, which will include an egg pop-sound (not poop-sound, pop-sound)
    • During this event, players can hear the Easter Bells when entering their bed
  • Missing options can now automatically be added. All you need to do is set auto_add_missing_options to true in config.yml and manually adding missing options is no longer required!
  • A bug was fixed where players in the nether or end were counted towards the required sleeping count
  • A new buff was added: Saturation
  • A new config file was added: console.yml. It's now possible to enable/disabled coloured console messages (if your console supports colors).
  • Finally, OPs no longer get the bettersleeping.bypass permission by default. The current version of Essentials still gives OPs essentials.sleepingignored (which ± has the same effect) but in their next update, that won't be the case anymore so keep an eye on that!
I'm a bit early but still, Happy Easter!!
----------, Apr 7, 2020

As always, here are the new features:
For a tutorial about new options: Please either check the default config or delete your current config

  • BetterSleeping is once again compatible with Bukkit
  • New messages were added in lang.yml to support several newly added features
  • Added an automatic update notifier (enabled by default)
    • No information is gathered and/or saved at all
  • Added a new command! /bs night or /bs n
    • This command will disable skipping the night for a custom time (in minutes).
    • This command is disabled by default. When enabled, only OPs can use it by default
  • You can now hide some messages from players that are not sleeping!
    • These options can be found in config.yml.
      • enough_sleeping_sleepingOnly
      • good_morning_sleepingOnly
      • cancelled_sleepingOnly
      • amount_left_sleepingOnly
  • Missing configuration sections are now reported neatly to the console. This is a feature that allows easier expansion in the future but has no use as of yet
  • The global mode has been removed!
    • multiworld_support: false is no longer supported
    • Global mode is a fundamentally flawed concept and it was only kept in for legacy purposes. As BetterSleeping has been getting more downloads, it makes no sense to continue with this feature.
----------, Nov 4, 2019

Patch notes:
  • PlaceholderAPI placeholders can now be used in BetterSleeping messages too.
  • Added support for PremiumVanish, SuperVanish, VanishNoPacket and more vanish plugins.
  • Improved the headers in the config files
  • Fixed an issue where the time wasn't set to morning but a bit later
  • The player name is now used to replace the <user> tag instead of the player's display name.
----------, Sep 1, 2019

Patch notes:
  • New option: enable_bypass_permissions
    • Default: true
    • When updating from a previous version, please read this before making a change:
    • Due to popular demand, bypass permissions can now be disabled. There is a catch, however.
      An issue may arise when this is set to false and Essentials is installed:
      When everyone except for OPs is sleeping, the night is skipped instantly and BetterSleeping will send a message saying that skipping the night was canceled!
      If set to true, BetterSleeping will ignore those players and this bug can no longer occur.
      If you want to prevent this bug AND allow OPs to sleep, please do the following:
      Add both permissions (below) to all OPs, using a permissions plugin like PermissionsEx, LuckPerms, GroupManager, etc.
      -bettersleeping.bypass AND -essentials.sleepingignored. Notice the - sign! That MUST be included!
      Gamemodes can still be ignored if this is set to false.
      Now that you know all the details, you can safely make the right decision but true remains recommended.
  • The permission essentials.sleepingignored will now only be considered if Essentials is actually installed. So giving -bettersleeping.bypass is now sufficient to make OPs sleep on servers without Essentials.
  • Fixed a bug where the amount of sleeping players could go below zero. This is no longer possible and this issue should no longer occur.
----------, Aug 14, 2019

Spigot 1.12 and 1.13 should be compatible again! If any errors are thrown, send them to me and I'll patch them as soon as I can.

A lot has changed in this update. I have done extensive testing but there may still be issues as I can't test with more than two accounts without blowing up my laptop.

Fixed:

  • Players can no longer exploit a bug by teleporting while in bed. BetterSleeping didn't detect that a player left their bed when they teleported away. This bug can still be exploited in Spigot 1.12 but a message will be sent to console, identifying the potential glitcher. This should no longer cause issues in 1.13 and 1.14. Thank you, @SirLemonade for reporting this bug!
  • When disable_phantoms is set to false, it will no longer throw errors on pre-1.13 versions. Thank you, @johnmon264 for reporting this issue!
  • /bs skip permissions were previously not checked, this has been fixed.
Changelogs:
  • Sound effects can now be enabled when a BetterSleeping message is received. This can be toggled in config.yml and defaults to false. EDIT: thank you, @WekizZ for this suggestion!
  • A new command was added: /bs status or /bs s. This gives information about the (needed) sleeping players.
  • A default permission system has been added since BetterSleeping now supports several commands. This means that a permissions setup is not required for BetterSleeping (but it is still supported). More info can be found on the plugin page under commands.
  • Essentials afk-support can now be disabled.
  • Tab-autocomplete now works with all BetterSleeping commands that a user has access to!
  • Any gamemode can now be ignored through config.yml. Thank you for this suggestion, JonathanG from Discord! Ignoring a gamemode means that player with that gamemode will get bypass permissions and thus also access to /bs skip.
----------, Aug 4, 2019

Changelogs:
  • The default config.yml and default lang.yml had an overhaul. They now contain sections so that configuration will go more smoothly. To make use of this feature, delete your current config files.
  • PlaceholderAPI support. See the wiki for more information.
  • Essentials afk support. Afk players will be ignored by BetterSleeping
  • Added a new command: /bs help
  • Added a new command: /bs skip. Players with bypass permissions can execute this. The night will be skipped if all players in the same world also have bypass permissions.
  • Phantoms can now be disabled in config.yml!
----------, Jul 29, 2019

  • Added an option in config.yml: buffs_for_bypassing_players
    • This setting will determine whether or not bypassing players will get sleeping buffs
  • Fixed an issue where an error was occasionally thrown in the console. My apologies for any inconveniences caused!
  • Fixed an edge case where time was set to day twice
  • Username colors should now no longer interfere with BetterSleeping messages
A special thanks to @SirLemonade and @GrahamovyRozek for testing whether or not the error was still thrown on their servers! Just for you guys: The other fixes and feature on this list are not yet included in that private build, updating is still recommended ;)
----------, Jul 28, 2019

NEW: A Discord server for BetterSleeping support and suggestions!
This Discord server will also contain a Beta program, all info can be found in the server.
[Click] Https://discord.gg/AS46VGT

All bugs seemed fixed when testing and this update should work fine. However, it may be best to wait a while before updating if you want to be absolutely sure.

Patch notes
  • Fixed a bug where buffs were set one level too high
  • Fixed an incompatibility with Essentials
  • Added a new permission: bettersleeping.bypass. This will make BetterSleeping ignore that player. Those players will always receive a buff when the time is set to day (if buffs are enabled). Alternatively, essentials.sleepingignored will have the same effect
  • Added a new tag: <total_amount>
  • Added a new tag: <current_amount>
  • The console will now be notified in red on plugin (re)load when a message won't be visible due to the messages_in_chat setting
  • Re-introduced the debugger. It can only be enabled from within the code itself. Feel free to request a version with debugging enabled if you need it for some reason.
Known issue
  • If all online players have the permission bettersleeping.bypass or essentials.sleepingignored, the night cannot be skipped. This will be fixed in the next update.
----------, Jul 23, 2019

Note when updating:
Everything will still work fine if you just replace the old jar and don't follow the steps below, but the default values of the missing options would be used (and the console would notify you).

A new option has been added in both lang.yml and config.yml (support to show messages on screen instead of in the chat and a customizable message that is sent to the players that didn't sleep).
If you want to customize these new features when updating from a previous version, please add the following options to the correct file and read their explanation to avoid mistakes.
Alternatively, you can reset config.yml and lang.yml by deleting them and performing /bs reload or by a full server restart (both are equally valid options). This option would also copy an explanation of both new options to both config files.
  • config.yml
    • messages_in_chat: true
      • If set to true, all messages will be sent in chat. Otherwise they will appear on screen.
      • IMPORTANT extra note: When set to false, only the last message will be visible if multiple messages are sent back to back. As a result, players will no longer receive good_morning and as a fix, this requires buffs_received and no_buffs_received to be disabled OR if you really want to notify players with the amount of buffs they (didn't) get, you can say good morning in buffs_received and no_buffs_received while neglecting good_morning.
  • lang.yml
    • no_buff_received: "You didn't sleep and feel tired, so you didn't receive [a.<amount>] [buff.buffs]!"
    • This message is sent to the players that didn't sleep during the night that was skipped and thus, didn't get any buffs
Patch notes:
  • Added an option to show messages on screen but not in the chat,
  • Players that didn't sleep will get a message, notifying them that they are missing out on sleeping buffs (if any buffs are enabled)
  • The default documentation (comments) in config.yml and lang.yml were improved
  • Removed Freddy Krueger
  • More messages are now being sent to the console when config files are being loaded: no missing options are found, no enabled buffs were found
Coming soon: A Discord server for support!
----------, Jul 19, 2019

Updating is not required unless you want to disable specific messages.
Fixed a bug and completed some comments in the default buffs.yml
  • Messages could not be disabled after the last update where the language system was refactored. Now every message can be disabled again by setting it to "ignored" or simply to ""
  • Added some comments in the default buffs.yml as they were incomplete
----------, Jul 9, 2019

Several features were added:
  • Buffs were implemented
    • Players that went to bed will receive configurable buffs upon waking up. Check the section 'configuration' on the plugin page to see which options are available. Or check the default buffs.yml.
  • Missing configuration options are reported to the console on startup
    • If an option is missing in lang.yml or config.yml, the console will be notified with the missing option and its default value.
  • A placeholder <user> was added
    • This is substituted by a user that performed an action. This can be applied to the applicable messages in lang.yml. For more information, please check the default lang file.
For more information, please check the Spigot plugin page.
Feel free to contact me if you have any questions/issues/suggestions. I'm here to help.
----------, Jun 29, 2019

A small feature was added and a small issue was fixed in this update. Updating BetterSleeping is not required this time.
  • Fixed an issue when percentage_needed was set to 0 in config.yml
  • Now there is singular/plural support in sleep_spam as well
----------, Mar 14, 2019

Updating is highly recommended due to a bug fix!
For more information about added features, I refer to the issues on GitHub.
This is a short list of new stuff:
  • A new tag <receiver> was added. This placeholder will be replaced by the name of the player that is receiving that message.
  • A new tag <time> was added for sleep_delay. It will be substituted by the amount of time that players must 'sleep'.
  • Support for singular/plural nouns has been added. No more awkward phrasing like "1 more player(s) need to sleep". This can be achieved by using [singular.plural] in lang.yml. A tutorial is included, so either reset lang.yml by deleting it (and restarting or /bs reload) or check out the default lang.yml!
  • A bug, introduced in 2.0.0, was fixed. This bug would unintentionally unregister several events of other plugins. Which could also cause configuration of other plugins to be faulty until reload. This bug would occur opon /bs reload.
Thank you, @ johnmon264 for your bug report and suggestions!
----------, Mar 9, 2019

If you come from a previous version: please delete config.yml and reload your server or change 'world_specific_behavior' into 'multiworld_support'! Otherwise that setting will be ignored!

Resetting lang.yml is also recommended, as new tags (for example <amount>) were added in some messages. Alternatively, those can also be found on the plugin page under 'configuration'.

BetterSleeping was completely rewritten, improving maintainability a lot. Many bugs were fixed.
Keep in mind that the plugin is in BETA, some bugs might be lurking around the corner!
  • The built-in reload system was simplified so less internal mistakes will happen
  • '/bs reload' can now be used too, and has the same effect as /bettersleeping reload
  • Tab auto complete has been implemented for /bettersleeping reload
  • Configuration was rebuilt, became more modular and has a better structure altogether
    • Adding configuration options will be much easier for me from now on
    • 'World_specific_behavior' is now called 'multiworld_support'
    • The option 'multiworld_support' is now true by default
    • The default 'cancelled'-message has been changed and includes the amount of extra players that are required
    • Players are now given the time they have to wait before they can sleep again (in 'sleep_spam', with '<time>')
    • If a configuration option is not found, the default option will be loaded from within the jar file but the console will not be notified
  • Multiworld mode and regular mode were rewritten and now use the same core systems
  • Added an in-built debugging system, for developer use only. If you want to use this system for some reason, let me know and I'll let you know how.
  • Unit testing has been implemented, by using PowerMockito but is not being used yet
  • Merged OnSleepEventGlobal and OnSleepEventLocal to reduce duplicate code, the functionality was maintained
  • Removed 'good morning'- and 'good night'-messages in the console on startup/poweroff
  • A whole bunch of bugs were fixed (this was at least 50% of the work)
    • Old bugs were fixed by rewriting pretty much everything
    • New bugs were introduced (as expected) and fixed (as far as I know)
    • Even had to battle bugs that crawled into the plugin because of default Minecraft/Spigot mechanics
  • Removed Freddy Krueger

KNOWN ISSUES
For more information about those, feel free to ask me!
  • Only if a storm (not night) is skipped: There is a slight delay before a players leave their bed automatically. This can currently not be patched.
  • The following occurs if a player has been waiting to skip the night for a while (screen is darkened) and suddenly all online players get in their bed:
    • The default Minecraft/Spigot mechanic takes over and wants to skip the night instantly. This has partially been patched by acting quicker than this default mechanic.
    • This does mean that the 'sleep_delay' in config.yml will be ignored in this instance. This can not be fixed, the alternative is people getting wrong messages from the plugin and the night being skipped instantly regardless.

TO DO
For a to-do-list, please check the Spigot plugin page (at the bottom). This update text is long enough in my opinion. :)
----------, Feb 21, 2019

  • Fixed a number rounding issue when the plugin reported 0 players needed to be sleeping while it actually thought more players were needed
  • Fixed messages being shown multiple times
  • Fixed messages not being shown while they should have been
----------, Jan 7, 2019

Updating is highly recommended!
  • Fixed a console error when people sleep in different worlds with world_specific_behavior set to true. If the same issue still occurrs, BetterSleeping will try to fix its status along with sending a custom message to the console instead of an error. If you see this message, an issue is still occurring and I would love to hear from you!
  • The 'cancelled'-message will no longer be sent when enough people were sleeping and the night is skipped
  • Made sure that BetterSleeping is loaded AFTER the worlds
  • Enough_players_sleeping will no longer be repeated when additional players start sleeping after enough people were sleeping already
  • Removed Freddy Krueger

Planned features (some/all may still be canceled):
  • Implement unit testing
  • Refactor the language system
  • Give players (configurable) temporary buffs for sleeping (Healing, filling food bar, speed)
  • Tab auto complete for /bettersleeping reload
  • Report every missing language option instead of just reporting the most important ones
  • Automatic punishments for people that try to spam the chat with BetterSleeping messages (kick, ban,..)
----------, Jan 7, 2019

Due to a naming issue in v1.3.2, v1.4.0 will be skipped

This is the biggest update so far!

  • Fixed a bug where BetterSleeping would throw errors when world_specific_behavior was set to true
  • Players seemed able to 'sleep' during the day and skip the night regardless of the time, spamming the chat as a result. 'Sleeping' during the day will no longer be treated as sleeping by BetterSleeping (also reducing spam to some extent).
  • Removed Freddy Krueger
  • Sleeping during the day will be allowed if there is a storm
  • Fixed an issue where one player could trick BetterSleeping into thinking that multiple players were sleeping when world_specific_behavior was set to true
  • Preventing spam: After leaving a bed, a player must wait 10 seconds (default) before they can sleep again. This delay can be set in config.yml
  • A switch from true to false (and the other way around) of world_specific_behavior will now be enforced upon /bettersleeping reload or regular reload/restart meaning the behavior can be changed on the fly!
  • This time, the correct version was included in plugin.yml
  • 'Resetting file'-messages will no longer be printed to the console on first load
  • Cleaned the project files on GitHub: no more useless files!
  • Fixed a bug where the settings were loaded twice (or thrice) upon reload
  • BetterSleeping will no longer falsely report missing options when generating a new config/language file
  • Lang.yml now uses '&' instead of '§' since the latter may not be copied succesfully to the server
  • Fixed an issue where all messages and settings were null, regardless of the settings

Planned features (some/all may still be canceled):
  • Implement unit testing
  • Refactor the language system
  • Give players (configurable) temporary buffs for sleeping (Healing, filling food bar, speed)
  • Tab auto complete for /bettersleeping reload
  • Report every missing language option instead of just reporting the most important ones
  • Automatic punishments for people that try to spam the chat with BetterSleeping messages (kick, ban,..)
----------, Jan 3, 2019

Ingame this version may appear as v1.4, this is just a naming issue.
This is a smaller update due to a requested feature.
  • Messages can now be disabled by setting them to "ignored" in lang.yml, like in the example below:
To disable this message:
enough_sleeping: "Enough people are sleeping now, the night/storm will be skipped in a moment!"
It needs to be set to:
enough_sleeping: "ignored"
----------, Nov 20, 2018

  • CONFIG.YML WILL BE RESET (unless 'world_specific_behavior' is manually added to config.yml prior to updating the plugin, note that a boolean must be provided as well: true or false)
  • Multiworld support, allows nights/storms to be skipped in only one specific world when a custom percentage of the players in that same world are sleeping. By default, this is set to false since that was the orignal behavior)
  • More custom messages: From now on a message will apear when enough people are sleeping, when the night/storm is skipped and when the 'fast forwarding' is cancelled. Prior to this update there only was a message when the night was skipped. In order to customise these messages, they should be added manually to lang.yml or lang.yml should be deleted to regenerate all default values (with some handy comments)
  • A yellow warning will be sent to the console when lang.yml is missing option(s) from now on, reminding the admin to add them manually
  • The console will kindly remind admins that it is greatly appreciated when the prefix contains 'BetterSleeping', but only when they are not using 'BetterSleeping' in the prefix. (This won't be enforced in any way, only encouraged)
  • Default values are now also mentioned within the comments in config.yml
  • Removed Freddy Krueger
  • The plugin page on Spigot has been updated with better banners and way more information.
----------, Nov 19, 2018

NOTE: config.yml will be reset to its default contents with this update!
lang.yml will not be affected but I recommend deleting this file if you want to get the most up-to-date comments (fixed some minor typos).
  • Added a configurable sleeping delay option to better simulate the single player survival sleeping experience. By default, it will take two seconds after the last (required) player is sleeping before the night is skipped.
  • Amount of players needed will now be printed as a whole number instead of a comma number. (3.0 players will now be displayed as 3 players, how it should have been in the first place)
  • Missing configuration options will now be ignored and default values will be used instead
  • Edited some comments in the config files
  • Removed Freddy Krueger
  • Fixed a minor bug
----------, Oct 1, 2018

  • Changed the rounding of 'sleeping players needed' to make the plugin more accurate, as previously it might not have worked as intended in every situation
  • An invalid percentage in config.yml will now be automatically corrected
  • Further optimised some code
  • Removed Freddy Krueger
  • Edited the default lang.yml
----------, Sep 16, 2018

Resource Information
Author:
----------
Total Downloads: 339,936
First Release: Sep 14, 2018
Last Update: Jul 10, 2022
Category: ---------------
All-Time Rating:
67 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings