It does what it says, manages worlds.
- Create worlds
- Remove worlds
- Teleport players between worlds
- Load and unload worlds
- Load worlds on startup
- Clone worlds
- Link nether and end portals
- Import worlds
- Set server spawn
This plugin requires SpiKot
/swm create <world name>
/swm create <world name> <seed>
/swm create <world name> <generator>
/swm create <world name> <seed> <generator>
/swm load <world name>
/swm unload <world name>
/swm forceload add <world name>
/swm forceload remove <world name>
/swm forceload rem <world name>
/swm clone <source world name> <destination world name>
/swm remove <world name>
/swm tp <world name>
/swm tp player <world name>
or
/swm teleport <world name>
/swm teleport player <world name>
Enabled by default
/swm linking enable
/swm linking disable
NOTE: Experimental
/swm link <source world> <destination world> nether
/swm link <source world> <destination world> end
WARNING: Experimental
/swm import <world folder>
/swm spawn override enable
/swm spawn override disable
/swm spawn reset
/swm spawn set <world name> <x> <y> <z>
/swm spawn set <world name> <x> <y> <z> <yaw> <pitch>
/swm spawn set <world name> default
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.EnergitCZ</groupId>
<artifactId>SimpleWorldManager</artifactId>
<version>1.1.0</version>
<scope>provided</scope>
</dependency>
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
compileOnly 'com.github.EnergitCZ:SimpleWorldManager:1.1.0'
}
repositories {
maven("https://jitpack.io/")
}
dependencies {
compileOnly("com.github.EnergitCZ:SimpleWorldManager:1.1.0")
}
SimpleWorldManagerApi getApi() {
SimpleWorldManager swm = (SimpleWorldManager) Bukkit.getPluginManager().getPlugin("SimpleWorldManager");
assert swm != null;
return swm.getSimpleWorldManagerApi();
}
fun getApi() : SimpleWorldManagerApi? {
val swm = Bukkit.getPluginManager().getPlugin("SimpleWorldManager") as SimpleWorldManager?
?: // Null check
return null
return swm.getSimpleWorldManagerApi()
}
For the time being just look into src/main/kotlin/dev/energit/SimpleWorldManager/SimpleWorldManagerApi.kt
for info.
Or just use the recommendations from your IDE.