Tags: chameleonframework/chameleon
Tags
refactor(api)!: move Cancellable to the event package (#276) Move the Cancellable interface, and the AbstractCancellable abstract implementation to the `dev.hypera.chameleon.event` package. BREAKING CHANGE: Cancellable is now in the `dev.hypera.chameleon.event` package.
feat(api)!: add plugin bootstrap (#265) * Add ChameleonPluginBoostrap * Remove use of KyoriPowered/blossom * Tidy up some Javadoc * Make all platform Chameleon #create methods return their corresponding bootstrap class directly, allowing for potential platform-specific methods in the future. * Rename Chameleon#getDataFolder to Chameleon#getDataDirectory to align with platforms * Update Luis' username (SLLCoding -> LooFifteen) * Update example to use another package and use correct relocations * Update example to show dispatching custom events in the main class BREAKING CHANGE: Platform Chameleon #create methods no longer accept the plugin class, instead a plugin bootstrap is required. The easiest plugin bootstrap implementation would be MyPlugin::new.
feat(extensions)!: improve and simplify extensions system (#205) * feat(extensions)!: improve and simplify extensions system * chore: bump version to 0.14.0-SNAPSHOT * feat!: make ExtensionManager#loadExtension and #getExtension return a platform rather than internal extension * feat(extensions): add dependencies, add platform extensions * feat(extensions): move dependencies to the factory, bump version * feat(folia): add extensions v2 support --------- Co-authored-by: Luis <[email protected]>
fix: v0.13.0-SNAPSHOT (#187) * Separate publish and release workflow from gradle workflow. * Switch to `ncipollo/release-action@v1` for creating releases in publish workflow. * Update README.md with more information on platforms. * Reformat README.md. * annotations: Remove `Plugin.Platform`. * annotations: Rename `@PlatformDependeny` to `@Dependency`. * annotations: Fix bugs in generated main classes * Rewrite some Javadoc to make it easier to read. * Replace `PluginData` with `ChameleonPluginData` which has builders. * Rename plural packages to singular for consistency (users -> user, logging -> logger, etc.). * Add Preconditions to aid in checking states and validating arguments. * Rewrite Adventure mappers and audience reflection to adapt to Adventure changes and remove static use to avoid problems. (resolves #186) * Use `Collection` instead of `List` or `Set` in return types. * Add `EventSubscriber.Builder#filters(Collection)`. * Create `ServerEvent`. * Create `ConsoleUser`to represent platform consoles. * Add `Platform.<type>` constants, e.g. `Platform.BUKKIT -> "Bukkit"`. * Make PlatformTarget extend Predicate and a functional interface. * Add `PlatformTarget.<type>()` methods to match platforms by id, e.g. `PlatformTarget.bukkit()`. * Rename `ProxyUser#getServer()` to `ProxyUser#getConnectedServer()` for clarity. * Remove `User#chat(String)` and `User#chat(Component)` due to changes in Minecraft 1.19.1+. * Make `User` implement `net.kyori.adventure.identity.Identified`. * Rename `UserManager#getPlayers()` to `UserManager#getUsers()` for consistency. * Rename `UserManager#getPlayer(UUID)` to `UserManager#getUserById(UUID)` for consistency. * Add tests with 100% coverage for all Adventure mappers. * Add tests with 87% coverage for all Adventure audience reflection classes. * Improve format of `libs.versions.toml`. * Update adventure-platform to v4.2.0. * Update velocity-api to v3.3.1. * Update minestom to git:f291437ada. * Update annotations to v24.0.0. * Update errorprone to v2.18.0. * Update junit to v5.9.2. * Update nullaway to v0.10.8. * Improve nullaway configuration. * Add Codecov configuration and uploader. * Improve example project a little bit. * General reformatting and other improvements. * Bump version to `0.13.0-SNAPSHOT`.
chore: update notices for 2023 (#181) * chore: update notices for 2023 * chore: update CODEOWNERS for @LooFifteen's username change
PreviousNext