{"action":"created","issue":{"url":"https://api.github.com/repos/TechzoneMC/SpawnShield/issues/1","repository_url":"https://api.github.com/repos/TechzoneMC/SpawnShield","labels_url":"https://api.github.com/repos/TechzoneMC/SpawnShield/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/TechzoneMC/SpawnShield/issues/1/comments","events_url":"https://api.github.com/repos/TechzoneMC/SpawnShield/issues/1/events","html_url":"https://github.com/TechzoneMC/SpawnShield/issues/1","id":76055050,"number":1,"title":"WorldGuard Region priority not respected ! ","user":{"login":"paris-ci","id":3063324,"avatar_url":"https://avatars.githubusercontent.com/u/3063324?v=3","gravatar_id":"","url":"https://api.github.com/users/paris-ci","html_url":"https://github.com/paris-ci","followers_url":"https://api.github.com/users/paris-ci/followers","following_url":"https://api.github.com/users/paris-ci/following{/other_user}","gists_url":"https://api.github.com/users/paris-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/paris-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paris-ci/subscriptions","organizations_url":"https://api.github.com/users/paris-ci/orgs","repos_url":"https://api.github.com/users/paris-ci/repos","events_url":"https://api.github.com/users/paris-ci/events{/privacy}","received_events_url":"https://api.github.com/users/paris-ci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Techcable","id":4615889,"avatar_url":"https://avatars.githubusercontent.com/u/4615889?v=3","gravatar_id":"","url":"https://api.github.com/users/Techcable","html_url":"https://github.com/Techcable","followers_url":"https://api.github.com/users/Techcable/followers","following_url":"https://api.github.com/users/Techcable/following{/other_user}","gists_url":"https://api.github.com/users/Techcable/gists{/gist_id}","starred_url":"https://api.github.com/users/Techcable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Techcable/subscriptions","organizations_url":"https://api.github.com/users/Techcable/orgs","repos_url":"https://api.github.com/users/Techcable/repos","events_url":"https://api.github.com/users/Techcable/events{/privacy}","received_events_url":"https://api.github.com/users/Techcable/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-05-13T17:00:21Z","updated_at":"2016-02-15T23:04:22Z","closed_at":null,"body":"Good plugin. But... When you are in two regions at a time\r\n````\r\n==========  .. spawn_miniwarzone == Spawn\r\n=   .... =\r\n=   .... =\r\n==========\r\n````\r\nexample : Spawn (no pvp; priority 100) and spawn_miniwarzone (In the spawn region; pvp allowed; priority 200)\r\nIf someone pvp'ed in spawn_miniwarzone, they are knockbaced by the plugin :/ That's bad !\r\nAnyway good job !"},"comment":{"url":"https://api.github.com/repos/TechzoneMC/SpawnShield/issues/comments/184434480","html_url":"https://github.com/TechzoneMC/SpawnShield/issues/1#issuecomment-184434480","issue_url":"https://api.github.com/repos/TechzoneMC/SpawnShield/issues/1","id":184434480,"user":{"login":"Techcable","id":4615889,"avatar_url":"https://avatars.githubusercontent.com/u/4615889?v=3","gravatar_id":"","url":"https://api.github.com/users/Techcable","html_url":"https://github.com/Techcable","followers_url":"https://api.github.com/users/Techcable/followers","following_url":"https://api.github.com/users/Techcable/following{/other_user}","gists_url":"https://api.github.com/users/Techcable/gists{/gist_id}","starred_url":"https://api.github.com/users/Techcable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Techcable/subscriptions","organizations_url":"https://api.github.com/users/Techcable/orgs","repos_url":"https://api.github.com/users/Techcable/repos","events_url":"https://api.github.com/users/Techcable/events{/privacy}","received_events_url":"https://api.github.com/users/Techcable/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T23:04:22Z","updated_at":"2016-02-15T23:04:22Z","body":"The issue is calculating the edges of a region (at least for forcefeilding).\r\nI assume all regions are squares, and calculate the edges like that.\r\nFor forcefielding, I could switch to the algorithm used by CombatTagPlus, which is just brute-force calculating what is the edges (which would work on all regions).\r\n\r\nThe general issue though, is that when you configure a region (for example spawn), to be blocked it assumes the _entire_ region should be blocked.\r\nWhat I could do is make it possible for regions to be 'unblocked', so the plugin doesn't knock people back (as if they were in the region).\r\nThis issue also arises with forcefielding, so I have to fix it before I switch forcefielding algorithms."}}