The Bukkit plugin AdminFun's source code.