summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/abot/Abot.cmd
diff options
context:
space:
mode:
authorminenash <minenash@protonmail.com>2019-05-31 20:23:16 -0400
committerminenash <minenash@protonmail.com>2019-05-31 20:23:16 -0400
commit56218fdbf204bb9fd3cbf79c74ba35062ca87eea (patch)
tree08266a33b55f0f1eb9c4a64d7aebc646d6e3fff7 /src/main/java/com/redstoner/modules/abot/Abot.cmd
parent2bea114617570e959c04106cc52fe4e0934275bd (diff)
Allowed abot's file to be edited in game.
Diffstat (limited to 'src/main/java/com/redstoner/modules/abot/Abot.cmd')
-rw-r--r--src/main/java/com/redstoner/modules/abot/Abot.cmd50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/modules/abot/Abot.cmd b/src/main/java/com/redstoner/modules/abot/Abot.cmd
index c8bb2d8..1566a64 100644
--- a/src/main/java/com/redstoner/modules/abot/Abot.cmd
+++ b/src/main/java/com/redstoner/modules/abot/Abot.cmd
@@ -4,4 +4,54 @@ command abot {
run abot_reload;
perm utils.abot.reload;
}
+ list [flag:-nh] {
+ help Lists all the answers. Use -nh to move info from hover to chat, recommended for Console;
+ run abot_list_nh -nh;
+ perm utils.abot.list;
+ }
+ list {
+ help Lists all the answers. Use -nh to move info from hover to chat, recommended for Console;
+ run abot_list -nh;
+ perm utils.abot.list;
+ }
+ get [string:name] {
+ help Gets the properties of an answer.;
+ run abot_get name;
+ perm utils.abot.get;
+ }
+ add [string:name] {
+ help Adds an answer to the bot.;
+ run abot_add name;
+ perm utils.abot.add;
+ }
+ remove [string:name] {
+ help Removes an answer to the bot.;
+ run abot_remove name;
+ perm utils.abot.remove;
+ }
+ edit [string:name] name [string:new] {
+ help Changes the name of an answer.;
+ run abot_edit_name name new;
+ perm utils.abot.edit.name;
+ }
+ edit [string:name] message [string:new...] {
+ help Changes the message of an answer.;
+ run abot_edit_message name new;
+ perm utils.abot.edit.name;
+ }
+ edit [string:name] permission [string:new] {
+ help Changes the permission of an answer.;
+ run abot_edit_permission name new;
+ perm utils.abot.edit.permission;
+ }
+ edit [string:name] regex add [string:regex...] {
+ help Adds a regex from an answer;
+ run abot_edit_regex_add name regex;
+ perm utils.abot.edit.regex;
+ }
+ edit [string:name] regex remove [string:regex...] {
+ help Removed a regex from an answer;
+ run abot_edit_regex_remove name regex;
+ perm utils.abot.edit.regex;
+ }
} \ No newline at end of file