RetiredWorldRedirect

public final class RetiredWorldRedirect implements Listener

A package's retired worlds still load if present, and anyone inside is sent to the package's arrival point.

Constructors

Link copied to clipboard
public void RetiredWorldRedirect()

Functions

Link copied to clipboard
public static boolean isInUse(String worldName)
True for the server's default world and for any world a package uses as its own or wormhole world.
Link copied to clipboard
public void onJoin(PlayerJoinEvent event)
Link copied to clipboard
public void onWorldChange(PlayerChangedWorldEvent event)
Link copied to clipboard
public static void register(World world, ContentPackagesConfigFields fields)
Link copied to clipboard
public static void shutdown()
Link copied to clipboard
public static void unregister(String worldName)