The source code for the most recent version of Tim Clancy's MagicBookshelf plugin. See the development page here: http://dev.bukkit.org/bukkit-plugins/magicbookshelf/