Added some of tinie_snipah's changes to enable lore usage. Recommend additional testing before actually merging it. 

Proved rather unstable in testing, but then again, I was using an unstable version. Had to modify net.minecraft.server references to net.mincraft.server.v1_4_5. Unsure if this is an issue. Prison pearls in testing "failed to validate" and player was freed. Unsure of cause of this.