Overview
I coded this plugin based on a request posted on the MinerAp subreddit by user loveandpolitics. The purpose of this plugin is to allow users to easily create copies of books without having to struggle with the (currently) limited cut-and-paste.
The plugin simply adds three new recipes:
- Signed (written) book + Book & Quill = 2x Signed (written) book
- Signed (written) book + feather + ink sack + book = 2x Signed (written) book
- Signed (written) book + feather + ink sack = 1x Book & Quill
The first two simply make copies of signed books. The third recipe strips the existing title and author tags from a Written Book, making it into a Book & Quill for further editing, while keeping the text intact.
Features
- Two recipes to duplicate books from
- Shift-click support to duplicate multiple books at once
- Sophisticated permissions
- Includes PluginMetrics support
- Functions via NBTTags, instead of the volatile ItemStack.clone()
- Ability to restrict the copying of potentially exploited (or exploitable), enchanted books
Permissions
| Permission | Usage |
| bookdupe.copy | Allows for the copying of any book from any author |
| bookdupe.copy.self | Allows a user to copy books which belong to them |
| bookdupe.copy.others | Allows a user to copy books which do not belong to them |
| bookdupe.unsign | Allows a user to unsign any book from any author |
| bookdupe.unsign.self | Allows a user to unsign books which belong to them |
| bookdupe.unsign.others | Allows a user to unsign books which do not belong to them |
| bookdupe.enchanted | Allows a user to copy/unsign enchanted books |
| bookdupe.enchanted.transfer | Allows a user to retain the enchantment when copying/unsigning books |
Source
https://github.com/Indiv0/BookDupe
Download
http://dev.bukkit.org/server-mods/bookdupe/files/
Changelog
| Version | Changes | Compatible Builds |
| 1.16.0 | Update to 1.7.2 | 1.7.2 |
| 1.15.0 | Bugfix | 1.6.4 |
| Permissions fix | 1.6.2 | |
| Jar size optimization | ||
| 1.12.1 | Minor bugfix | 1.6.4 |
| 1.6.2 | ||
| 1.12.0 | Expanded permissions | 1.6.2 |
| Massive code restructuring and optimization | ||
| 1.11.0 | Moved to Mbapi | 1.5.2 R-1.0 |
| Inverted permissions | ||
| Added third recipe | ||
| Various minor fixes | ||
| 1.4.2 | Various fixes | 1.4.7 R-0.1 |
| Removed CB reliance | ||
| Forced Java 7 | ||
| 1.4.1 | Updated for Bukkit 1.4.6 | 1.4.6 R-0.1 |
| 1.4 | Fixed Java 6 compatibility | 1.4.2 R-0.2 |
| Fixed PluginMetrics implementation | 1.3.2 R-3.0 | |
| 1.3.1 | Built against Java 6u37 to ensure compatibility | 1.3.2 R-3.0 |
| 1.3 | The entire book copying system now functions through the transfer of NBTTags | 1.3.2 R-3.0 |
| Added config.yml along with some default configuration settings | 1.3.2 R-2.0 | |
| Added ability to check and restrict or allow the copying of books with illegitimate enchantments | ||
| 1.2.4 | Fixed spelling mistake on one of the error messages | 1.3.2 R-2.0 |
| 1.2.3 | Fixed bug introduced in 1.2.1 where user could not duplicate books at all due to an error in NBTTag checking | 1.3.2 R-2.0 |
| 1.2.2 | Added PluginMetrics support | 1.3.2 R-1.0 |
| 1.2.1 | Added the ability to restrict a player's ability to copy books (via permissions) | 1.3.2 R-1.0 |
| 1.2 | Added secondary recipe to craft multiple books | 1.3.2 R-1.0 |
| Added shift-click support to secondary recipe | ||
| 1.1 | Fixed a bug resulting from clicking the result slot twice in a row | Unknown |
| 1.0 | Books successfully duplicate when placed as a shapeless recipe | Unknown |
Bugs/TODO
All bugs and TODO information can be found on the issue tracker for this project on GitHub.
Credits
Thank you to AgentME for your contribution.

