16 Commits

Author SHA1 Message Date
YouHaveTrouble acaf8ac233 bump version 2025-09-27 23:14:23 +02:00
YouHaveTrouble 813702596a bump version 2024-08-14 20:37:26 +02:00
Ryder Belserion 6ba3acf5f6 Add plotsquared protection (#6)
* getState() is already true

* add plotsquared protection

* check if isProtected first

* check if owned plot is not null

* move isProtected up one

* remove comments
2024-08-14 20:36:37 +02:00
YouHaveTrouble 5c942e72c3 bump version 2024-07-19 18:56:14 +02:00
YouHaveTrouble 8aba8ea79d update wg depend and dump YardWatch API version into a resource file 2024-07-19 18:55:06 +02:00
YouHaveTrouble c65e68dcfc bump version 2024-06-05 20:12:47 +02:00
YouHaveTrouble 48f5c337d7 no need for remapping :) 2024-06-05 20:11:02 +02:00
YouHaveTrouble bea339f701 bump version 2024-04-16 19:58:16 +02:00
Ryder Belserion 34964d30cd Adds towny and superiorskyblock support (#1)
* Stash changes

* Add superiorskyblock2 support

* Add as a soft depend

* Fix skyblock support

* Add palmers towny support

* Turned off wildcard imports

* Update readme

* Update .gitignore

* Add new line

* Add new line
2024-04-16 19:57:08 +02:00
YouHaveTrouble 7f9d40aafe Add FactionsUUID support to YardWatch Plugin
The YardWatch Plugin now supports FactionsUUID. The plugin's functionality has been implemented and added to the list of dependencies in the pom.xml file. Also, FactionsUUID has been included in the soft dependencies category in the plugin.yml file and in the options for bug reports.
2024-03-22 15:05:28 +01:00
YouHaveTrouble 648d628825 Integrate LWCXProtection in YardWatch
A new protection hook, LWCXProtection, has been introduced to the YardWatch system, and the respective hook has been registered. Changes have been made to the service manager to facilitate this. Additionally, a relevant repository and corresponding dependency have been added to the pom.xml file for this purpose.
2024-03-22 12:20:41 +01:00
YouHaveTrouble 7405f15510 Add support for GriefPrevention Protection
Refactored the YardWatch.java file to check if the GriefPrevention plugin is enabled. If enabled, GriefPrevention Protection is registered. Additionally, a new class GriefPreventionProtection.java was added which checks if a location is protected, if a player can break/place a block, interact with a block or entity, or damage an entity based on GriefPrevention's claims. Moreover, added a new dependency for GriefPrevention in pom.xml.
2024-03-21 23:25:48 +01:00
YouHaveTrouble 137ef21410 Update plugin and dependencies versions
Updated the api-version in plugin.yml from '1.13' to '1.16', and the paper-api version in pom.xml from '1.13-R0.1-SNAPSHOT' to '1.16.5-R0.1-SNAPSHOT'.
2024-03-21 23:25:28 +01:00
YouHaveTrouble ad820a1ab9 Refactor plugin.yml and pom.xml to use Maven variables
The plugin.yml and pom.xml files were refactored to utilize Maven variables for elements including project name, version, description, and URL. This simplifies the process of updating these values, as they now only need to be modified in one location. This change enhances maintainability and code readability.
2024-03-21 22:19:09 +01:00
YouHaveTrouble 9418025b81 Upgrade Java version and refactor WorldGuardProtection class
The Java version in pom.xml has been updated from 1.8 to 17. Also, the WorldGuardProtection.java class has been refactored for cleaner code. Specifically, a condition check and player definition are now combined into a single line to improve readability and efficiency.
2024-03-21 22:06:51 +01:00
YouHaveTrouble e516cf2ec6 Add YardWatch plugin with WorldGuard integration
Introduced a new plugin, YardWatch, implemented with WorldGuard for protection. The plugin checks if WorldGuard is enabled and regulates breaking blocks, placing blocks, and interactions based on WorldGuard's build and interact flags. Also included are updated .gitignore and pom.xml files to manage the project setup.
2024-03-21 21:52:44 +01:00