From 48653ec89538f1650106a5e77463412cad4684c2 Mon Sep 17 00:00:00 2001
From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com>
Date: Sun, 31 Oct 2021 09:49:42 +0800
Subject: first commit
---
features/featureBase/index.js | 24 ++++++++++++++++++++++++
features/featureBase/metadata.json | 8 ++++++++
2 files changed, 32 insertions(+)
create mode 100644 features/featureBase/index.js
create mode 100644 features/featureBase/metadata.json
(limited to 'features/featureBase')
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 @@
+///
+///
+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
--
cgit