Moves load and loadPublic to their own files, and removes some redundancy

This commit is contained in:
2021-08-31 18:45:18 +02:00
parent bc93ddcec5
commit db3679014d
5 changed files with 119 additions and 152 deletions

View File

@ -65,6 +65,14 @@ commands:
description: Sets the title of the held book
usage: /<command> <title>
permission: bookswithoutborders.settitle
load:
description: Loads a previously saved book from the holding player's folder
usage: /<command> <file name or number> [copies] [is signed (true/false)]
permission: bookswithoutborders.load
loadpublic:
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
permissions:
bookswithoutborders.admin:
description: Grants all permissions