{"action":"created","issue":{"url":"https://api.github.com/repos/TechFortress/GriefPrevention/issues/41","repository_url":"https://api.github.com/repos/TechFortress/GriefPrevention","labels_url":"https://api.github.com/repos/TechFortress/GriefPrevention/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/TechFortress/GriefPrevention/issues/41/comments","events_url":"https://api.github.com/repos/TechFortress/GriefPrevention/issues/41/events","html_url":"https://github.com/TechFortress/GriefPrevention/issues/41","id":188941774,"number":41,"title":"Random claimblocks","user":{"login":"Pixiio","id":1338827,"avatar_url":"https://avatars.githubusercontent.com/u/1338827?v=3","gravatar_id":"","url":"https://api.github.com/users/Pixiio","html_url":"https://github.com/Pixiio","followers_url":"https://api.github.com/users/Pixiio/followers","following_url":"https://api.github.com/users/Pixiio/following{/other_user}","gists_url":"https://api.github.com/users/Pixiio/gists{/gist_id}","starred_url":"https://api.github.com/users/Pixiio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pixiio/subscriptions","organizations_url":"https://api.github.com/users/Pixiio/orgs","repos_url":"https://api.github.com/users/Pixiio/repos","events_url":"https://api.github.com/users/Pixiio/events{/privacy}","received_events_url":"https://api.github.com/users/Pixiio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-12T23:43:39Z","updated_at":"2016-11-18T16:34:53Z","closed_at":null,"body":"Still getting reports of players getting random claimblocks. I'll enable debug again.\r\nIt looks like they are getting them after restarts. \r\n\r\n^ The plugin does disable properly.\r\n[12:56:33] [Server thread/INFO]: [GriefPrevention] Disabling GriefPrevention v15.3\r\n[12:56:33] [Server thread/INFO]: [GriefPrevention] GriefPrevention disabled.\r\n\r\nEdit: So I found the problem. The players that have random claimblocks got random accruedblocks.\r\nDon't really know how that is possible because:\r\n\r\nInitialBlocks: 250\r\nClaim Blocks Accrued Per Hour:\r\n  Default: 0\r\n  With 'fasteraccrual' Permission: 110\r\n  With 'fastestaccrual' Permission: 125\r\nMax Accrued Claim Blocks:\r\n  Default: 250\r\n  With 'moreaccrued' Permission: 5000\r\n  With 'mostaccrued' Permission: 10000\r\nAbandonReturnRatio: 1.0\r\n\r\nI've set it all to 250 again through SQL but it's still very weird...\r\nAny idea how they are getting them?"},"comment":{"url":"https://api.github.com/repos/TechFortress/GriefPrevention/issues/comments/261576808","html_url":"https://github.com/TechFortress/GriefPrevention/issues/41#issuecomment-261576808","issue_url":"https://api.github.com/repos/TechFortress/GriefPrevention/issues/41","id":261576808,"user":{"login":"RoboMWM","id":4625696,"avatar_url":"https://avatars.githubusercontent.com/u/4625696?v=3","gravatar_id":"","url":"https://api.github.com/users/RoboMWM","html_url":"https://github.com/RoboMWM","followers_url":"https://api.github.com/users/RoboMWM/followers","following_url":"https://api.github.com/users/RoboMWM/following{/other_user}","gists_url":"https://api.github.com/users/RoboMWM/gists{/gist_id}","starred_url":"https://api.github.com/users/RoboMWM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoboMWM/subscriptions","organizations_url":"https://api.github.com/users/RoboMWM/orgs","repos_url":"https://api.github.com/users/RoboMWM/repos","events_url":"https://api.github.com/users/RoboMWM/events{/privacy}","received_events_url":"https://api.github.com/users/RoboMWM/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T16:34:53Z","updated_at":"2016-11-18T16:34:53Z","body":"Well, more like any anomalies or patterns you've noticed, i.e. they happen when people first login after being inactive for months/only initially when they login, etc.\r\n\r\nThe mentioned commit might have something to do with it, since it assumes the player has (practically) no limit if they are somehow offline when we're determining their claim block limit. (I haven't had time to trace all the various ways this code is called.) Since I've now re-instated the singular, global limit, this case should be avoided entirely (and in fact, even with the API available now, an addon could replicate this functionality by \"accruing\" bonus claim blocks for the player when AccrueClaimBlockEvent is called)."}}
{"actor":{"display_login":"RoboMWM"}}