Sleep most [1.8 > 1.21.X] The most advanced sleep plugin available (percentage, animations, ..) icon

Sleep most [1.8 > 1.21.X] The most advanced sleep plugin available (percentage, animations, ..) -----

Control the amount of percentage of sleeping players required to make it day




Hello everyone

This simple update contains a fix where Placeholder API is not working anymore. This was due to the rework of the hook system. This is now fixed again.

Apologies for the inconvenience!

Kind regards

Quinten
----------, Aug 11, 2024

Hello everyone

This update will add 1.21 compatibility. This doesn't include any additional features apart from an improved calculation on the dynamic night cycle animation speed.

Thank you all for sticking with us!

Kind regards

Team Pseudonova
----------, Jul 11, 2024

Hello everyone

I hope you all had a wondeful time so far with SleepMost, but it's time for yet another release. SleepMost V5.4.0 is here!

What is new in this release?

force-nightcycle-animation flag

When this flag is set to false, players can now leave the bed mid-skip animation to stop the timecycle. As soon as there are enough players asleep again, the animation will continue.
See it in action here


skip-msg-audience flag
With this flag you can control who will receive the night skipped/good morning message. You can set this to either be for players or sleepers only.


FIXED in this release
  • older clients will crash when bossbar feature is enabled
  • typo in one of the messages
  • time will no longer skip beyond the actual foreseen amount of ticks
See it in action here

========= THANK YOU FOR STICKING WITH US ==========

That is it for today's release. We are more then happy to hear your feedback in our discord and rating section of the plugin page. We actively listen to our community to discuss future updates and appreciate all of your feedback.

Feel free to join us on our discord and talk with us!
https://discord.pseudonova.com/

Thank you for all for the years of trust, and for many to come.

Kind regards

Quinten (developer) & Malin (community manager)
Management Pseudonova
----------, Jan 31, 2024

Included in this update
  • added hotfix for non NPC error
  • fixed a bug in PlayerSleepStateChangeEventListener
  • Updated build version of spigot to 1.20-R0.2-SNAPSHOT

A more personal update can be found on our discord:
https://discord.pseudonova.com/

Kind regards

MrGeneralQ
----------, Nov 18, 2023

Hello everyone

