RegisterBrokerEvent

class RegisterBrokerEvent(var jarPath: Path, var result: ResultedEvent.GenericResult = GenericResult.allowed()) : ResultedEvent<ResultedEvent.GenericResult>

An event to fire to dynamically register your broker

If a broker is being provided as a full Velocity plugin, this event should be fired to register the jar with Impulse

Constructors

Link copied to clipboard
constructor(jarPath: Path, result: ResultedEvent.GenericResult = GenericResult.allowed())

create a new broker registration event

Properties

Link copied to clipboard

the path to the jar file

Link copied to clipboard
var result: ResultedEvent.GenericResult

the result of the event

Functions

Link copied to clipboard
open override fun getResult(): ResultedEvent.GenericResult
Link copied to clipboard
open override fun setResult(result: ResultedEvent.GenericResult)