Adds a new option to format books when signed
Also cleans up config stuff a bit and moves config-related tasks to its own class Moves book loading code to its own class Adds a default config file to make the config file have comments Adds missing command info about the formatBook command Adds information about required permissions to the command info
This commit is contained in:
26
src/main/resources/config.yml
Normal file
26
src/main/resources/config.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
Options:
|
||||
# Whether to use YAML for saved books instead of just storing them as text
|
||||
Save_Books_in_Yaml_Format: true
|
||||
# The maximum number of duplicates of a saved book allowed
|
||||
Max_Number_of_Duplicates: 5
|
||||
# The separator used to separate the book title and the book author
|
||||
Title-Author_Separator: ","
|
||||
# The separator used to denote a new line in the book lore
|
||||
Lore_line_separator: "~"
|
||||
# A list of books given to new players the first time they join the server
|
||||
Books_for_new_players: [ ]
|
||||
# An optional message displayed to new players the first time they join the server
|
||||
Message_for_new_players: ""
|
||||
# Price settings for book copying
|
||||
Price_to_create_book:
|
||||
# The item type used as currency for copying books. Use "Economy" to use money instead of items
|
||||
Item_type: ""
|
||||
# The quantity of currency required to pay for each book produced
|
||||
Required_quantity: 0
|
||||
# Whether any admin can decrypt any book regardless of the group it was encrypted for
|
||||
Admin_Auto_Decrypt: false
|
||||
# Whether to only allow the author of a book to create copies
|
||||
Author_Only_Copy: false
|
||||
# Whether to automatically format every book when it's signed
|
||||
Format_Book_After_Signing: false
|
||||
|
Reference in New Issue
Block a user