User Interface - waffle-stomper/Ghostwriter GitHub Wiki
This page was last updated on 2021-02-27 for Ghostwriter 2.2.5 (Minecraft 1.16.1)
Edit Book Interface
Saving and Loading (importing from and exporting to file)
File Browser
Opens the file browser for saving & loading books
Disable AutoReload
Stops watching a book that you're modifying in an external editor
###Add signature pages Loads the book from mods/Ghostwriter/Signatures/default.ghb and adds it to the end of the book.
Preview Signed Book
Shows an approximation of the book after it has been signed. Since Minecraft uses different code to render signed and unsigned books, they can appear differently. This preview can't show all possible changes, (since some are applied by a multiplayer server when you sign a book), it will give you a rough idea of the look of the finished book.
Formatting Buttons
The buttons at the bottom of the screen insert the appropriate formatting character, either in the page, or the title.
Cut, Copy, & Paste
Copy Book and Paste Book
Transfers the book to and from the internal clipboard. The clipboard is preserved as long as Minecraft is running, so you can copy a book, close it, then open another and paste the text into it.
A & B
These are used to select a range of pages. If you want to select pages 4, 5, and 6, you'd go to page 4, hit 'A', then go to page 6 and hit 'B'.
Cut/Copy/Paste Pages
If no selection has been made with the A and B buttons, these will only affect the current page. If a valid range of pages has been selected, these will cut or copy them. I believe paste will insert the cut/copied pages after the current page, but I'm not 100% sure.
Remove Page
Deletes the current page.
Insert Blank Page
Inserts a blank page. Shifts any subsequent pages one to the right.
Remove Top Space
Removes whitespace from the start of the page.
File Browser
File system roots (left hand side)
In *nix you'll usually just get a / but in Windows there should be one button for each of your hard drives
Current path (top)
This shows which directory the file browser is in
Directory listing (middle)
Shows a list of directories and files in the current working directory, as well as two dots (..) that let you navigate to the parent directory
Filename field
Used for entering a filename when saving the current book
EXT button
Toggles whether or not the file extension is editable in the filename field
Load button
Loads the currently selected book to the clipboard (which you can then paste into a book with the Paste Book button)
AutoReload button
Loads the currently selected book and pastes it into the book you have open. It then watches the file and loads its contents into the book any time the file changes. This is useful for editing a book in an external editor, (e.g. Notepad++), while viewing your changes in Ghostwriter.
Save
Saves the book in the current working directory with the filename from the filename field
Cancel
Exits the file browser without making changes