{"action":"created","issue":{"url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/1891","labels_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/1891/labels{/name}","comments_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/1891/comments","events_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/1891/events","html_url":"https://github.com/PEXPlugins/PermissionsEx/issues/1891","id":57675731,"number":1891,"title":"Reloading PEX breaks PEX","user":{"login":"wesley27","id":6373363,"avatar_url":"https://avatars.githubusercontent.com/u/6373363?v=3","gravatar_id":"","url":"https://api.github.com/users/wesley27","html_url":"https://github.com/wesley27","followers_url":"https://api.github.com/users/wesley27/followers","following_url":"https://api.github.com/users/wesley27/following{/other_user}","gists_url":"https://api.github.com/users/wesley27/gists{/gist_id}","starred_url":"https://api.github.com/users/wesley27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesley27/subscriptions","organizations_url":"https://api.github.com/users/wesley27/orgs","repos_url":"https://api.github.com/users/wesley27/repos","events_url":"https://api.github.com/users/wesley27/events{/privacy}","received_events_url":"https://api.github.com/users/wesley27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-14T01:38:10Z","updated_at":"2015-02-14T09:32:10Z","closed_at":null,"body":"My server uses MCMA to manage ranks. Anytime there is a change in MCMA ranks and it exports to PEX and reloads it, or when any other plugin reloads PEX, PEX stops working. All groups and permissions break and don't work, as if they don't exist. I have to restart the server to fix it. \r\n\r\nThere is never a console stack trace or error, but I have evidence that this happens. This is obviously a major issue as many plugins and MCMA need to export/reload PEX without any issues.\r\n\r\nhttp://pastebin.com/1evAnBjn\r\n\r\nYou can see in that console log that players ranks and perms were working, then I changed a rank in MCMA, it exported and reloaded PEX, and then ranks and permissions stopped working.\r\n\r\nI know there isn't a stack trace so you may not know where to start, but I can tell you that this issue started occurring when we updated from PEX v1.21.4 to v1.22. So, something changed between 1.21.4 and 1.22 that is altering what happens when PEX is reloaded by another plugin/source, because before v1.22 this issue didn't happen."},"comment":{"url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/comments/74368444","html_url":"https://github.com/PEXPlugins/PermissionsEx/issues/1891#issuecomment-74368444","issue_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/1891","id":74368444,"user":{"login":"Stormbow","id":6828702,"avatar_url":"https://avatars.githubusercontent.com/u/6828702?v=3","gravatar_id":"","url":"https://api.github.com/users/Stormbow","html_url":"https://github.com/Stormbow","followers_url":"https://api.github.com/users/Stormbow/followers","following_url":"https://api.github.com/users/Stormbow/following{/other_user}","gists_url":"https://api.github.com/users/Stormbow/gists{/gist_id}","starred_url":"https://api.github.com/users/Stormbow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stormbow/subscriptions","organizations_url":"https://api.github.com/users/Stormbow/orgs","repos_url":"https://api.github.com/users/Stormbow/repos","events_url":"https://api.github.com/users/Stormbow/events{/privacy}","received_events_url":"https://api.github.com/users/Stormbow/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T09:32:10Z","updated_at":"2015-02-14T09:32:10Z","body":"If you're using the /reload command, yes, it breaks everything actually.  That's actually a vanilla command which Mojang is responsible for fixing, and they couldn't care less about it.  (It's been broken for years.)\r\n\r\nThe /pex reload command should work fine for ... reloading PEX.  *gasps*"}}