Snapshots
Read immutable managed-world and reset-status snapshots.
The RWR API is for plugin developers. It exposes read-only snapshots and events without coupling your plugin to RWR internals, Multiverse-Core, or Worlds.
<dependency> <groupId>io.github.tamawish</groupId> <artifactId>rwr-api</artifactId> <version>5.1.2</version> <scope>provided</scope></dependency>dependencies { compileOnly("io.github.tamawish:rwr-api:5.1.2")}RwrApi.find(getServer()).ifPresent(api -> { for (ManagedWorldSnapshot world : api.managedWorlds()) { getLogger().info(world.id() + " -> " + world.state()); }});Snapshots
Warning events
Reset events
Platform neutral
Keep event callbacks short and move external I/O off the server thread. Reacquire the service after plugin lifecycle changes.