Finishes moving commands to separate classes

This commit is contained in:
2021-09-01 19:20:09 +02:00
parent db4f080ac8
commit 6c897b4ddf
14 changed files with 542 additions and 431 deletions

View File

@ -17,6 +17,10 @@ commands:
description: Gives the held book to another player
usage: /<command> <file name or number> <playername> [# of copies (num)] [signed (true/false)]
permission: bookswithoutborders.give
givepublic:
description: Gives a public book to a player
usage: /<command>
permission: bookswithoutborders.givepublic
decrypt:
description: Decrypts the held book
usage: /<command> <key>
@ -77,7 +81,16 @@ commands:
description: Loads a previously saved book from the public books folder
usage: /<command> <file name or number> [copies] [is signed (true/false)]
permission: bookswithoutborders.loadpublic
reload:
description: Reloads configuration from disk
usage: /<command>
permission: bookswithoutborders.admin
permissions:
bookswithoutborders.*:
description: Grants all permissions
default: op
children:
bookswithoutborders.admin: true
bookswithoutborders.admin:
description: Grants all permissions
default: op