Skip to content

Releases: Nuytemans-Dieter/BetterSleeping

Update 4.0.2: Minor update

10 Jul 18:09
0ebf979
Compare
Choose a tag to compare

Premium only:
Buffs chance works again! Add a chance line under any buff to make it only be given x% of the time! Deleting buffs.yml will generate an example config that contains this chance configuration.

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!

Update 4.0.1: Major fixes!

08 Jan 22:08
3b07fbe
Compare
Choose a tag to compare

This release only contains fixes and a performace improvement.

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. 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

Tweaks

  • The Spanish translation has been improved and expanded
  • The Russian translation has been improved and expanded

Update 4.0.0: Complete rewrite with cool new features!

26 Jul 11:01
2aa005a
Compare
Choose a tag to compare

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
  • 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 player's 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

Update 3.0.6: GSit support

22 Apr 11:43
a015476
Compare
Choose a tag to compare

This update only fixes support for the latest GSit version.

Update 3.0.5: Various improvements

19 Apr 09:52
Compare
Choose a tag to compare

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

Update 3.0.4: Ignoring worlds + bug fixes

19 Oct 08:45
Compare
Choose a tag to compare

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)

Update 3.0.3: Messages bug fix + 1.12 support

14 Aug 09:31
Compare
Choose a tag to compare

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).

Once again, my apologies.

Update 3.0.2: Shorten the prefix-update!

12 Aug 11:01
Compare
Choose a tag to compare

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 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

Update 3.0.1: Bug fixes

26 May 20:59
Compare
Choose a tag to compare

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!

Update 3.0.0: Complete rewrite

22 May 21:31
c8d3c93
Compare
Choose a tag to compare

A premium version will be available along the free version from now on. Don't worry though, all core features are (and will always be) part of the free version.

  • 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!!
  • The core systems have been changed to be way more robust than ever before