Adds a migrate command for fixing book names and text -> yml

This commit is contained in:
2025-08-14 00:23:22 +02:00
parent 4243c484c4
commit 790e3d1531
9 changed files with 191 additions and 9 deletions

View File

@@ -109,6 +109,10 @@ commands:
description: Deletes one page from a book
usage: /<command> <page>
permission: bookswithoutborders.deletepage
migrateBooks:
description: Migrates all txt books to yml, and fixes any incorrect filenames
usage: /<command>
permission: bookswithoutborders.admin
permissions:
bookswithoutborders.*:
description: Grants all permissions