Class OptionalIntegrations

java.lang.Object
dev.despical.mazeengine.integration.OptionalIntegrations
All Implemented Interfaces:
AutoCloseable

public final class OptionalIntegrations extends Object implements AutoCloseable
Owns optional integrations enabled alongside the plugin's core services.

PlaceholderAPI classes are reached only when that plugin is enabled. Expansion startup is isolated so a registration failure can be logged and cleaned up without preventing ordinary maze generation. WorldGuard availability is also reported during initialization.

The class keeps external integration lifecycle work out of the plugin entry point. Its close method releases the expansion it successfully started; WorldEdit selections and snapshots are resolved separately by the maze service when an operation actually requests them.

  • Constructor Details

  • Method Details