Commit Graph

4 Commits

Author SHA1 Message Date
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