CopyBooks - Copy written books
CopyBooks was made out of a plugin request. It supports/will support saving books for later restroring, replacing text in a book, copy only pages into another book, unsigning books, unlimited access for a specific book from signs, selling/buying books, getting books based on the permissions group when you spawn. All is already done except the buying selling, copy pages and replacing. But it will be no big deal. This plugin is in pre-alpha and not tested. The source is available on github so feel free to push pull requests. At the moment I have to hook the net.minecraft code directly, because the api is not yet implementd in bukkit. This means it only runns on CraftBukkit.
Features:
- Save books
- Restore books
- Getting books when a player spawns
- Getting books through signs
- Setting up commands for books
- Selling/buying books
Upcoming features:
- Format pages like center
- Replace text in books
- Copy only specific pages
- Convert text files to books (maybe even word documents :P)
- Dispense books from dispensers :P
Installation
You have to compile it at the moment yourself because its in pre-alpha. But it's easy if you have some basic knowenledge about git and maven. First clone the repo with git clone [path] and do then mvn clean install. This depends on a working git and maven installation.
Configuration
It is almost self explaining. The 2 settings you can do atm in the config is the group based book spawn when a player joins and the command based books. A better explanation will follow here :P
Commands
- /cb copy- Copies the book you are holding
- /cb create [id] - Creates a book from an id
- /cb list - Lists all copied books
- /cb unsign - Unsigns a book
Sign-Syntax
Unlimited book sign:
[CopyBooks]
id
Sell/Buy sign:
[Seller]
[Seller if the name is longer than 15]
Id:Amount
Price
Example:
p000ison
[A super cool story]
3:1
6.3
Additional info
To-Do
Setup jenkins- Fixing bugs for daus
- Fixing small bugs
- Add upcoming features