Moves setlore and setbookprice command code to their own classes

This commit is contained in:
2021-08-30 22:08:55 +02:00
parent fbee4a90b0
commit 657c7e43fd
7 changed files with 234 additions and 126 deletions

View File

@ -41,6 +41,14 @@ commands:
description: Encrypts the held book
usage: /<command> <key> [encryption style]
permission: bookswithoutborders.encrypt
setbookprice:
description: Sets the price for copying books to a money sum or the held item
usage: /<command> <item/eco> <quantity>
permission: bookswithoutborders.setbookprice
setlore:
description: Sets the lore of the held item
usage: /<command> <new lore>
permission: bookswithoutborders.setlore
permissions:
bookswithoutborders.admin:
description: Grants all permissions