Skip to content

Conversation

@MioArchive
Copy link
Collaborator

This pull request mainly includes the implementation of the new API along with its documentation. The API allows other plugins to access the main components of the plugin, such as the GameManager, MapManager, and KitManager. In addition, there are also custom events for each of the main components.

MioArchive and others added 6 commits October 5, 2025 23:49
Rewrote placeholder logic using a switch expression for better readability and efficiency. Introduced utility methods for formatting KD and counting totems. Updated dependencies, including a version downgrade for Lombok, and added a new repository for PlaceholderAPI.
Upgraded the Gradle distribution URL to use version 9.0.0 and added new settings like `networkTimeout` and `validateDistributionUrl`. Improved shell and batch scripts by addressing compatibility, error handling, and environment variable issues, including better validation for `JAVA_HOME` and corrected `CLASSPATH` handling. Added SPDX-License-Identifier to license comments for better compliance.
Introduced cancellable events such as `MapDropEvent`, `GameStartEvent`, and others to provide hooks for modifying or preventing actions. Added `EventCoreAPI` to expose a clean interface for managing game states, maps, and kits. Updated `MapManager` and `KitManager` to trigger events during critical operations.
…reAPI` initialization with singleton validation, and clean up unused methods.
Organized imports across multiple classes for better readability and consistency. Expanded the README to include comprehensive API usage instructions, example code, and detailed component descriptions, improving developer experience.
@DavidArchive
Copy link
Owner

mio so goated

@DavidArchive DavidArchive merged commit 58b4412 into DavidArchive:main Oct 12, 2025
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