aboutsummaryrefslogtreecommitdiff
path: root/gui/settingsGui.js
diff options
context:
space:
mode:
authorNinjune <enderknight537@gmail.com>2022-10-28 18:34:34 -0500
committerNinjune <enderknight537@gmail.com>2022-10-28 18:34:34 -0500
commit2c63075f255687131ce077d2c8de7b8735d60169 (patch)
treef589d5ba61e32be010ccb83e42a9f3fb3524bef3 /gui/settingsGui.js
parent114cf1050c1d960af7447755df58be9a4e5f7652 (diff)
downloadcoleweight-2c63075f255687131ce077d2c8de7b8735d60169.tar.gz
coleweight-2c63075f255687131ce077d2c8de7b8735d60169.tar.bz2
coleweight-2c63075f255687131ce077d2c8de7b8735d60169.zip
Updated to 1.5.1 (bug fixes)v1.5.1
Diffstat (limited to 'gui/settingsGui.js')
-rw-r--r--gui/settingsGui.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/gui/settingsGui.js b/gui/settingsGui.js
new file mode 100644
index 0000000..48dbad7
--- /dev/null
+++ b/gui/settingsGui.js
@@ -0,0 +1,29 @@
+import { @Vigilant, @ButtonProperty, @SwitchProperty, @SelectorProperty, @TextProperty } from 'Vigilance'
+import constants from "../util/constants.js"
+
+@Vigilant("Coleweight")
+class Settings {
+ @ButtonProperty({
+ name: "Change tracker position",
+ description: "Move the location of the tracker.",
+ category: "General",
+ placeholder: "Open"
+ })
+ moveLocation() {
+ ChatLib.command("cw move", true);
+ }
+
+ @TextProperty({
+ name: "TBA",
+ description: "TBA; This menu will probably not work while this text is here.",
+ category: "General",
+ protected: false
+ })
+ key = "";
+
+ constructor() {
+ this.initialize(this);
+ }
+}
+
+export default new Settings() \ No newline at end of file