static defineGetterOrSetter (Obj, map) {
    for (const key in map) {
      if (Object.prototype.hasOwnProperty.call(map, key)) {
        Object.defineProperty(Obj, key, map[key])
      }
    }
  }
@typedef {{
index?: number,
player: Player,
pluginName: string,
config: {
  [propName: string]: any
},
[propName: string]: any;
}} IBasePluginOptions