* 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
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.
Details were added in the readme.md file to guide users to contact plugin developers for YardWatchAPI implementation. Links were also provided for users to request a temporary implementation within the YardWatch plugin.
This commit renames the issue template file from .yaml to .yml, to ensure consistency with existing files. It also removes the empty 'description' field from the 'plugin_api_url' entry, thereby simplifying the template configuration.
This commit adds a new configuration in GitHub to disable creation of blank issues. This change ensures that all issues have a predefined structure, which could potentially increase the quality and applicability of the responses.
This commit introduces a new issue template file for submitting implementation requests on GitHub. The template adopts a structure asking for the plugin name, plugin's developer API, and a checkbox to confirm the developer's knowledge about the possibility to implement YardWatchAPI directly in their plugin.
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.
A 'folia-supported' flag is added to the plugin.yml file of the YardWatch project. This flag will provide compatibility with any Folia-powered systems, improving the plugin's functionality and coverage.
Added a new section, "Requirements", to the readme.md file of the YardWatch project, outlining the technical specifications necessary for the source code to work properly. These requirements include Java 17 and a version of Minecraft 1.16 or higher.
Refactored the plugin enablement checks in `YardWatch.java` to use a new method `shouldRegisterService`. This method determines if a plugin is enabled and if it provides an implementation for the Protection service, therefore enhancing plugin setup accuracy.
Introduced a class variable `dummyId` to replace the previously hardcoded UUID in the `isProtected` method of the GriefPreventionProtection class. This change improves code maintainability and readability.
Refactored the permission checks in GriefPreventionProtection.java to use the Inventory permission rather than the Access permission. This change is in the methods canInteract and canDamage, and as a result enhances their functionalities under GriefPrevention's claim-based protection system.
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.
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.
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.
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.