SquadJS/squad-server/plugins/base-plugin.js
2020-10-05 18:56:45 +01:00

14 lines
382 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.');
}
}