Skip to content

4.0.0-RC12 - Blizzard

Pre-release
Pre-release
Compare
Choose a tag to compare
@0utplay 0utplay released this 25 May 17:47
· 2 commits to beta since this release
4895431

Update 4.0.0-RC12 - Blizzard

We are pleased to announce the twelfth release candidate for CloudNet 4.0. This release contains support for the latest minecraft versions. We urge all users to install the update, as we will no longer provide support for RC11.2. Users who want to switch from 3.4.X to 4.0 can find instructions in the release information for RC1.

Please also see the changelog for RC6, this contains the detailed information about the switch to Dependency Injection in the API.

Cheers!
(Please remember, CloudNet is provided as-is - we are not responsible for data loss or corruption. You are encouraged to back up your files before any updates!)

Caution

  • With CloudNet RC12 the api and implementation were split. All our artifact ids now have an -api suffix for the api artifact and an -impl suffix for the implementation artifact, additionally the classes inside of the implementation artifact have new package names due to the fact that impl was added to distinguish them more easily. Make sure to switch to the new artifact ids, preferring the api artifact, when upgrading your dependencies to RC12.
  • Starting with this version, CloudNet requires Java 24 and you have to download the launcher again to ensure compatibility. During development, we found several jdk bugs that can cause problems when using SSL provided by CloudNet (compression is also disabled for now). Please refer to JDK-8357145 and JDK-8357268 for updates on this topic.

Changelog

Features

  • Minecraft 1.21.5 is now supported (#1553)
  • CloudNet-NPCs now has a new /cn info command, which provides detailed information about a spawned NPC (#1485)
  • The CloudNet-Bridge can now propagate disconnect reasons of downstream services using %reason% (#1399)
  • The service log is now able to capture jvm crashes providing more insight to crashing services (#1605)
  • The LuckPerms permissions context now also contains the service uuid (contributed by @eazypaulCode in #1628)

Fixes

  • Fixed an exception when interacting with an NPC inventory when another NPC was inside an unloaded chunk (#1554)
  • Some subcommands of the cluster command did not work because they were overlooked when the command framework was updated (#1555)
  • Spamming commands can't cause a deadlock of the console anymore (#1565)
  • Permission checks on the minestom platform are happening earlier in the login process now (#1574)
  • The bridge initialization now runs on the first server tick (#1465)
  • The bridge now properly provides a fallback to BungeeCord if a service dies (#1602)
  • Docker images are now correctly pulled and used in the dockerized-services module (#1621)
Dependencies
artifact id usage
driver-api When developing plugins or modules, available on all platforms.
node-api When developing a module which needs more specific access to node functions than the driver can offer.
wrapper-jvm-api When developing plugins which need some more specific access to the service api than the driver can offer.
bridge-api When trying to catch player events and/or interacting with players regardless where they are on the network.
bom When you want to import all dependencies with the same version based on the imported bill of materials.

To add the CloudNet dependency using gradle:

repositories {
  // ensure maven central is added
  mavenCentral()
}

dependencies {
  // optional - you can also specify versions directly
  implementation platform('eu.cloudnetservice.cloudnet:bom:4.0.0-RC12')
  compileOnly 'eu.cloudnetservice.cloudnet:driver-api'

  // without bom
  compileOnly 'eu.cloudnetservice.cloudnet:driver-api:4.0.0-RC12'
}

To add the CloudNet dependency using maven:

<!-- optional - you can also specify versions directly -->
<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>eu.cloudnetservice.cloudnet</groupId>
      <artifactId>bom</artifactId>
      <version>4.0.0-RC12</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>eu.cloudnetservice.cloudnet</groupId>
    <artifactId>driver-api</artifactId>
    <version>4.0.0-RC12</version> <!-- only needed when bom is not used -->
    <scope>provided</scope>
  </dependency>
</dependencies>

🔗 Links