Harbor - A Sleep Enhancement Plugin!
1.6.3Harbor is a plugin that redefines sleep within your Spigot server!
1.6.3latestA few bug fixes!Nov 15, 2020 Hello there! I'm glad to see that you all are enjoying the Harbor 1.6.2 update. Since the initial release of Harbor 1.6, there have been a handful of edge-case scenario bugs present in Harbor. This release of Harbor patches all known bugs that were reported over on the GitHub issues page. Most notable of these issues was the thunderstorm loop bug which would occur if players continued sleeping after night was accelerated during a thunderstorm. This issue has now been fixed. Additionally, Harbor no longer counts Player#isSleepingIgnored as an exclusion, which should help prevent conflicts with other misconfigured plugins. I've also removed the configuration version checker that was introduced in Harbor 1.6.2 as that is now unnecessary. There are no additional configuration changes in this release.1.6.2The long-awaited update!Sep 29, 2020 Hey there! It's been a while since the last Harbor release. I have spent an absolute ton of time improving my Java development skills and a lot of that has transferred to this Harbor release! This is one of the largest updates feature-wise that Harbor has had to date. IMPORTANT: The old (1.6.1 and lower) configuration WILL NOT WORK with Harbor 1.6.2. This release of Harbor COMPLETELY revamps the configuration. Please delete your old configuration file before upgrading. Before asking for support, check to make sure you reset your configuration :> Changelog: • Rewrote a majority of the codebase to optimize for performance. Changes include minimizing static variable use throughout the codebase and using FastUtil type-specific HashMaps where possible for the best performance. • Made the world checker task asynchronous. • Refactored the configuration file, making options more clear and easily accessible. • Added bossbar messages that display when players are in bed with progress until night skip. • Re-implemented chat messages for bed entry/leave. • Added a chat message cooldown for bed entry/leave, configurable in the config. • Added a [displayname] placeholder to chat messages. • Added an option to exclude vanished players from Harbor's counts. • Players with isSleepingIgnored are now ignored from Harbor's counts. • Added /forceskip to allow players to forcibly skip the night in their world if they have the "harbor.forceskip" permission node. • Added an instant night skip toggle, which allows the skip animation to be bypassed (mimics Harbor 1.5 and lower behavior). • Added proportional acceleration as a configuration option. Enabling this speeds up the night skip rate based on the amount of players sleeping out of the online player count ( https://github.com/nkomarn/Harbor/issues/47). • Re-implemented lightweight fallback AFK kick system in case your server doesn't use Essentials. • Fixed night skip loops being triggered when weather and thunder clearing was disabled but night was skipped during a thunderstorm. • Added a world blacklist and whitelist. • Made weather and thunder toggles independent. • The time in ticks that Harbor considers as day time is now configurable. • Added a configurable night skip time tick change rate. • Added a warning system in case Harbor 1.6.2 is ran with the 1.6.1 configuration. • Removed auto updater.1.6.1⚡ Fix TPS loss on player join (oop)Nov 14, 2019 Hey there! It's not been long since the previous Harbor update, but there's already a bug (of course, lol). Anyways, this one is kind of important. If you have the auto update notifier enabled, your server will experience moderate to severe player join lag with Harbor. This update will fix that! Make sure to update to keep your 1.14 performance as good as it can be (1.14 is pretty bad as is, so anything helps). If you haven't updated to Harbor 1.6 yet, you definitely should! Keep in mind, 1.6 is 1.14+ only due to an API feature that Harbor now relies on. If you need 1.8-1.14.4 support, you can use Harbor 1.5.3. Thank you for your support!1.6The update that changed everything!Nov 9, 2019 Hey everyone! I am proud to announce, after too much wait, Harbor 1.6! Finally, a Harbor release that is hopefully not going to have game breaking bugs (yay!) You can go ahead and look in the changelog section for the details, but in short- the whole plugin is now based on a timer system, which means a lot of older bugs with inaccurate player sleep counts and broken multi-world support are now resolved! I hope that this new release will be performant and lightweight! Thank you for all of your support1.5.3Hotfixes!Jul 24, 2019 Hey there, super quick update! This version introduces some important fixes, mainly fixing dependencies in the autoupdater and a single nullpointerexception bug. You may notice that the plugin is now quite a lot larger (256KB up from 4KB) and that is a result of me including commons-io (a dependency required for the autoupdater) into the final Harbor JAR. I plan to slim down the dependencies in later versions, but for now this will do! I swear more cool new features will come in later versions!1.5.2⏰ Timer fixes!Jul 17, 2019 I was notified that actionbar hasn't been working since 1.5, and I found the issue today! This update is fairly small, but it does fix the actionbar and timer system once and for all! You can easily auto-update to this release from 1.5.1 by running /harbor update! Enjoy1.5.1Super quick hotfixes! 1.14.3 support!Jul 17, 2019 Hey ya'll, it's been AGES since the last update. When I initially released version 1.5 of Harbor, I was planning to create a more functional and stable version of Harbor. However, things went wrong quickly - bugs such as the night skip glitch and updater issue were just a handful. That being said, this update does not aim to add any new features, but rather serve as a stable ground for Harbor updates in the future. I suggest updating to this update immediately for those running on 1.5! More feature packed updates will come in the future - Mykyta (TechToolbox)1.5Phew, this is a big one...May 30, 2019 Hey there! I've been gone for quite a while (as far as updates go). I've been very busy working on the next generation of Harbor (man, that sounds too fancy for just a Spigot plugin)! You all have been waiting for this plugin since I promised it back in November-ish of 2018, and it has been a while since then. But here I am, finally announcing the release of Harbor 1.5! First off, thank you ALL for over 3,000 downloads! Quite cool that so many people have downloaded Harbor! I've been working long and hard, trying to make sure that everything in this new version is as perfect as it can be. So, you may wonder, what is it that I have been working on- and most importantly- WHY DID IT TAKE SO LONG!??!!??!? Version 1.5 - Recoded the WHOLE plugin, this time making a nice Util class and a bunch of other stuff to ensure smooth operation! - Added complete 1.13.2 - 1.14.2 support! - Added a feature to disable Phantom spawning (those darn things). - Made it possible to exclude players in creative and spectator mode. - Added an auto-updater! It'll notify you when a new update it out and allow you to automatically download and install the update! - Created an AFK player detection system, which will exclude AFK players from the needed count. - Added title messages in the morning, night, and when going to sleep. - Added a sleep delay that will make skipping the night less jarring. - Implemented a "/sleeping" command which will display a GUI with currently sleeping players in your world! - Finally fixed all math bugs. I think. - Changed the rounding used for calculating needed players from floor to ceil. - Made the repeated task less intensive on the server through the use of lambdas. - Added a configuration version check that will warn you if your configuration is out of date! - Implemented messages that display when a player leaves their bed. - And many, many more optimizations! So yeah, I hope this update was worth the wait! I'd also like to thank all of the people who helped alpha- and beta- test Harbor 1.5 in it's early stages! I was really worried that things would be broken when I finally decided to release it (and some things are probably somehow broken still), but the help was greatly appreciated! Either way, I'll see you in the next update Oh and as always, since this is a complete recode of the plugin, there are bound to be bugs/errors/issues. Report any of those types of things over at https://github.com/nkomarn/Harbor/issues1.4.4OP bypass fix!Jan 21, 2019 Yeah, I know, I know. Everyone has been telling me about this all over the place. But today I decided to fix it . Now, the bypass function can be properly disabled in config! Now you can all sleep at night! Also, several people have reported an issue where the plugin spams the console. I haven't been able to reproduce the issue, so hopefully it doesn't happen too often :/1.4.3A Hotfix for an.. erm... Hotfix?Dec 18, 2018 Hey everyone, once again! I recently discovered, with the help of cjucoder on GitHub, that there is a glaring issue with the latest hotfix! Basically, when an operator would get in bed, the plugin would pretty much just kill itself.. so that's nice I suppose. Anyways, sorry for the back to back updates but I just want to make sure that everything it smooth! Also, thanks for 500+ downloads! You guys rock!1.4.2Hotfix for 1.13.2!Dec 18, 2018 Hey there, it's been a while! Don't worry, I have heard all of your complaints about Harbor's compatibility issues with 1.13.2. Unfortunately, some core things were changed in Spigot that altered the way bed entry works. Good news is, I got it to work again! Thanks to Synt3x over at the GitHub for helping come up with a fix! Just a quick heads up: I am planning to add a lot of new features to Harbor that should make it the only sleep plugin you'll ever need. If you have any suggestions, feel free to voice them in the discussion section. Also, thanks for 500 downloads! You guys rock.1.4Major improvements!Oct 5, 2018 Howdy! It's been ages since I last posted a much needed update. I've gotten many messages about the bugs present in version 1.3.2 (and earlier), prompting for a major overhaul! But first off, thank you all for 200 downloads! Anyways, in version 1.4, I've been working on this amazing selection of updates: - Recoded and optimized the whole plugin! - Added multi world support! - Fixed player bypass, now fully excluding players with permission "harbor.bypass" from counts of all types! - Made it so that weather clears when night is skipped! - Added a lot more messages to the configuration. - Literally remade the WHOLE configuration! - Added a command allowing for reloading the configuration ("/harbor reload")! - Implemented a debug option that prints extra messages to console for debugging purposes. - Added an action bar placeholder that displays the amount of players that are needed for the night to skip. - Added a feature that knocks players out of bed to prevent plugin glitches. - Added configuration version checking (old configurations will be incompatible) - Fixed the negative player count issue - Fixed some minor math bugs to make the plugin round better. So yeah, hope you guys enjoy those updates. Let me know if there are any bugs over at https://github.com/nkomarn/Harbor/issues as I'm sure there are going to be many after such a major recode of the plugin. Now, let me tell you why I redid everything... So, I was trying to link my Eclipse to my GitHub repo. I created a local repo and then linked it to the GitHub one. Then, I decided to remove the GitHub repo link and it ended up deleting ALL of my local files for Harbor, leaving me with just a JAR file of my previous code that I could decompile to salvage some code. But yeah... that's that. Anyways, I'm out for now, and I'll see you next time1.3.2Fixes and Improvements!Sep 17, 2018 Ahoy, matey! I'm back with 2 quick fixes/addition to Harbor, making it a better plugin (hopefully). This week, I did these things: - Added permission "harbor.bypass" which will allow players with to be excluded from the sleep count. - Made it so that putting the messages as blank in config won't print blank lines in chat. So yeah, that's that. Thanks to Tomitytom for suggesting the updates for this version! If any of you want a feature added, just drop me a quick message and I'll work on making it a reality. Anyways, I'll see you all later!1.3.1Super small bugfix update: Night skipping with one player online!Sep 2, 2018 Hey there. As pointed out in the discussion section, the night skipping feature was broken in version 1.12.2 and below. Thus, I have now fixed it! Here's what I've done: - Prevented night skipping if only one player is online. - Fixed night skipping on server versions 1.12.2 and below (night would skip no matter what even if one player got into bed). Big thanks to Ask3r and Silver750 for bringing this issue to my attention. I only tested version 1.3 of Harbor on a 1.13 server, not realizing that 1.12.2 and below had issues fetching the float from the configuration. Either way, have a nice week, I'll be back soon with another feature update! Also, thank you for 100 downloads! This is my biggest plugin so far, and I'm glad you guys are enjoying it!1.3Change the amount of players needed to skip the night!Aug 30, 2018 Hey there! I've been doing some more work on Harbor, making it better.. This weeks update is a pretty small yet important one. Here's what I've done: - You can now change the amount of players that need to be sleeping to skip the night! - Fixed the action bar player counter (previously would get stuck at 1 player). So yeah, that's that. I realized the action bar counter was broken in the last update, so I fixed that immediately. I also added a new feature, so thanks to Ask3r for suggesting it! Anyways, that's about it for now. Thank you guys for the support, we're nearing in on 100 downloads (that's crazy)!1.2Support for 1.8 - 1.13.1!Aug 26, 2018 Ahoy, once again! I spent some time making sure that Harbor will run on every single server version you could possibly want nowadays! On top of that, it's now also compatible with the latest 1.13.1 release! Oh, I also did this other stuff: - Harbor now supports all versions from 1.8 to 1.13.1! - The default sleeping check time has been lowered to 1 seconds in the config. - Fixed a bug where the amount of players sleeping would go below zero if the server was reloaded while players were in bed. waves I'm off to keep sailing those oceans.1.1Skip night if more than half of players are sleeping!Aug 26, 2018 Ahoy, matey! I am back to bring an update to Harbor, this time featuring some new.. well, features. Here's what's changed: - The night can now be skipped if more than half of the online players are sleeping. - Added optional chat messages (same as actionbar ones). - Added a chat message that displays which player went to bed. - The interval at which the plugin checks for players in bed can now be changed (can be set higher for weaker servers). - Added more toggles and messages to configuration. - Fixed bug where action bar messages would not show for a while after reloading the server. Arrgh!, I'm off to keep sailing.1.0Aug 21, 2018
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta