Moves more commands to their appropriate classes

This commit is contained in:
2021-08-30 18:06:19 +02:00
parent 504ef09192
commit fbee4a90b0
9 changed files with 304 additions and 339 deletions

View File

@ -14,13 +14,33 @@ commands:
aliases: [bwb]
usage: /<command>
give:
description: Gives the held book to another player
usage: /<command> [file name or number] <playername> [# of copies (num)] [signed (true/false)]
permission: bookswithoutborders.give
description: Gives the held book to another player
usage: /<command> <file name or number> <playername> [# of copies (num)] [signed (true/false)]
permission: bookswithoutborders.give
decrypt:
description: Encrypts the held book
usage: /<command> <password>
permission: bookswithoutborders.decrypt
description: Encrypts the held book
usage: /<command> <key>
permission: bookswithoutborders.decrypt
groupencrypt:
description: Encrypts the held book for the given group
usage: /<command> <group name> <key> [encryption style]
permission: bookswithoutborders.groupencrypt
delete:
description: Deletes a book saved by the executing user
usage: /<command> <file name or number>
permission: bookswithoutborders.delete
copy:
description: Copies the held book
usage: /<command> <copies>
permission: bookswithoutborders.copy
unsign:
description: Un-signs the held book, making it writable
usage: /<command>
permission: bookswithoutborders.unsign
encrypt:
description: Encrypts the held book
usage: /<command> <key> [encryption style]
permission: bookswithoutborders.encrypt
permissions:
bookswithoutborders.admin:
description: Grants all permissions