ConfigManager

class ConfigManager @Inject constructor(proxy: ProxyServer, plugin: Impulse, configDirectory: Path, logger: Logger, reloadOnInit: Boolean = true)

Manages the configuration for Impulse

This class will watch for changes to Impulse's configuration file. It will trigger reload events as when a change is detected.

Parameters

plugin

a ref to the Impulse plugin

Constructors

Link copied to clipboard
@Inject
constructor(proxy: ProxyServer, plugin: Impulse, configDirectory: Path, logger: Logger, reloadOnInit: Boolean = true)

creates a new ConfigManager instance

Types

Link copied to clipboard
object Companion

Holds static defines for the ConfigManager

Properties

Link copied to clipboard

The name of this Impulse instance in the live config

Link copied to clipboard

The interval in seconds for server maintenance tasks

Link copied to clipboard

The map of messages to send to players

Link copied to clipboard

The list of servers defined in the current "live" config