mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-29 04:04:25 -05:00
20 lines
530 B
JavaScript
20 lines
530 B
JavaScript
export default class BasePlugin {
|
|
static get description() {
|
|
throw new Error('Plugin missing "static get description()" method.');
|
|
}
|
|
|
|
static get defaultEnabled() {
|
|
throw new Error('Plugin missing "static get defaultEnabled()" method.');
|
|
}
|
|
|
|
static get optionsSpecification() {
|
|
throw new Error('Plugin missing "static get optionSpecification()" method.');
|
|
}
|
|
|
|
constructor(server, options = {}, optionsRaw = {}) {
|
|
this.server = server;
|
|
this.options = options;
|
|
this.optionsRaw = optionsRaw;
|
|
}
|
|
}
|