---
url: /guide/release-notes/7.1.0.md
---
# UltiTools-API 7.1.0 Release Notes

7.1.0 is a binary-compatible minor release. Modules built against the 7.0 public API can run without a rebuild; keep `api-version: 700` if the module needs only 7.0 features. External plugins that call `UltiToolsAPI.connect(this)` should review which plugin owns their keys and files before upgrading. The new test kit is optional for both kinds of developer.

## External plugin migration

In an ordinary `JavaPlugin` with `depend: [UltiTools]`, constructors and `@Autowired` fields now receive the connected plugin for `Plugin` and every class from its runtime class through `PluginBase`, including author-defined base classes. In 7.0, `Plugin` and `PluginBase` normally returned UltiTools, and an author-defined base class could not be injected. Tasks and listeners registered through the injected object now belong to your plugin. Injection of your main class or `JavaPlugin` is unchanged, as is module injection. ([#1125](https://github.com/UltiKits/UltiTools-Reborn/pull/1125))

Check uses of `NamespacedKey`, `getDataFolder()`, `getConfig()`, `saveConfig()` and `saveResource()`. Existing `ultitools:<key>` values, files and settings are not migrated or deleted. Read the new key first; if absent, copy the old value and persist its holder. Stop the server and back up before moving only your own files and settings. See [Plugin injection types](../advanced/external-plugin-api#plugin-injection). ([#1125](https://github.com/UltiKits/UltiTools-Reborn/pull/1125))

`CommandExecutor`, `TabExecutor`, `TabCompleter`, `LifecycleEventOwner` and `Namespaced` are not bound to the connected plugin: injection uses an assignable local component, otherwise UltiTools. To obtain the plugin itself, inject `Plugin` or the main class. A `@Bean` method registers its product by concrete class; its declared return type alone does not replace these bindings. ([#1125](https://github.com/UltiKits/UltiTools-Reborn/pull/1125))

The data scope and aspects are ready before scanning. Services created early, for example by injection into `@Configuration`, now honor `@Transactional` and `@ExceptionCatch`. If a method needs interception, `connect` can now reject a final or sealed early service, or one with only private constructors. Make the class subclassable and the method overridable, provide a non-private constructor, or remove the annotation. Entity or data-folder conflicts now fail before components are created. As in 7.0, a message namespace conflict is refused before scanning; a later scan failure can occur after storage has opened. ([#1125](https://github.com/UltiKits/UltiTools-Reborn/pull/1125))

## Testing modules and external plugins

Add the experimental `com.ultikits:ultitools-testkit` in test scope alongside `com.ultikits:UltiTools-API` on the same major.minor line. Declare Paper API separately. Use version `7.1.0` of both artifacts from Maven Central; see [Testing modules and plugins](../advanced/testing). Neither project kind needs the kit on a production server. Maven plugin 2.1.0 adds the [docs and migration goals](../advanced/maven-plugin#docs-and-migration), and CLI 3.1.0 generates the [7.1 templates](../advanced/ultikits-cli#scaffold-tests). ([#1038](https://github.com/UltiKits/UltiTools-Reborn/pull/1038), [#1056](https://github.com/UltiKits/UltiTools-Reborn/pull/1056))

In the test JVM, `@UltiToolsTest(MyModule.class)` loads a module on MockBukkit. Each test class gets a temporary server root. Bootstrap contributions that require Paper must be tested on a real server. A module test can inject a bean, replace an eligible dependency, override individual settings in bundled YAML and exercise a real temporary SQLite database. For an external plugin use `@UltiToolsTest(externalPlugins = MyPlugin.class)`; its own `onEnable()` must call `connect`. Assert the connection, then dispatch a plugin command and check its reply. Both kinds can check rendered messages and advance mock scheduler ticks; module bean and YAML overrides do not apply to external plugins. ([#1042](https://github.com/UltiKits/UltiTools-Reborn/pull/1042), [#1044](https://github.com/UltiKits/UltiTools-Reborn/pull/1044), [#1102](https://github.com/UltiKits/UltiTools-Reborn/pull/1102), [#1088](https://github.com/UltiKits/UltiTools-Reborn/pull/1088), [#1097](https://github.com/UltiKits/UltiTools-Reborn/pull/1097), [#1099](https://github.com/UltiKits/UltiTools-Reborn/pull/1099), [#1101](https://github.com/UltiKits/UltiTools-Reborn/pull/1101))

To check a packaged JAR, use `@UltiToolsServerTest` with Maven Failsafe and headless Paper. Tests are skipped unless you accept the Mojang EULA. For a module, use `RealServer.assertModuleLoaded(name)`; for an external plugin (an ordinary `JavaPlugin` with `plugin.yml` or `paper-plugin.yml`), select `projectKind = EXTERNAL_PLUGIN` and use `assertExternalPluginConnected()`. Then check registration and run the command. `alsoInstall` stages additional dependency JARs from a path or declared Maven coordinate; it is a test annotation attribute, not an `/upm` subcommand. See [Testing modules and plugins](../advanced/testing). ([#1054](https://github.com/UltiKits/UltiTools-Reborn/pull/1054), [#1063](https://github.com/UltiKits/UltiTools-Reborn/pull/1063), [#1083](https://github.com/UltiKits/UltiTools-Reborn/pull/1083), [#1090](https://github.com/UltiKits/UltiTools-Reborn/pull/1090))

Module authors can use the [example module](https://github.com/UltiKits/UltiTools-Reborn/tree/v7.1.0/examples/demo-module) to compare an in-process test of a service with a Paper test of the packaged command. ([#1103](https://github.com/UltiKits/UltiTools-Reborn/pull/1103))

## Component and entity discovery

When a module is loaded from compiled classes rather than a JAR, as in in-process tests, the module entry class’s output directory determines where to find components; tests in the same package under `target/test-classes` no longer hide production components. Directory-loaded modules can read their descriptor and extract bundled defaults without overwriting existing files. A module discovers `@Table` classes in its configured scan packages in that directory; a packaged module still discovers entities across its JAR. For an unowned entity in the same output directory but outside the configured packages, `ULTI-3010` now lists the packages to use. For an entity you own, move it into one of those packages or add it to the module’s `additionalEntities`. See [Data storage](../essentials/data-storage). ([#1037](https://github.com/UltiKits/UltiTools-Reborn/pull/1037), [#1074](https://github.com/UltiKits/UltiTools-Reborn/pull/1074), [#1108](https://github.com/UltiKits/UltiTools-Reborn/pull/1108), [#1133](https://github.com/UltiKits/UltiTools-Reborn/pull/1133))

An external plugin running from a class directory, as in in-process tests, reads bundled message catalogs there and discovers entities in the entry class’s package and subpackages. Components come from the plugin’s own output directory, not a same-package test root. Keep production classes, descriptors and catalogs together. ([#1104](https://github.com/UltiKits/UltiTools-Reborn/pull/1104), [#1118](https://github.com/UltiKits/UltiTools-Reborn/pull/1118))

For modules and external plugins, in JARs and class directories, entity discovery now skips `package-info.class` and `module-info.class`. In 7.0.0 these files produced a false `WARNING` beginning `Invalid class name format:`; it can be ignored on 7.0.0 and no longer appears. ([#1113](https://github.com/UltiKits/UltiTools-Reborn/pull/1113))

## Startup and registration diagnostics

Module authors, external plugin developers and operators can now look up an error in the exact framework JAR that reported it. `META-INF/ultitools-docs/errors/ULTI-xxxx.md` explains the cause and remedy. `index.json` lists the bundled files; `migration/migrations.json` lists versioned replacements. Many failures that 7.0.0 reported with a general code now carry a specific one: command declaration failures use `ULTI-4009` to `ULTI-4018` instead of `ULTI-4006`, configuration binding failures `ULTI-5005` to `ULTI-5025` instead of `ULTI-5000`, module loading failures `ULTI-6005` to `ULTI-6023`, and container assembly failures `ULTI-2008` to `ULTI-2014`. Update log alerts or tests that match the old codes. Which failures refuse a module is unchanged. Container, command declaration, module configuration and module loading diagnostics now distinguish `What happened:`, `How to fix:` and `Where to read:`. Wrapped bean failures such as a throwing `@PostConstruct` retain the specific cause without repeating the guidance. ([#1057](https://github.com/UltiKits/UltiTools-Reborn/pull/1057), [#1033](https://github.com/UltiKits/UltiTools-Reborn/pull/1033), [#1046](https://github.com/UltiKits/UltiTools-Reborn/pull/1046), [#1047](https://github.com/UltiKits/UltiTools-Reborn/pull/1047), [#1065](https://github.com/UltiKits/UltiTools-Reborn/pull/1065), [#1066](https://github.com/UltiKits/UltiTools-Reborn/pull/1066), [#1067](https://github.com/UltiKits/UltiTools-Reborn/pull/1067), [#1068](https://github.com/UltiKits/UltiTools-Reborn/pull/1068), [#1087](https://github.com/UltiKits/UltiTools-Reborn/pull/1087))

For a module that fails to load, check the named entry class, descriptor, API level or dependency. For module configuration, a missing converter (`ULTI-5007`) refuses the module; a missing comment translation (`ULTI-5023`) logs a warning and writes the token as the comment. See [Config converters](../advanced/config-converters) and [Configuration files](../essentials/config-file). ([#1067](https://github.com/UltiKits/UltiTools-Reborn/pull/1067), [#1068](https://github.com/UltiKits/UltiTools-Reborn/pull/1068))

For either project kind, the failure message now states that every command of the failing owner was unregistered; commands of other owners are not affected, as in 7.0.0. A command compilation failure now reports the code of its specific diagnostic; one without a specific diagnostic reports `ULTI-4022` (`COMMAND_REGISTRATION_FAILED`). In 7.0.0 every such failure was logged without a code and thrown as `ULTI-4006`. If sibling arguments have the same name but incompatible types or greedy forms, the diagnostic identifies both. An invalid `@AsyncCommand.processingMessageKey` now warns once per method and invalid value, not just once per value. See [Rejected formats](../essentials/cmd-executor#rejected-formats). ([#1066](https://github.com/UltiKits/UltiTools-Reborn/pull/1066), [#1134](https://github.com/UltiKits/UltiTools-Reborn/pull/1134))

## Server logs and shutdown

UltiTools no longer prints the server UUID at startup, even if the operator customized `startup.server_uuid`. The key and its templates remain available. UUID creation and persistence, the warning if it cannot be obtained, login and linking are unchanged. Neither kind of developer needs to change code. Separately, a rejected cloud credential is cleared from memory before its warning is logged, so an operator can follow the login instruction immediately. ([#1131](https://github.com/UltiKits/UltiTools-Reborn/pull/1131), [#1024](https://github.com/UltiKits/UltiTools-Reborn/pull/1024))

After normal disable, `UltiTools.getInstance()` returns `null` instead of the stopped instance. Both kinds of developer should guard late callbacks: `getEnv()`, `getPluginVersion()` and module manager accessors throw `IllegalStateException` without a live instance. A module can still use `getLogger()` for late messages. Closing a container now removes its JVM shutdown hook; disabling the framework also stops its bStats scheduler. The framework main class `UltiTools` is marked `@ApiStatus.NonExtendable`; absence of `final` does not make subclassing supported. ([#1060](https://github.com/UltiKits/UltiTools-Reborn/pull/1060), [#1070](https://github.com/UltiKits/UltiTools-Reborn/pull/1070), [#1115](https://github.com/UltiKits/UltiTools-Reborn/pull/1115), [#1032](https://github.com/UltiKits/UltiTools-Reborn/pull/1032))

## Known limitations

In both 7.0.0 and 7.1.0, if a JAR has no directory entry for a scan package (such as `com/example/`), it can load as a module or `connect` as an external plugin, but no services, commands or listeners are found in that package and nothing is logged. `@Table` entities are still discovered. The Maven JAR and Shade plugins write these entries; ProGuard removes them unless you add `-keepdirectories`, and `jar --create` adds none when given a list of class files. See [component scanning](../advanced/ioc-container#automatic-scanning) and [issue #1127](https://github.com/UltiKits/UltiTools-Reborn/issues/1127).

In 7.0.0 and 7.1.0, module JARs share one class loader, so if two module JARs use the same base package, or one module's base package contains another's, the scanner finds that package in only one JAR. Commands, listeners and services in that package in the other JAR are skipped without a warning, and the module that owns the other JAR registers the found JAR's components in that package instead. `@Table` entities are not affected. External plugins connected with `UltiToolsAPI.connect(this)` use their own plugin class loader and are not affected. Give each module its own base package. See [component scanning](../advanced/ioc-container#automatic-scanning) and [issue #1107](https://github.com/UltiKits/UltiTools-Reborn/issues/1107).

External plugins still receive the framework's own `Scheduler` and `UiService`; only tasks and listeners registered through the injected `Plugin` belong to your plugin ([issue #1129](https://github.com/UltiKits/UltiTools-Reborn/issues/1129)).

In-process tests are stricter than Paper: they reject modules supplied as JARs and restrict entity discovery in class directories. Module registration order can differ from a server, and advancing ticks cannot verify the wall-clock cadence of literal async `@Scheduled` tasks. Bootstrap content and operations not implemented by MockBukkit need real Paper. See [differences from a real server](../advanced/testing#differences-from-a-real-server) for the full list and alternatives. Conversely, a passing in-process test cannot detect [component scanning](../advanced/ioc-container#automatic-scanning) problems caused by missing package directory entries or by module JARs with shared or nested base packages; check the packaged JAR with `@UltiToolsServerTest`.

## Related guides

[External plugin API](../advanced/external-plugin-api) · [Testing modules and plugins](../advanced/testing) · [Project guidance for coding agents](../advanced/ai-agents) · [Framework compatibility notes](https://github.com/UltiKits/UltiTools-Reborn/blob/v7.1.0/COMPATIBILITY.md#71) · [GitHub release](https://github.com/UltiKits/UltiTools-Reborn/releases/tag/v7.1.0)
