Просмотр исходного кода

Merge pull request #11 from Snugglez/master

More retard proof, probably
Kasea лет назад: 7
Родитель
Сommit
22a8e88605
4 измененных файлов с 31 добавлено и 23 удалено
  1. 17 10
      README.md
  2. 2 2
      index.js
  3. 2 2
      manifest.json
  4. 10 9
      module.json

+ 17 - 10
README.md

@@ -1,16 +1,23 @@
-## Tera-Settings-Saver 2.0
+## Tera-Settings-Saver 2.1
 
-Tera settings saver is a module for Tera-Proxy which stops your settings from getting reset, aswell as it allows you to easily transfer settings between characters/servers/region. Also for those spicy Caali proxy users, it's auto update compatible
+Tera settings saver is a module for TeraToolbox which stops your settings from getting reset, aswell as it allows you to easily transfer settings between characters/servers/region
 
-### How to use:
-Command | Usage | Arguments
---- | --- | ---
-key | Transfer settings from another character / lock your keybinds | File name / lock
-keybinds | Transfer settings from another character / lock your keybinds | File name / lock
-set | Transfer settings from another character / lock your keybinds | File name / lock
-settings | Transfer settings from another character / lock your keybinds | File name / lock
+# Commands
+Note, if using the commands in the proxy channel or `/8`, ignore the `!` prefix
 
-#### File name(s) can be found by going to proxy/bin/node_modules/Tera-Settings-Saver/data
+Command | Argument(s) | Example | Description
+---|---|---|---
+**!settings** | lock | !settings lock | locks your current settings
+**!settings** | Filename | !settings name-4001 | replaces your current settings with the settings of the desired file name which can be found below
+
+available aliases instead of `!settings` are `!keybinds`, `!key` and `!set` kept as a "legacy" option for those that may have used one of them in the past
+
+more clear example for those that need it, say for example you had a character named "Kaseatard" that you wanted to have the settings of on another character, you would go to the folder below and find its file name and use the command `/8 settings Kaseatard-4001`
+
+(note, make sure to actually look at the file name and not use the numbers used in this example since they will 100% be different)
+
+## File names can be found by going to `[toolbox folder]/mods/Tera-Settings-Saver/data`
+or by clicking `Show Mods Folder` in the toolbox ui and going to `/Tera-Settings-Saver/data` from there
 
 ### Bugs:
 Can potentially reset a glyph & item set page if the settings has been reset(it will print in the chat)

+ 2 - 2
index.js

@@ -55,7 +55,7 @@ class KeybindSaver {
             }
             saveJsonData(settingsPath, data);
         }
-        command.add(['keybinds', 'key', 'set', 'settings'], cmdKeybind);
+        command.add(['keybinds', 'key', 'set', 'settings', '!keybinds', '!key', '!set', '!settings'], cmdKeybind);
 
         function sLoadClientSetting(key, opcode, payload, incoming, fake) {
             if(acceptServer > 0 && !fake) {
@@ -104,4 +104,4 @@ class KeybindSaver {
 }
 
 
-module.exports = KeybindSaver;
+module.exports = KeybindSaver;

+ 2 - 2
manifest.json

@@ -1,7 +1,7 @@
 {
 	"files": {
-		"README.md": "d4b18e5f4b0ddf97422fb4b7b15a027efd1ceaba153316619fb3a45fb491efbd",
-		"index.js": "e931e3d3ffed529c045d22d61d451cbee46946b4f2a7a0e92b1865141c2b3a6f"
+		"README.md": "eee9f89ee371a99ad642f158afcdaef164f22877a92200dca87e0cf6c9d3d007",
+		"index.js": "eecf29921db877707a1f7139530315617b532086593a22491763e58da0e8f8da"
 	},
 	"defs": {
 		"C_LOAD_TOPO_FIN": "raw",

+ 10 - 9
module.json

@@ -1,10 +1,11 @@
 {
-    "servers": ["https://raw.githubusercontent.com/Kaseaa/Tera-Settings-Saver/master/"],
-    "supportUrl": "https://github.com/Kaseaa/Tera-Settings-Saver/issues",
-    "author": "Kasea",
-    "name": "tera-settings-saver",
-    "options": {
-        "guiName": "Setting saver"
-    },
-    "description": "Saves your settings"
-}
+	"disableAutoUpdate": false,
+	"servers": ["https://raw.githubusercontent.com/Kaseaa/Tera-Settings-Saver/master/"],
+	"supportUrl": "https://github.com/Kaseaa/Tera-Settings-Saver/issues",
+	"author": "Kasea",
+	"name": "tera-settings-saver",
+	"options": {
+		"guiName": "Setting saver"
+	},
+	"description": "Saves your settings"
+}