{"action":"created","issue":{"url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/issues/237","labels_url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/issues/237/comments","events_url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/issues/237/events","html_url":"https://github.com/WorldCretornica/PlotMe-Core/issues/237","id":64243676,"number":237,"title":"API feedback","user":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/labels/Help%20wanted","name":"Help wanted","color":"159818"},{"url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/labels/Improvement","name":"Improvement","color":"84b6eb"},{"url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/labels/Note","name":"Note","color":"fbca04"},{"url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/labels/Public%20Feedback%20Needed","name":"Public Feedback Needed","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"MattBDev","id":4009945,"avatar_url":"https://avatars.githubusercontent.com/u/4009945?v=3","gravatar_id":"","url":"https://api.github.com/users/MattBDev","html_url":"https://github.com/MattBDev","followers_url":"https://api.github.com/users/MattBDev/followers","following_url":"https://api.github.com/users/MattBDev/following{/other_user}","gists_url":"https://api.github.com/users/MattBDev/gists{/gist_id}","starred_url":"https://api.github.com/users/MattBDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattBDev/subscriptions","organizations_url":"https://api.github.com/users/MattBDev/orgs","repos_url":"https://api.github.com/users/MattBDev/repos","events_url":"https://api.github.com/users/MattBDev/events{/privacy}","received_events_url":"https://api.github.com/users/MattBDev/received_events","type":"User","site_admin":false},"milestone":null,"comments":34,"created_at":"2015-03-25T11:08:29Z","updated_at":"2015-04-12T21:09:52Z","closed_at":null,"body":"Noticed that your [spigot release](http://www.spigotmc.org/resources/plotme-official.2131/) asks for API feedback, and I [just added PlotMe support](https://github.com/TheArchives/Painter/blob/master/src/main/java/com/archivesmc/painter/integrations/PlotMeIntegration.java) to one of my plugins, [Painter](http://dev.bukkit.org/bukkit-plugins/painter/). I've yet to test it, though, since I don't personally use PlotMe.\r\n\r\nAnyway, what's up with the whole `Plot` vs `PlotId` business? This is the process I followed, feel free to correct me if I'm doing this wrong.\r\n\r\n* Grab a `PlotId` from an `ILocation`, which is aware of what world it points to\r\n* Grab the actual `Plot` using the `PlotID` (Constructed from a location that is aware of its world), and an `IWorld`\r\n* Check `plot.isAllowed(UUID)` to see if they can build\r\n\r\nThis seems a little weird to me - Why are there distinct `PlotId`s? If we must have them, why are they not aware of their world? Or, perhaps, why are there no convenience functions to get a `Plot` without having to worry about `PlotIds`?\r\n\r\nI'm aware that these are pretty minor complaints, and you guys make a great plugin, but I thought I'd provide some small feedback. Keep up the good work o/"},"comment":{"url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/issues/comments/92130420","html_url":"https://github.com/WorldCretornica/PlotMe-Core/issues/237#issuecomment-92130420","issue_url":"https://api.github.com/repos/WorldCretornica/PlotMe-Core/issues/237","id":92130420,"user":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T21:09:52Z","updated_at":"2015-04-12T21:09:52Z","body":"@MattBDev I mean, what should be expected to happen as a result, eg can people paint on roads, etc"}}