{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/e4c43bb794d0e177e39716a6584db3d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e4c43bb794d0e177e39716a6584db3d2","url":"https://api.github.com/users/geekahedron","login":"geekahedron","id":1170864},"assignee":null,"updated_at":"2011-11-14T16:03:05Z","labels":[],"closed_at":null,"comments":5,"url":"https://api.github.com/repos/nossr50/mcMMO/issues/122","body":"I'm not having any issues *per se*, but whenever I turn on debug mode in my permissions plugin (PermissionsEx v1.15.1), my console is immediately and constantly flooded with permission checks from mcMMO, even if no actions are taking place. The spam is multiplied for every user that is logged into the server.\r\n\r\nFor example, when I am the only player logged in (and doing absolutely nothing, my console looks something like a wall of the following:\r\n```[INFO] User geekahedron checked for \"mcmmo.ability.herbalism\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.axes\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.woodcutting\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.mining\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.excavation\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.swords\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.unarmed\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.herbalism\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.axes\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.woodcutting\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.mining\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.excavation\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.swords\", \"mcmmo.ability.*\" found \r\n[INFO] User geekahedron checked for \"mcmmo.ability.unarmed\", \"mcmmo.ability.*\" found ```\r\n\r\nThese abilities are being check once every second, for a whopping 420 lines of output per minute *per user* while permissions are being logged. I only run permissions in debug mode when I am, well, trying to debug something, and the flood of message from this plugin exacerbates the difficulty of that task tenfold.\r\n\r\nJust how often do you anticipate that the permissions of a player to use a certain ability are going to be changed? I have to wonder if the constant checking is really necessary. If it is possible to perform the check only when permissions are reloaded, that would seem to be the ideal. At worst, the plugin could check permissions only when an ability is actually being used.\r\n\r\nNot only is the spam in the console annoying to weed through in debug mode, I have to think that it's causing a huge amount of extraneous disk activity to continually confirm settings that are not being actively used and, on my server and I would think in most cases, not likely to ever change.","html_url":"https://github.com/nossr50/mcMMO/issues/122","title":"Permissions constantly being checked","number":122,"id":2198743,"created_at":"2011-11-10T15:11:58Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/de2c63d2bfb310cb2e1ac1e80e39991f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"de2c63d2bfb310cb2e1ac1e80e39991f","url":"https://api.github.com/users/MonsterTKE","login":"MonsterTKE","id":918968},"updated_at":"2011-11-14T16:03:05Z","url":"https://api.github.com/repos/nossr50/mcMMO/issues/comments/2732114","body":"No. No cheat could cache the permissions just like McMMO could. Im sure this will be addressed once minecraft is in a more final state. I assume alot of plugins as well as craftbukkit itself will start working to improve performance once minecraft is out of beta.\r\n\r\nIn the mean time, it is github. If you see a better way to do it feel free to change it and issue a pull request.","id":2732114,"created_at":"2011-11-14T16:03:05Z"}}