I know it has been ages, and once again, apologies for the delay. I know many of you have been waiting for this and as part of the compensation, you can expect a give away real soon on our discord (don't miss it).

Without further a do, we give you sleep-most 5.3.0 supported with 1.20!
Here are a few other changes that were made:

new flag: reset-time-since-rest
When this flag is enabled, your time-since-rest player stat will be reset. (this is the default value) so it resets by default.

new flag: disable-daylightcycle-gamerule
When this flag is enabled, the gamerule " doDaylightCycle" will be set on false". (this is the default value).

Thank you for sticking with us!

As always, whenever you got any issues or bugs to report, feel free to reach out in our discord where our team is ready to assist you.

Kind regards

Team Pseudonova
----------, Jun 12, 2023

Hello everyone

It seems that some versions ago with the migration to Gsit, there might be a use-case where sleep-most got loaded after essentials causing the afk detection to break.

This is now fixed in this version by adding a soft dependency on essentials.
This update also includes a typo made from previous release in the config.yml. (this typo fix is not required and thus doesn't inform you on an outdated config).

Kind regards

Quinten
----------, Feb 15, 2023

Hello everyone

Today a brand new update to modify a few many requested features.
All of the following updates will require a fresh config or manually adding the config properties. In case you don't add them manually, sleep-most will remain functional and the default values will be used.

ADDED

Added a new config option "nightcycle-animation-speed" to decide how fast the animation should run
Code (YAML):

# specify the speed/ticks for the animation
# DEFAULT: 85 (recommended)
nightcycle-animation-speed
: 85
 
Added a new config section to control when time
Code (YAML):
# configure when players can and cannot
time
:
  night-start
: 12542
  night-end
: 23850
 
As always we appreciate your feedback and suggestions. If you got suggestions or questions feel free to join our discord.

Kind regards

Quinten
----------, Feb 14, 2023

Bugs fixed:
  • When sleep prevented enabled, the prefix is shown twice
----------, Jan 25, 2023

Hello everyone

I was made aware that the placeholders controlled by PAPI were no longer being replaced. After some investigation we figured it was related to a migration of hooking solution to better integrate with others plugins.

Please update to the latest version of Sleep-Most.

BUGS (fixed)
  • Placeholder API placeholders no longer working

Kind regards

Quinten
----------, Jan 16, 2023

Hello everyone

I hope you are all doing well. As you might have been aware, there were no updates for quite some time. This was related due to my recovery. I start feeling better and pain is fading away, that means, development is resumed!

Without further a do, here are the highlights for SleepMost V5.2.0!

ADDED

Integrated with SuperVanish & PremiumVanish
When super vanish is installed, vanished players will no longer be required to sleep.

Integrated with afk functionality of Purpur
When using Purpur and the use-afk flag is enabled, afk players (serve feature) will no longer be considered required to sleep

Customization for the clock title
2 new messages have been added to the messages.yml.
clock.title, clock.subtitle. You can now fully customize that and use the %time% to display the time.

Bugs (fixed)
  • when skipping storm during day-time and night cycle animation flag enabled, clock is showing
  • errors when using NPC to register insomnia
Time clock can now be changed.png

UPDATES
We implemented a new mechanic to Hook into other plugins. Due to the architecture of the plugin and previous implementations, this will cause certain plugin specific flags (gsit) to be available by default. Please ignore those flags, an architectural refactor will be deployed in the future.

At last ...
Thank you for being a loyal user of SleepMost. Feel free to join our discord and discuss the new updates or submit a suggestion on the github and Happy Holidays from the Pseudonova team!

Discord: https://discord.pseudonova.com/

Kind regards

Quinten
----------, Dec 27, 2022

Hello everyone

As many of you are waiting for an update, I would like to inform once more on the current situation (already announced in the discord).

Sleep-Most will certainly get more features and requests being fulfilled. However at this moment I'm recovering from a major back surgery. This will take a few months for me to recover.

When I feel better and don't have severe pain I will pick up the development again. Until then please enjoy this version of sleep-most and join our discord community where me and the rest of team or the community will be happy to help you with your questions.

https://discord.pseudonova.com/

Kind regards

Quinten
----------, Dec 17, 2022

Bugs Fixed

With the 5.1+ release, when the server is starting, all worlds (including lobbies) where time was frozen and sleep most not enabled would be forced back into starting to do the Time cycle again.

This update is highly recommended for any multi world servers using lobbies.
----------, Sep 15, 2022


Hello everyone

This will fix ur console being spammed. Apologies for the inconvenience! PS: we really need beta testers to avoid this kind of scenario's. Feel free to join our DC and join the beta program

If you are on 5.1.0 , please update to 5.1.1.
----------, Sep 1, 2022

Hello everyone

It's been a while again since the last update. However we have not been inactive. We have been actively working behind the scenes to provide you with great new features and ideas.

That being said, here is Sleepmost V5.1.0!





New features
  • Added flag to make animation run faster or slower depending on the amount of people sleeping in the world
  • Added flag to allow clearing the state of insomnia by drinking milk
  • Integrated with Gsit to trigger sleep with /lay (configurable using flag)
  • Added a debug mode to debug the sleep calculation. No more strugle understanding where the count is coming from!
  • Added option to extend night duration by x amount of seconds (1.13+ only)
  • Added tab completion on the '/sm resetflag' command

Bug fixes (fixed)
  • Messages were overwritten by the title message (and not being visible)
  • Progress bar value being higher then 100% resulting in a crash

Enhancements
  • Insomnia is now player based instead of world specific (allowing insomnia states for future)
  • Bstats updated to latest version
  • Default messages have been improved
----------, Aug 31, 2022

Fixed in this release

When using Sleep-most on a server below 1.15, an error will show up
(Plugin sleep-most v5.0.3 has failed to register events for class me.mrgeneralq.sleepmost.eventlisteners.TimeSkipEventListener because org/bukkit/event/world/TimeSkipEvent does not exist)

Solved in this release
Github Defect reference
:
https://github.com/mrgeneralq/sleep-most/issues/130
----------, Jun 28, 2022

Hello everyone

First of all my apologies on the previous update. I was forced to remove it as the information provided was invalid. It seems that due to my own configuration, the previous version is compatible up untill 1.18. The good news is that I also used this update to do some alternate fixes and improves with the help of Malin.

Compatibility with 1.19
This version is now officially compatible with 1.19

Default messages improved
Malin has provided a set of messages that are improved compared to the previous one. Thank you Malin!

/sm reload fixed + improved
The /sm reload command will not only reload the messages, it will also automatically generate the missing messages.

NOTE: if a message is added, this will always be added at the bottom of the list. There is nothing I can do to change this. You can always change the order of the messages to your wish and it will remain like that.

Thank you for believing in us. We hope to be and remain your #1 sleep enhancement plugin.

Kind regards

Quinten & Team Pseudonova
----------, Jun 16, 2022

Hello everyone

I can officially confirm that sleep-most is and remains compatible with 1.19 without being updated.

This is because we heavily value to stick with the out of the box Spigot API and avoid customization (NMS) completely.

Kind regards

Quinten
----------, Jun 12, 2022

Update Notes

BUG fixes
  • Subtitle for night/storm skipped not supporting placeholders
  • Version showing beta version (removed early access mode)
----------, May 17, 2022

Hello everyone

This is not a normal update. This update is a massive update to the message configuration of sleep most. As of now, nearly ALL messages are customizable!

Messages.yml file added (MAJOR UPDATE)
We created a brand new messages.yml file. In this file you can translate every message you can think of, or let your creativity go beyond and add a list of messages for which sleep-most will pick a random message of your list every time!

New flags added

- phantom-reset-audience: Define which audience require a reset or only the people who slept or everyone online?

- allow-kick: When this flag is enabled, the [kick] will appear next to the players left message which allows you to kick the player. This used to be visible only based on permission sleepmost.kick, now BOTH are required in order to see the message.


New commands added

- /sm getflag <flagName>
: get the value of a specified flag
- /sm resetflag <flagName> : reset an individual flag for a world


This might seem like a rather a small update, but I can assure you, the amount of time involved in this update went above and beyond. A big thank you to Malin and ShadowWolf for making this update possible in the active contribution of the messages!

If you have any further suggestions, feel free to join our discord, we will be happy to hear your ideas!

https://discord.pseudonova.com/

Kind regards

Team Pseudonova
----------, May 9, 2022

Hello everyone

When you are using MultiVerse, you really have to update to version 4.15.1. if you don't, your console will get spammed with errors on certain worlds not yet being loaded.

Some of the versioning logic I apply
whenever there is a 4.15.X update, it means that this is a hotfix containing bug fixes.

If there are new features, then the 4.X.X will be changed.


My apologies again for this, and hope you can still enjoy sleep-most.

Kind regards

Quinten
----------, Apr 4, 2022

Hotfixes (fixed)
  • When the world is not loaded at the start, it will throw Null Pointer Exceptions

Other bug fixes and enhancements (fixed)
  • Title animation slightly delayed to show clock animation
  • Phantoms are not resetting

Please let me know if you encounter any more bugs.


Contributors

Bug reported by: KizeN
Some fixes done by: YellowZaki
----------, Apr 4, 2022

Hello everyone

First of all, let me start of by thanking you all for 100k downloads! That's an incredible milestone and could never have been achieved without your ideas, contributions and more. Thank you so much!

Up for quite a nice new update, introducing the I nsomnia Update!

The insomnia update will add that extra bit of mechanics related to ... you guessed it ... insomnia! Here is what has been added:

Insomnia command
A new command /sm insomnia, will kick everyone from the bed in the current world and blocks all players from going to sleep.

Insomnia chance and mechanics
Thanks to the new insomnia-chance flag, you can now configure a percentage for how often a night is considered insomnia. This means that nobody will be able to go to sleep for that specific night.

/sm kick command
We added a command that allows you to kick others out of the bed

Insomnia clickable kick message (1.17+ only)
Whenever you have the permission to use /sm kick, you will now also see a "kick out" message next to the player that went to sleep. When you click it, it will kick that player out of the bed.
upload_2022-4-3_17-35-47.png

If you don't want this as an admin, revoke yourself access to sleepmost.kick.

That's it for the insomnia update, I hope you like it! Thank you all for the great support and see you on the next update!

Kind regards

Quinten
----------, Apr 3, 2022

Good day everyone

Today another update for sleep-most. Here are some many requested features from sleep-most and some additional changes by @Nozemi who has been a really active contributer lately for sleep-most.

Non sleeping flags
I got many requests for people who didnt like that the clock, titles and sounds would play for people who didn't sleep to skip the night. There , 3 new (non-sleeping) flags have been introduced.
  • non-sleeping-title (true/false)
  • non-sleeping-clock-animation (true/false)
  • non-sleeping-sound (true/false)
When any of these flags are enabled, that perticular flag will still apply for people who didn't sleep.

NOTE: The default value for these flags is now set to false

Sound flag
As of now, you can set the sound to play directly from within game using the flags. The sound names will be automatically proposed by the tab completion (see next update).

Exempt flying
A new flag has been added "exempt-flying". When this is set to true, all players who fly are not included in the sleep-calculation method.

Improved tab completion
The tab completion has been improved and will now propose more accurate completions.

[​IMG]


I know there have been requested more features, and these are coming. Know that every release contains a carefully picked list of features to make the releases as effecient as possible.

If you enjoy sleep-most, free to leave a rating. If you got the next level idea, join our discord and let us know! https://discord.pseudonova.com/

kind regards

Quinten
----------, Jan 15, 2022

Hello everyone

This update will fix alot of things regarding the bossbar. This update took a little longer then expected due to the amount of refactor that has been done in order to have all code being more consistent.

Change log:
  • fixed issue where bossbar remains visible after using /sleep command
  • fixed issue where bossbar shows placeholder instead of expected value
  • fixed issue that bossbar is showing wrong percentage
  • refactor of code for more consistent approach and better updates

Support needed? We are available on our discord and ready to assist!
https://discord.pseudonova.com/


Kind regards

Quinten
----------, Jan 5, 2022

This includes crucial fixes for the bossbar update.
----------, Dec 22, 2021

Hello everyone

There has been reported issue for using the bossbar with the /sm sleep command. I'm currently working on a hotfix and this will release ASAP.

UPDATE: Development has been completed, if there is a fix the version number will be 4.13.1!

Kind regards

Quinten
----------, Dec 22, 2021

Hello everyone

I'm happy to announce an update that many of you have been requesting for quite some time. Here is Sleep Most V4.13!

Bossbar + Flag

As of now, you can show a bossbar on top of the screen when a player goes to sleep. The bossbar has a configurable title that will show how many players are currently sleeping.

You can enable or disable the bossbar by using the "use-bossbar" flag

unknown (1).png

Exempt Creative/Spectator flag
Sometimes you want to exempt the spectator or creative players from the calculation. That is now possible! 2 new flags have been created to achieve exactly that:
  • exempt-creative
  • exempt-spectator
All credits for this implementation go to @Nozemi as he submitted a Pull request and implemented this feature.

Title and Sound configuration now in flags
As of now, the options to play a sound ro showing a title for skipping a night or storm have been moved to a flag. This allows you to setup different configuration/world.

The following flags have been added:
  • use-title-night-skipped
  • use-title-storm-skipped
  • use-sound-night-skipped
  • use-sound-storm-skipped
All of these are configurable individual so you can be very flexible.

DISCLAIMER: For this version there is not yet an option to make the sounds different/world.

IMPORTANT: This update contains changes to the config file. In order to have the latest config file, please remove the config file to see the new options such as bossbar or add them manually!

That was it for this update! If you have any suggestions to make this plugin even better, feel free to join our discord and let me know your idea, and who knows, your idea might be up in the next version!

Discord: https://discord.pseudonova.com/

Kind regards

Quinten
Developer Sleep-Most
----------, Dec 22, 2021

Hello everyone

It speaks for itself, this update makes 1.18.x fully compatible again with sleep most. Enjoy.

Kind regards

Quinten
----------, Dec 13, 2021

Hello everyone

I'm even more excited for this sleep most update the last update. This time we got many different updates and quick fixes that I believe you will like a lot.

So without further ado, here are the changes for Sleepmost v4.11.0!


Clock animation flag
With this brand new flag, you can enable a time ticking animation that indicates the time is getting skipped. Please note that this feature requires both Titles to be supported AND night cycle animation has to be enabled for your world.

[​IMG]

Pagination for the flags
Sleep most is getting more updates, so are the number of flags we offer. Therefore, we added a nice pagination system to browse through the different pages of the flags.

[​IMG]

FLAG: allow-sleep-cmd
This new flag allows you to configure in which worlds can use the /sleep command. Continue reading for important changes related to this!

Sleep command changed to /sm sleep
As it has been reported that the /sleep command was in conflict with another plugin, we decided to instead of allowing configuration of aliases, moved the /sleep command to /sm sleep instead. The permission remains the same.

New placeholder: remaining players
We added a new placeholder for both PlaceholderAPI and sleep most messages for going to sleep. The "remaining" placeholder will represent the numeric value of the number of players still required to sleep.

Sleepmost: %remaining%
PlaceholderAPI: %sleepmost_remaining_count%


Bugs fixed
  • Heal and feed not working when sleep animation is enabled
  • General improvements

At last, I would like to announce that we are also currently moving the existing documentation to the Wiki section of the GitHub page.


That is everything for this update. Remember that sleep most remains growing thanks to your feedback and ideas. I take into consideration every idea provided by anyone.



If you need help with anything, do not hesitate to join our discord server.

Kind regards

Quinten
a.k.a MrGeneralQ
----------, Oct 21, 2021

Hello everyone

I am very sorry for the several releases in a short period. This version is however an absolute MAJOR update.

FIXED: when running sleepmost without placeholder API installed, it would simply crash one of the core classes in sleep most and crash the entire plugin.

We are very sorry if you installed this broken version!

Kind regards

Quinten
----------, Oct 5, 2021

Fixed a bug where it would throw an error when PlaceholderAPI is not installed
----------, Oct 4, 2021

Good afternoon everyone

It's been a while but, but here is the new release of sleep-most. I want to thank you all for the great support and dedicated use of our plugin. Your support makes this all possible. Here is the list of new features:


COMMAND: /sm bed command
Use this command to quickly teleport to your bed spawn-location

COMMAND: /sm setops
Because sleep-most is often used to configure one player sleep, we now created a helper command that allows you with one command, to configure sleep most for one player sleep. No more need to set the flags yourself.

FLAG: skip-storm
This new flag allows you to configure yourself, whether skipping the night will also reset the storm. By default, this will be enabled.
you can use /sm setflag skip-storm <true|false>

Placeholder API Expansion
As of now, when sleep-most is installed, you will automatically have a lot of placeholders available representing different values from sleep-most.

This can be used by any plugin supporting placeholder API.

You can use %sleepmost_<flagname>_flag% to show any flag of that specific world.

There are plenty more placeholders available which you will shortly find on our documentation.

NOTE: when sleep most is disabled in the world, the placeholders will not work.
upload_2021-10-3_17-49-29.png

Fixes:
  • When using 1.15 or below, an error might be visible when night cycle animation is enabled.
  • General bug fixes

I hope you are excited about this update. I hope you also forgive me for being late with this update, as due to unforeseen circumstances, I'm now the only developer left.

As always feel free to leave a rating or hang around with us on our discord server.

Kind regards

Quinten
----------, Oct 3, 2021

HOTFIX Heal Flag

This is a simple HOTFIX where 1.8 was causing an error when using the heal flag, it would throw an error.

This hotfix will fix that.

Please note that we only provide support for the latest version. Please do NOT skip this update.

Feel free to take a look at this GitHub change to see the differences.
https://github.com/mrgeneralq/sleep-most/commit/49bd4564bf7e7ef45419db22837be90c82d25001

Kind regards

Team Pseudonova
----------, Jun 4, 2021

Good day everyone

It has been a very long time since our last update, but here it finally is, sleep most v4.9 has officially been released.

This update took a bit longer than expected due to the implementation and refactor of our update service. We noticed an issue that would have been broken in future releases and no longer notifying people of newer updates.

But without further ado, here is what is new!

New Reset command
As of now, you can reset your world flag properties back to their original state by using the /sm reset command. Be aware, resetting your flag values is a permanent operation and cannot be undone!

New Exempt Below Y flag
The exempt-below-y flag is a new flag that has a numeric value. If set, it will exempt all players from required to sleep at or below the given Y coord. Like this you can for example exempt people in the mines.

New Version command
With the improved version command, you can now keep track of your version compared to the latest version.

FIXED
We had an issue where the prevent-sleep flag, was malfunctioning and causing the time to always skip. This has been resolved.

Massive update service refactor
Behind the screens and as visible in the GitHub repo, we added test scripts and rewrote the entire class to have a failproof update checker.
In case there are any issues with this, please let us know.

As always, we try to improve our product more and more, and this can only be done by your support and feedback.

Feel free to join our discord, we are happy to assist!
https://discord.pseudonova.com/

Kind regards

Team Pseudonova
----------, May 7, 2021

Good day everyone

Since our Major update 4.8, we did our best to keep everything working as expected. However, we got informed by one of our loyal customers that empty config messages were visible again if they were empty.

This is something we have missed during our update. We took immediate action and released a hotfix ASAP.

Fixed in this version
  • Config messages can now be cleared again to not print them
  • Improved message engine to better control messages being sent out


We always take our feedback very seriously as well as our support quality. Feel free to join our community to suggest any new features or plugins you would like.

https://discord.pseudonova.com/

Kind regards

Team Pseudonova
----------, Jan 24, 2021

Good day everyone

Since our Major update 4.8, we did our best to keep everything working as expected. However we got informed by one of our loyal customers that empty config messages were visible again if they were empty.

This is something we have missed during our update. We took immediate action and released a hotfix ASAP.

Fixed in this version
  • Config messages can now be cleared again to not print them
  • Improved message engine to better control messages being sent out


We always take ur feedback very serious as well as our support quality. Feel free to join our community to suggest any new features or plugins you would like.

https://discord.pseudonova.com/

Kind regards

Team Pseudonova
----------, Jan 24, 2021

Good day everyone

Before we dive into all the updates, I want you to know that our excitement for this release is so high as we have spend literally days and days for this.

This update includes so many new features, fixes and improvements. We basically refactored the entire plugin which allows us to do so much more then we could before.

So without further a do, here is the list of new features.

Added Command Block support
As of now, most commands can be executed from command blocks.

Added a new sleep command
We introduced a command "/sleep" which allows the player to sleep without actually being in the bed. This command requires the player to have the sleepmost.sleep permission.

Added a skip-delay flag
By using the skip-delay flag, you can configure how many seconds players are required to stay in the beds before skipping. And yes we made this work also for the animation. If the animation is enabled, it would wait the specified seconds before starting the animation.

Added a heal flag
When enabled, it will heal all players that skipped the night

Added a feed flag
When enabled, it will feed all players that skipped the night

Improved config validator
We improved a conflict check, when a flag is missing in the config, it will not crash and use a default value to prevent crashes. When the server is restarting, it will add the missing flags.

improved sleep mechanics
Thanks to our improved sleep mechanics, we can keep track of everyone who was involved into skipping the night and possibly implement future flags that interact with these players.

Fixes (fixed)
  • not all config were translated properly
  • improved mechanics to retrieve players
  • night time animation sometimes keep running forever

We hope you enjoy these updates. Our apologies to the people who requested a feature and it hasn't been implemented yet. We keep track of all your requests and carefully validate the added value for other servers.

We hope you can leave us a rating if you enjoy sleep most and our dedicated support level on our discord: https://discord.pseudonova.com/

Thank you for choosing sleep most, and stay tuned for more updates!

Regards

Team Pseudonova
----------, Jan 20, 2021

Bug fixes
  • A bug has been reported by MrShadow where the title %dplayer% placeholder was not functioning. As a work around %dplayer could be used instead. This is now no longer required and fixed in this hotfix.
You can check your current version by typing /sm version.

Not seeing this update in ur auto updater? Don't worry, this is normal. Our updater is using a spigot API which only shows latest versions after some time.

Kind regards

Team Pseudonova
----------, Dec 28, 2020

Good evening everyone

It's been long time ago I posted an update on the plugin.But I'm happy to announce that we officially release sleep most 4.7.0!

The reason for the inactivity is due to inreal difficulties which are now sorted. I'm happy to announce that this is just the start of again quality content being delivered to you.

A special thank you to 2 others:
  • Mazgani who actively helped in the development of this version
  • RainbowDashLab on github who contributed the sleep most project with some major improvements and converting to a maven supported project. You are hereby also mentioned in the contributers of the plugin.

So what is new?

HEX color support
You can now use HEX color codes for coloring your messages. Be aware, this is only possible as of 1.16. Take note that the green color which is not an available chatcolor by default.

Simply use any hex decimal before your message to use a custom HEX color code.

night skipped hex color.png

New %dplayer% placeholder
As requested we added a new placeholder that takes the entire display name of the user instead. use %dplayer% to get the full display name such as a nickname or prefix.


Behind the screen updates
Code changes took place to drastically improve certain aspects of the code and have a better way to define what is possibe for which minecraft version.


That was it for this update. Feel free to leave ur feedback as well as suggestions in our official discord channel. We are always happy to help you further.

https://discord.pseudonova.com/

Kind regards

Team Pseudonova
----------, Dec 28, 2020

Good morning everyone

As you might have noticed, there are some situations where the night got actually skipped without any messages or notifications from sleep most even when there is not enough players asleep.

I am happy to say that after some time, this issue is finally confirmed fixed in this version. In theory this had nothing to do with sleep most but due to new mechanics in combination with hooking into essentials.

Also it's been a while since we introduced new features. If you have any ideas for nice new features, please let me know as we are still very open for improvements and other feedback.

Kind regards

Quinten
----------, Sep 12, 2020

Good day everyone

I just got a message from one of our loyal customers who reported an issue with the following error.

[​IMG]

This error is caused by specifying an api and having that plugin run on a server lower then the specified version.

For sleep most, that is the case. If you are running a server below 1.16, the plugin will crash with the same error. This is now fixed.

Please update sleep most, this is an important update!

Kind regards

Quinten
----------, Aug 31, 2020

Good day everyone

This update contains a small enhancement which we considered a priority as many people thought it was not possible to disable the new titles and sound feature. I believe I owe you an explanation on why that is not true and what this enhancement includes to make life easier for you.

The way the spigot configuration works is that it never adds new config options automatically to the config. Therefore, whenever we are updating our config with new features, these are not automatically added and therefore are not visible.

However in the code itself, we can configure what will be the default value if the config section is not present. This prevents the plugin from crashing after updating the existing config.

That brings me to the point, the new features that we added recently were in the code enabled by default. So even if your config did not contain the options (as you just updated the jar only) it was actually reading the default value to enable it.

That brings us to the enhancement

As of now, and already for the titles and sounds, we will disable new features by default. So whenever a new update will come, unless it's a major important update, things will still function exactly the way you and your players were used to.

Whenever you would like to use any of the new features, you could do that my simply updating your config.yml with the new sections or by deleting your config.yml and restarting the server.

By this decision we hope to increase your user experience for both you and your players.

For any questions, feel free to join our discord.
https://discord.pseudonova.com/

Kind regards,

Team Pseudonova
----------, Aug 30, 2020

Good afternoon everyone

It's time for yet another big update of sleep most with new features included. Fasten your seat-belts, here we go!

Calculation Method flag

A new flag has been added to not just calculate based on percentage required, but also players required! By default, the percentage required will still be used.

If you want a certain amount of players to be alseep to skip the night, you can! use /sm setflag calculation-method players to change the calculation to player count instead of percentage.

After that, configure the amount of players by typing
/sm setflag players-required <amount> on how many players need to be asleep.


Titles

Make titles appear to show when the night or storm got skipped! You can configure or disable this completely in the config.

Please note that if you don't see this config option, you need to remove the config or manually add the properties. By default, they will show.
night skipped-min.png storm skipped-min.png


Sounds

Configure different sounds to play when a night or storm got skipped. This completely configurable and can also be disabled.

Bug fixes
  • Statistic Error showing for lower versions when skipping the night.

Remember that many more features will be added. If you enjoy the plugin feel free to leave a rating as this is really a motivator to stay adding new features.


Until the next major release!

Kind regards

Quinten
----------, Aug 24, 2020

Good afternoon everyone

As mentioned earlier, during the implementation of a new feature, something else broke the phantom feature because of the IDE correcting it.

This is now fixed in this version. We are sorry for this inconvenience!

Kind regards

Quinten
Team Pseudonova
----------, Aug 18, 2020

Good day everyone

First of all apologies for the follow up release almost right after earlier release. The update checker has now been adapted to only give the message if you are a version behind, not when you are ahead.

This will fix the issue the plugin false alerting a new update when on latest version

Kind regards

Quinten
----------, Aug 15, 2020

Good day everyone

This update includes a few important fixes and improvements on how the update checker works.

IMPROVED UPDATE CHECKER
Update checker is now checking async not resulting your server to hang after someone joins the world.

When the server is reloaded/restarted, the plugin will retrieve the latest version once.

When someone joins the server, it will retrieve the cached version so server calls are not required. Sleep most will retrieve the latest version only once every 2 hours or after reloading or restarting the server.

There is also a new config option added to disable the update checker.
WARNING: support is only given to the latest version!

PACKAGE RECOMPILE
As of now, sleep-most will go through with the package
me.mrgeneralq.sleepmost instead of me.qintinator.sleepmost
IMPORTANT: This means you will have to completely remove the old sleep most before updating!


BUG FIXES

  1. Server hangs when player joins the world
  2. Storm skipped not shown when nightcycle animation flag enabled

That was it for this update. Feel free to join our discord and let us know what you would like next!

https://discord.pseudonova.com/

Kind regards

Quinten
----------, Aug 15, 2020

Hello everyone

A small update that has a huge impact. This is actually the build making sleep most compatible for all versions > 1.8 and < 1.13 compatible.

All other versions higher then 1.13 will of course remain working.

Kind regards

Quinten
----------, Jul 28, 2020

Good morning everyone

It has been a while, but if you are in our discord, you know the reason why there has been a delay. But I'm happy to announce that sleep most 4.3.0 is now officially released.

IMPORTANT: this update is making changes to the config.yml format. It might be required to delete the config.yml before updating.

So what does this update include?

AFK DETECTION ADDED
A new flag has been added "use-afk" to define whether afk players should be used in the calculation or not.

IMPORTANT: This will requires essentials + placeholder API installed. Please read the full guide here: click here to read the guide

DISABLED WORLDS NO LONGER REMOVED
Whenever a world is disabled, they are no longer removed from the config file. Instead, the property "enabled" will be set to false.

RECOMPILED FOR 1.16.1
The plugin has been recompiled with the new 1.16.1 release to guarantee compatibility

DOCS INTRODUCED
It was about time, but I decided to add a brand new docs for sleep most. This docs will be the reference point for all your questions in terms of configuring.

The docs can be found here: Click here to read the docs

I thank you all for being so patient with the updates, and I am still open for feedback.

Up to the next release!


Kind regards

Quinten
Developer Sleep Most
----------, Jul 1, 2020

Good day everyone

This update is a hotfix for 1.8. It was causing errors as there were still some enumerables used that were only as of 1.13.

Please update to this version if you are below version 1.13.

Kind regards,

Mr Q
----------, Apr 8, 2020

Good day everyone

This update is nothing more then an update to increase sleep most for compatibility for 1.8 and higher!

Please note that the stable versions are only confirmed as of 1.13 -> 1.15.

If you need any help, feel free to join our discord by clicking the button below.

discord support.png
----------, Apr 8, 2020

Good day everyone

Another release for sleep most. First of all, let me say we already breached the 10 000 milestone, we crossed the 11 000! That is amazing! Thank you all for this amazing support.

Here are today's updates for sleep most



INFO COMMAND

You can a new command /bm info to show a list of all the flags and their values set on your world.

flaglist.png


AUTO TAB COMPLETE

Use the new smart auto tab completer that will assist you to populate possible options.

upload_2020-3-29_5-39-55.png

upload_2020-3-29_5-40-23.png


VERSION COMMAND
Unsure what version you are running? Not anymore.
Use the /sleepmost version command you know what version you are running.


Bugs fixed in this version
  • Animation not always triggering if enabled
  • Players can sleep twice after animation started


Your feedback is very valuable to us. Please let us know your feedback and feel free to join our discord community. We will be happy to listen to you.

discord support.png


[​IMG]
----------, Mar 29, 2020

Fixes included in this update
  • Whenever a flag doesn't exist, it will result in an error *fixed

In case you encounter any issues, please reach out to our discord.

discord support.png
----------, Mar 22, 2020

Good evening

A small bug discovered by one of our users, the prefix was causing the prefix to be left with a white space if removed.

This is now fixed.

This update is not required but still recommended.
----------, Mar 17, 2020

Good day all

I'm happy to say that we reached almost 1000 servers running the plugin at once. That is amazing, big thank you to you all! And you have been waiting for it, sleep-most V4!

important
If you were using sleep-most before, chances are big you WILL encounter an error! In that case, delete your old config file and reload your server.


What has been added?

Flags


exempt flag

Configure whether your world should exempt certain users from the calculation or not. If set to true, people with sleepmost.exempt will not be counted in the algorithm.

prevent-phantom flag
This flag prevents phantoms from spawning in your world

nightcycle-animation flag
When this flag is set to true, it won't turn back to daytime instantly. Instead you will see that the world time is speeding up a lot until daytime is reached.

prevent-sleep flag
When this flag is set to true, players won't be able to sleep in your world

storm-sleep flag
When this flag is set to false, players won't be able to sleep during thunderstorms


What has been fixed?
  • Improved messages
  • Default sleep percentage is 50%
  • Phantom count is now reset back to 1 after the night got skipped

That is it for this release! Remember, I'm actively listening to your requests and feedback. Join our discord community if you need any help or to request your own features.

http://mrgeneralq.net/discord

I hope to see u there!

MrGeneralQ
Team Pseudonova


----------, Mar 15, 2020

Good evening everyone

As requested a new feature to exempt players from being required to sleep is now added to the plugin.

Also, the latest release had a bug that had to be fixed. Here re the release notes for this version:

#1 exempt permission added
If you have the sleepmost.exempt you will no longer be counted as an online player during the sleep. If you go to sleep with the permission, it will still count.

#2 FIX: double prefix
Some messages were showing the prefix twice. This is now resolved.

#3 FIX: update checker moved to different thread
Another update check that took place upon joining the server has now moved to a different thread.

#4 Improved update message
Whenever your version on the server is different then the plugin version, when the users with permission "sleepmost.notify" join the server, they will get a message that an update is available. The message will also indicate that in order to keep on getting support, you need the latest version.


That's it for this release! Stay tuned for more updates!


EXTRA:

I recently released my first premium plugin. Bloodmoon Advanced. Feel free to check it out!

https://www.spigotmc.org/resources/...d-custom-mobs-items-life-cycles-events.75095/
----------, Feb 17, 2020

Good day everyone

Another user request has been fulfilled. A request was raised to hide certain messages. So here is a very small list of updates in this feature.

#1 hide your messages
If you want some messages not being displayed, you can simply leave the config message entry empty. The plugin will detect that it is empty and will no longer print a message. This also means there will be no empty lines.

#2 update checker moved to different thread
If you encounter issues while starting your server, that could very well be because of a small mistake at sleep-most. The plugin was checking for updates on the main thread which results in your server waiting for sleep-most to find a newer version. This could sometimes not respond and take a very long time before proceeding.

#3 improved messages
A bit more the technical side of the plugin, but we rebuild the message engine and I implemented my own message service. Therefore I have more control over the messages being sent out. You will now also see the sleep-most prefix for other messages such as the no permission message.

As always, I'm actively listening to your feedback and all ratings on the plugin are much appreciated!.

Until the next time update!

Any questions? Feel free to join our discord!
http://mrgeneralq.net/discord

EXTRA: I've been busy for a long time with my first Premium plugin. For those who are interested and are willing to spend some money. You may check it out here:
https://www.spigotmc.org/resources/...d-custom-mobs-items-life-cycles-events.75095/

This was a several month project but worth taking a look!
----------, Feb 16, 2020

What has been added

  • Whenever a player with the permission "sleepmost.alerts" joins, that player will be notified if there is a newer version available
  • small improvements to the code
----------, Jan 9, 2020

Bstats integrated

Good evening. This 3.3.1 update contains the bStats integration. By adding bstats, I can keep track of the activity of my plugin.

All the data is completely anonymous and can still be disabled in the bStats/config.yml
----------, Jan 6, 2020

What has been changed?

As requested by @Darrionat , a better prefix was proposed.
The prefix is still configurable by anything you want.

Old
upload_2020-1-4_19-28-47.png

New
upload_2020-1-4_19-29-32.png
----------, Jan 4, 2020

Good evening everyone

I'm very happy to announce already the 2nd big update in a short period. Introducing Sleepmost 3.2.1 - Commands & flags !

What does this update include?
  • Configure all the settings using commands only
  • New feature called "flags" has been added
  • Permissions for all commands are in place
  • Notify admins if sleep-most is not enabled in the world they are teleported to

[​IMG]

More information about flags

So what are flags? Flags are properties that can be set for each world. all of the flags will be set using the /sm setflag <flagName> <flagValue> command.

Although there are only 2 flags available right now, there will be much more flags added with new releases.

All information can be found on the homepage.

Discord support hub

I started a discord server where I will take care of all your requests or questions. Feel free to join this community and reach out to me.

Click here to join the support hub discord server.

Best regards,

Mr Q
----------, Dec 21, 2019

Good day everyone

Thanks to a recent bug report by @Stormeyes , a bug was discovered. This bug is impacting whenever your percentage required is lower or equal to 0.50%.

Whenever you are NOT alone on the server, it would give a message that 1/1 players went to sleep, but nothing happens.

This is now fixed in this hotfix. Please update your version to this latest version.

What's next?

Coming up in the following release you can expect the sleep-most command update. Config files are nice, but they can be tricky to configure. Therefore I decided to make sleep-most fully configurable by using commands only. No need anymore for using the config file.

This will be another big update which would be sleep-most 3.2.1

Thank you all for providing me all the feedback and ratings. This really keeps me motivated on improving this project.

Best regards,

Mr Q
----------, Dec 19, 2019

Good day everyone

As requested long time ago, people have been asking for an anti spam feature for the sleep event.

It took a long while and a lot of work as a completely reworked the entire plugin for even more features and making it easier to expand with new features.

Therefore, I'm happy to announce that after long waiting, that update is fully done. This is Sleepmost 3.1.1!

New features:

  • Anti spam (configure amount of seconds for cooling down the "went to sleep" message
  • The plugin supports now multiple worlds.

Multi world feature

In the config, configure for each world the following properties:

  • percentage-required: 0.70 (requires 70% of all the people in that world only to sleep in order to skip the night or the storm
  • mob-no-target: when this is true (true by default) mobs will no longer attack you when you are in the bed. This can also be configured for each world

So I hope you all are as exited as I am about this update. Thanks to everyone who had been patiently waiting for the update.

This is currently t ested and build for 1.14.4. It might work for versions > 1.14.

IMPORTANT: If you already have sleep most installed. You will a new config file. Follow the steps below in that exact order to get the new config

  1. Turn off server (this is a must)
  2. delete the config.yml in the sleep most folder
  3. start your server
  4. change the config
  5. start/reload your server again
  6. Done! Enjoy!



Best regards,


Mr Q
----------, Dec 16, 2019

Good day everyone

I'm very happy to anounce that Weather update has been arrived!
This has been requested multiple times but this time, I spent alot of time reworking my plugin so everyone would be supprised of the features.

So without further a do, here is the list of changes

New features
  • The voting also works for thunder storms
  • The config file contains 2 different messages, one for skipping nights
  • The plugin only consider players for the voting that are in the main world
IMPORTANT: if you are updating sleepmost to this version, please remove your config file to retrieve the new config options first.

Fixes
  • Sleeping is only possible as of 12541 tickets in the world instead of 12300. (prevent spamming)

What's next?
  • Voting for each world separately (multiworld support)



I hope you all are equally excited as I currently am. Any feedback on my work is much appreciated and so are you ratings.

Untill the next update!

Regards,

MrQ
----------, May 14, 2019

1.14 fixes and player message

I'm proud to announce that the 1.14 version has arrived for sleep-most.
I've been actively listening to your feedback and the following changes have been made:

What's new?
  • New message placeholder %player%. This can be used to print the name of the player going to sleep
  • 1.14 support
Fixes
  • You can now only sleep at night
  • Sleep only affects sleep-most in case you are in the main world

For any other ideas or requests, let me know. I actively listen to feedback and work accordingly.

Regards,

MrQ
----------, May 10, 2019

Resource Information
Author:
----------
Total Downloads: 334,687
First Release: Sep 6, 2018
Last Update: Aug 11, 2024
Category: ---------------
All-Time Rating:
106 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings