Minecraft Dupe Fixing Plugin
You can find the build server here: http://ci.myles.us Aswell as the bukkitdev here: http://dev.bukkit.org/bukkit-mods/dupepatch/
You are free to examine and modify the code as long as you do not publish this code as your own and if used give full credit to the author (MylesC)