Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kits implementation #54

Merged
merged 9 commits into from
Oct 10, 2023
Merged

Kits implementation #54

merged 9 commits into from
Oct 10, 2023

Conversation

Lagggpixel
Copy link
Member

No description provided.

Copy link
Member

@Tigerpanzer02 Tigerpanzer02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just this ;)

Comment on lines +91 to +101
FileConfiguration kitsConfig = ConfigUtils.getConfig(this, "kits");

if (!Objects.equals(kitsConfig.getString("Do-Not-Edit.File-Version"), "2")) {
getLogger().log(Level.SEVERE, "Your kits.yml config is outdated. Please update it.");
getLogger().log(Level.SEVERE, "Cause: File-Version is not 2");
return;
}
if (!Objects.equals(kitsConfig.getString("Do-Not-Edit.Core-Version"), "1")) {
getLogger().log(Level.SEVERE, "Your kits.yml config is outdated. Please update it.");
getLogger().log(Level.SEVERE, "Cause: Core-Version is not 1");
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think we really need, we just update with our updated to latest so it should work without it ;)
Remove the lines

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Tigerpanzer02 Tigerpanzer02 merged commit 7e0a7a7 into Plugily-Projects:development Oct 10, 2023
@Lagggpixel Lagggpixel deleted the dev-kits branch October 10, 2023 20:45
Tigerpanzer02 added a commit that referenced this pull request Dec 4, 2023
* added default pom for maven usage

* Bump version from 2.0.1 to 2.0.1-SNAPSHOT0

* Bump version from 2.0.1-SNAPSHOT0 to 2.0.1-SNAPSHOT1

* Fix block breakage on bridge (#51)

* Update ArenaEvents.java

* Fix for a false, as my project ain't indexing.

* Cleanup code

* Potential resolve for block break sounds.

* Bump version from 2.0.1-SNAPSHOT1 to 2.0.1-SNAPSHOT2

* Update ArenaEvents.java (#53)

* Bump version from 2.0.1-SNAPSHOT2 to 2.0.1-SNAPSHOT3

* Fixed blindness after choosing base if arena border isn't inside spawn

* Bump version from 2.0.1-SNAPSHOT3 to 2.0.1-SNAPSHOT4

* Kits editing implementation (#54)

* Adapted kits to new core

* Recoded kits structure

* Update settings.gradle.kts

* Modify so I can run intellij

* Cleaned up code with handling items

* Added optional configurations

* Added bow cooldown implementation

---------

Co-authored-by: Tigerpanzer_02 <37453987+Tigerpanzer02@users.noreply.github.com>

* Bump version from 2.0.1-SNAPSHOT4 to 2.0.1-SNAPSHOT5

* Fixed new kits integration

* Bump version from 2.0.1-SNAPSHOT5 to 2.0.1-SNAPSHOT6

* Update ArenaEvents.java (#56)

* Bump version from 2.0.1-SNAPSHOT6 to 2.0.1-SNAPSHOT7

* Renamed kit actions to abilities

* Bump version from 2.0.1-SNAPSHOT7 to 2.0.1-SNAPSHOT8

* Fetch latest core changes

* Bump version from 2.0.2-SNAPSHOT8 to 2.0.2-SNAPSHOT9

* adjusted CHANGELOG.md

* Bump version from 2.0.2-SNAPSHOT9 to 2.0.2-SNAPSHOT10

---------

Co-authored-by: version-bump[github-action] <41898282+version-bump[github-action]@users.noreply.github.com>
Co-authored-by: Lagggpixel <93872019+Lagggpixel@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants