Removes redundancy Fixes broken duplicate checking Moves the save function to its own class
125 lines
5.1 KiB
YAML
125 lines
5.1 KiB
YAML
name: BooksWithoutBorders
|
|
version: '${project.version}'
|
|
main: net.knarcraft.bookswithoutborders.BooksWithoutBorders
|
|
api-version: 1.17
|
|
prefix: Books Without Borders
|
|
authors: [EpicKnarvik97, AkiraAkiba]
|
|
description: A continuation of the original Books Without Borders
|
|
softdepend: [Vault]
|
|
website: ????
|
|
dev-url: https://git.knarcraft.net/EpicKnarvik97/Books-Without-Borders
|
|
commands:
|
|
bookswithoutborders:
|
|
description: Lists Books Without Borders's commands and uses.
|
|
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
|
|
decrypt:
|
|
description: Decrypts 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
|
|
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
|
|
savepublic:
|
|
description: Saves the held book to the public books folder
|
|
usage: /<command> [duplicate (true/false)]
|
|
permission: bookswithoutborders.savepublic
|
|
save:
|
|
description: Saves the held book to the holding player's folder
|
|
usage: /<command>
|
|
permission: bookswithoutborders.save
|
|
permissions:
|
|
bookswithoutborders.admin:
|
|
description: Grants all permissions
|
|
default: op
|
|
children:
|
|
bookswithoutborders.use: true
|
|
bookswithoutborders.unsign: true
|
|
bookswithoutborders.copy: true
|
|
bookswithoutborders.loadpublic: true
|
|
bookswithoutborders.savepublic: true
|
|
bookswithoutborders.encrypt: true
|
|
bookswithoutborders.decrypt: true
|
|
bookswithoutborders.signs: true
|
|
bookswithoutborders.give: true
|
|
bookswithoutborders.givepublic: true
|
|
bookswithoutborders.settitle: true
|
|
bookswithoutborders.setauthor: true
|
|
bookswithoutborders.setlore: true
|
|
bookswithoutborders.bypassauthoronlycopy: true
|
|
bookswithoutborders.bypassbookprice: true
|
|
bookswithoutborders.groupencrypt: true
|
|
bookswithoutborders.setbookprice: true
|
|
bookswithoutborders.use:
|
|
description: Allows player to use commands and to save/load/delete in their personal directory
|
|
children:
|
|
bookswithoutborders.save: true
|
|
bookswithoutborders.load: true
|
|
bookswithoutborders.delete: true
|
|
bookswithoutborders.save:
|
|
description: Allows player to save books to their personal directory
|
|
bookswithoutborders.load:
|
|
description: Allows player to load books from their personal directory
|
|
bookswithoutborders.delete:
|
|
description: Allows player to delete books from their personal directory
|
|
bookswithoutborders.unsign:
|
|
description: Allows player to use unsign command
|
|
bookswithoutborders.copy:
|
|
description: Allows player to use copy command
|
|
bookswithoutborders.loadpublic:
|
|
description: Allows player to load in the public directory
|
|
bookswithoutborders.savepublic:
|
|
description: Allows player to save in the public directory
|
|
bookswithoutborders.encrypt:
|
|
description: Allows player to encrypt books
|
|
bookswithoutborders.groupencrypt:
|
|
description: Allows player to set group based encryption
|
|
bookswithoutborders.decrypt:
|
|
description: Allows player to decrypt books
|
|
bookswithoutborders.signs:
|
|
description: Allows player to create signs that give/encrypt/decrypt books
|
|
bookswithoutborders.give:
|
|
description: Allows player to give another player one of their privately saved books
|
|
bookswithoutborders.givepublic:
|
|
description: Allows player to give another player a book from the public directory
|
|
bookswithoutborders.settitle:
|
|
description: Allows player to set the title of the currenlty held book
|
|
bookswithoutborders.setauthor:
|
|
description: Allows player to set the author of the currently held book
|
|
bookswithoutborders.setlore:
|
|
description: Allows player to set the lore of the currently held item
|
|
bookswithoutborders.bypassauthoronlycopy:
|
|
description: Allows player to ignore Author_Only_Copy config setting
|
|
bookswithoutborders.bypassbookprice:
|
|
description: Allows player to ignore Price_to_create_book config setting
|
|
bookswithoutborders.setbookprice:
|
|
description: Allows player to set the cost of creating a book |