2.5.8-ALPHA.3
Compatibility
Changes
v2.5.8
This pull request introduces significant improvements to command handling in the plugin, primarily by adding support for entity selectors (such as @a, @p, @e) to several commands. This enables commands to target multiple players or entities at once, streamlining administrative tasks. Additionally, several new commands are registered, and the configuration migration logic is updated to support new message keys and ensure smooth upgrades.
Enhanced command selector support:
- Updated
AdminTeleportCommand,FlyCommand, andGamemodeCommandto useSelectorUtil.resolveSelector, allowing commands to target multiple players or entities using selectors. This includes improved error handling and tab completion for selectors. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]
New commands and features:
- Registered new commands:
PtimeCommand,VanishCommand, andPweatherCommandin the plugin'sonEnablemethod.
Configuration and migration improvements:
- Enhanced the
migrateConfigmethod to handle new config versions and add message keys for the new commands and selector-related errors, ensuring backward compatibility and smoother upgrades.
Dependency and version updates:
- Updated
pluginVersionto 2.5.8 andpaperVersionto 1.21.9 ingradle.properties.
These changes collectively make the plugin more flexible and robust, especially for server administrators managing multiple players or entities.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:mXLxDDZ3:RYBarPXY"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:mXLxDDZ3:RYBarPXY"
}

