Harbor is a plugin that redefines sleep within your Spigot server!
Go to file
Andrew Katz 5aaa0398bf
Feature: API for AFK and excluded players (#88)
* remove afk listener and move to own class

* implement afk listener with proper afk check

* use instant instead of millis

* Creation of interface to allow external plugins to exclude players

* Addition of better Javadoc

* Move Essentials checks; Add example Provider classes

* Quickfix: style

* wippy wip

* Expand AFK and Exclusion APIs to allow control of logic flow + more

Also change examples and remove stafffacilities

* Major cleanup

* Clean imports

* Add a comment

* Modernize vanished check and clean up ternary

* Cleanup ternary and fix typos that caused bugs

* Remove some terrible code I wrote without thinking

* misunderstanding

* A few minor fixes and cleanups

* Fix listeners to monitor priority

* Requested changes

* Fix bugs

* take out the trash :)

Remove things I thought I removed but didn't

Co-authored-by: mail@chojo.de <mail@chojo.de>
2021-07-09 18:22:22 -07:00
.github Restore CI workflow 2020-11-13 13:57:46 -08:00
docs 🌓 Day time configurable in ticks 2020-03-15 10:15:43 -07:00
src/main Feature: API for AFK and excluded players (#88) 2021-07-09 18:22:22 -07:00
.gitignore 🌓 Day time configurable in ticks 2020-03-15 10:15:43 -07:00
.travis.yml ⚙ Add Travis file 2019-09-08 22:07:47 -07:00
.whitesource Initial WhiteSource configuration file 2019-07-19 18:16:46 +00:00
LICENSE 🚀 Quick hotfixes! More stuff coming soon! 2019-07-17 00:04:40 -07:00
README.md 👻 Option to ignore vanished players 2020-03-22 08:00:14 -07:00
pom.xml 1.6.4-SNAPSHOT 2020-12-11 11:33:58 -08:00
settings.xml Set up Packages 2020-03-08 15:19:47 -07:00

README.md

Harbor 1.6 banner

Harbor

CodeFactor License Discord

Harbor is a plugin that redefines sleep within your Spigot server! Harbor is lightweight and performant, with just the right amount of features for any survival server!

Check it out and download the latest builds over on the releases page!

🔨 Building from source

Harbor uses Maven to handle dependecies and building! Make sure you have Java 8, Git, and Maven installed, and then run:

git clone https://github.com/nkomarn/Harbor.git
cd Harbor/
mvn package

You can find the compiled JARs in the target directory.

🎺 Contributing

Feel free to create pull requests with any changes or improvements that think would make Harbor a better plugin! Generally, try to keep core plugin features intact. Pull requests with bugfixes are welcome!

📋 License

Harbor is licensed under the MIT license. View LICENSE for more information.