aboutsummaryrefslogtreecommitdiff
path: root/features/featureBase
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-10-31 09:49:42 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2021-10-31 09:49:42 +0800
commit48653ec89538f1650106a5e77463412cad4684c2 (patch)
tree09687cd579462e04d539fd4615369fa6dae13902 /features/featureBase
downloadSoopyV2-48653ec89538f1650106a5e77463412cad4684c2.tar.gz
SoopyV2-48653ec89538f1650106a5e77463412cad4684c2.tar.bz2
SoopyV2-48653ec89538f1650106a5e77463412cad4684c2.zip
first commit
Diffstat (limited to 'features/featureBase')
-rw-r--r--features/featureBase/index.js24
-rw-r--r--features/featureBase/metadata.json8
2 files changed, 32 insertions, 0 deletions
diff --git a/features/featureBase/index.js b/features/featureBase/index.js
new file mode 100644
index 0000000..7a11945
--- /dev/null
+++ b/features/featureBase/index.js
@@ -0,0 +1,24 @@
+/// <reference types="../../../CTAutocomplete" />
+/// <reference lib="es2015" />
+import Feature from "../../featureClass/class";
+
+class FeatureBase extends Feature {
+ constructor() {
+ super()
+ }
+
+ onEnable(){
+ this.initVariables()
+ }
+
+ initVariables(){
+ }
+
+ onDisable(){
+ this.initVariables()
+ }
+}
+
+module.exports = {
+ class: new FeatureBase()
+} \ No newline at end of file
diff --git a/features/featureBase/metadata.json b/features/featureBase/metadata.json
new file mode 100644
index 0000000..a6b411d
--- /dev/null
+++ b/features/featureBase/metadata.json
@@ -0,0 +1,8 @@
+{
+ "name": "Feature Base",
+ "description": "Copy paste and edit this to create a new feature",
+ "isHidden": true,
+ "isTogglable": false,
+ "defaultEnabled": false,
+ "sortA": 1
+} \ No newline at end of file