diff options
author | David <david@panic.tk> | 2018-11-07 23:50:06 +0100 |
---|---|---|
committer | David <david@panic.tk> | 2018-11-07 23:50:06 +0100 |
commit | 604cf01967ede98bf5024e4926bb0777fc4e8eee (patch) | |
tree | e2fa63d7e683769ee3bf3eddc75280648e92eb04 /src/main/java/com/redstoner/modules/loginsecurity/LoginSecurity.cmd | |
parent | e86c52ef7c0e1e33c6af0e8674b038976bec11cc (diff) |
Converted Modules to gradle
Diffstat (limited to 'src/main/java/com/redstoner/modules/loginsecurity/LoginSecurity.cmd')
-rw-r--r-- | src/main/java/com/redstoner/modules/loginsecurity/LoginSecurity.cmd | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/modules/loginsecurity/LoginSecurity.cmd b/src/main/java/com/redstoner/modules/loginsecurity/LoginSecurity.cmd new file mode 100644 index 0000000..952b3ed --- /dev/null +++ b/src/main/java/com/redstoner/modules/loginsecurity/LoginSecurity.cmd @@ -0,0 +1,49 @@ +command register { + perm utils.loginsecurity; + + [string:password] { + run register password; + help Protects your account with a password; + type player; + } +} + +command login { + perm utils.loginsecurity; + + [string:password] { + run login password; + help Logs you in; + type player; + } +} + +command cgpass { + perm utils.loginsecurity; + + [string:oldPassword] [string:newPassword] { + run cgpass oldPassword newPassword; + help Changes your password to the specified one; + type player; + } +} + +command rmpass { + perm utils.loginsecurity; + + [string:oldPassword] { + run rmpass oldPassword; + help Removes the password of your account; + type player; + } +} + +command rmotherpass { + perm utils.loginsecurity.admin; + + [string:playerName] { + run rmotherpass playerName; + help removes the password of another player; + perm utils.loginsecurity.admin; + } +}
\ No newline at end of file |