1.0.2
Compatibility
Changes
🚀 What's New (v1.1.0 Update)
This update brings a massive improvement in functionality, stability, and performance!
✨ New Developer API
xVoidSpawn is now more than just a plugin; it's an API! We've added a suite of tools for other developers to professionally integrate with xVoidSpawn:
- Custom Events:
PreVoidTeleportEvent: Fired before a player is teleported. It is cancellable, allowing other plugins (like an anti-combat plugin) to prevent the teleport.PostVoidTeleportEvent: Fired after a player has been successfully saved, ideal for giving rewards or effects.
- Accessor Methods:
- Developers can now get the configured spawn location (
api.getSpawnLocation()) or safely teleport players (api.teleportToSpawn(player)) using the main plugin instance (XVoidSpawn.getInstance()).
- Developers can now get the configured spawn location (
🐛 Critical Bug Fix
A major bug has been fixed that caused the plugin to teleport players when they fell into the void in any world. The plugin now works as intended and only activates in the configured spawn world.
⚡ Performance Improvements
The way the plugin handles the config.yml has been optimized. The spawn location is no longer reloaded from the disk on every player movement. Instead, it is cached in memory and only updates when using /xvs setspawn or /xvs reload, drastically improving performance.
🙏 Acknowledgments
A special thanks to the user @Ciberap for discovering and reporting the world bug!
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:cddvJDvp:bjrrgZln"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:cddvJDvp:bjrrgZln"
}

