Skip to content

✨ feat(minestom): add Minestom platform support and update version to… - #401

Merged
twisti-dev merged 1 commit into
version/26.2from
feat/minestom
Aug 3, 2026
Merged

✨ feat(minestom): add Minestom platform support and update version to…#401
twisti-dev merged 1 commit into
version/26.2from
feat/minestom

Conversation

@twisti-dev

Copy link
Copy Markdown
Contributor

… 3.35.0

  • introduce MinestomSurfPlugin and MinestomSurfExtension for Minestom integration
  • add MinestomSpongeConfigSerializer for configuration serialization
  • update version in gradle.properties to 3.35.0
  • include Minestom dependencies in build.gradle.kts

… 3.35.0

- introduce MinestomSurfPlugin and MinestomSurfExtension for Minestom integration
- add MinestomSpongeConfigSerializer for configuration serialization
- update version in gradle.properties to 3.35.0
- include Minestom dependencies in build.gradle.kts
Copilot AI review requested due to automatic review settings August 3, 2026 15:57
@twisti-dev
twisti-dev merged commit f191dd6 into version/26.2 Aug 3, 2026
3 of 7 checks passed
@twisti-dev
twisti-dev deleted the feat/minestom branch August 3, 2026 15:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an initial Minestom platform integration to SURF-API (new Minestom module + Gradle plugin wiring), and bumps the project version to 3.35.0 to ship the new platform artifact.

Changes:

  • Introduce surf-api-minestom with Minestom plugin entrypoint, a SurfApiCore service implementation, and Sponge configurate serializer registration.
  • Extend the Gradle plugin to support a new minestom platform (new platform enum value + new Gradle plugin id).
  • Update versions/coordinates (project version to 3.35.0; add Minestom dependency to the version catalog).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
surf-api-minestom/src/main/kotlin/dev/slne/surf/api/minestom/SurfApiMinestomPlugin.kt Registers the Minestom plugin via @AutoService and Minestom metadata.
surf-api-minestom/src/main/kotlin/dev/slne/surf/api/minestom/SurfApiMinestomEntrypoint.kt Minestom lifecycle entrypoint bootstrapping Surf + PacketEvents initialization.
surf-api-minestom/src/main/kotlin/dev/slne/surf/api/minestom/impl/SurfMinestomInstance.kt Minestom CoreInstance singleton.
surf-api-minestom/src/main/kotlin/dev/slne/surf/api/minestom/impl/SurfMinestomApiImpl.kt Minestom implementation of SurfApiCore registered via ServiceLoader.
surf-api-minestom/src/main/kotlin/dev/slne/surf/api/minestom/impl/MinestomSpongeConfigSerializer.kt Registers Minestom Sponge/Configurate serializers via ServiceLoader.
surf-api-minestom/build.gradle.kts Build definition for the new Minestom module and its dependencies.
surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/SurfApiPlatform.kt Adds MINESTOM to platform dependency enum.
surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/minestom/MinestomSurfPlugin.kt New Gradle plugin implementation for Minestom platform projects.
surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/api/gradle/platform/minestom/MinestomSurfExtension.kt New Gradle extension for Minestom platform configuration.
surf-api-gradle-plugin/build.gradle.kts Publishes a new Gradle plugin id for Minestom and bumps plugin version.
settings.gradle.kts Includes the new surf-api-minestom module.
gradle/libs.versions.toml Adds Minestom lobby API dependency to the version catalog.
gradle.properties Bumps SURF-API version to 3.35.0.

Comment on lines +20 to +22
override suspend fun stop() {
SurfMinestomInstance.onDisable()
}
Comment on lines +6 to +7
@AutoService(SpongeConfigSerializers::class)
internal class MinestomSpongeConfigSerializer : SpongeConfigSerializers() No newline at end of file
Comment thread gradle/libs.versions.toml
Comment on lines +80 to +82
# Minestom
surf-minestom-lobby-api = { module = "dev.slne.minestom.lobby:surf-minestom-lobby-api", version = "+" }

Comment on lines +1 to +13
plugins {
`core-convention`
`api-validation`
}

dependencies {
api(projects.surfApiCore.surfApiCore) {
exclude(libs.commandapi.core)
exclude(libs.brigadier)
}

implementation(projects.surfApiCore.surfApiCoreServer)
compileOnlyApi(libs.surf.minestom.lobby.api)
Comment on lines 21 to 25
group = groupId
version = buildString {
append("2.0.8")
append("2.1.0")
if (snapshot) append("-SNAPSHOT")
}
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