{"action":"created","issue":{"url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/2464","repository_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx","labels_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/2464/labels{/name}","comments_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/2464/comments","events_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/2464/events","html_url":"https://github.com/PEXPlugins/PermissionsEx/issues/2464","id":165260898,"number":2464,"title":"createUserRecords not saving default groups to user?","user":{"login":"Tyloonie","id":19597444,"avatar_url":"https://avatars.githubusercontent.com/u/19597444?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyloonie","html_url":"https://github.com/Tyloonie","followers_url":"https://api.github.com/users/Tyloonie/followers","following_url":"https://api.github.com/users/Tyloonie/following{/other_user}","gists_url":"https://api.github.com/users/Tyloonie/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyloonie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyloonie/subscriptions","organizations_url":"https://api.github.com/users/Tyloonie/orgs","repos_url":"https://api.github.com/users/Tyloonie/repos","events_url":"https://api.github.com/users/Tyloonie/events{/privacy}","received_events_url":"https://api.github.com/users/Tyloonie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-13T08:04:21Z","updated_at":"2016-07-13T22:32:05Z","closed_at":"2016-07-13T21:00:57Z","body":"Hi PEX,\r\n\r\nI have in all ways tried to make PEX save users, who are still in the default group - but without having to manually add them to a group my self.\r\n\r\nI tried using the createUserRecords, but after relogging this is what it turned out as.\r\n\r\n```yaml\r\n0ce4e7f1-87bd-42d8-82cf-d0a05fd0fbb5:\r\n    group: []\r\n    options:\r\n      name: Tyloonie\r\n```\r\n\r\nAs you can see, it does not save the default group to the player. Only UUID and Name. \r\nI do not know if this is a bug, but I think the feature to save default groups should really be added to PEX.\r\n\r\nMaybe I've just missed a setting somewhere in the config?\r\n```yaml\r\nmultiserver:\r\n  use-netevents: true\r\npermissions:\r\n  debug: false\r\n  allowOps: false\r\n  user-add-groups-last: false\r\n  log-players: false\r\n  createUserRecords: true\r\n  backend: file\r\n  informplayers:\r\n    changes: false\r\n  basedir: plugins/PermissionsEx\r\n  backends:\r\n    file:\r\n      type: file\r\n      file: permissions.yml\r\nupdater: true\r\nalwaysUpdate: false\r\n```\r\n\r\nYour guide on how to set up the config.yml (https://github.com/PEXPlugins/PermissionsEx/wiki/Plugin-Configuration) also seems a bit outdated. The \"log-players\" function is not even in there yet and it does not explain what createUserRecords does.\r\n\r\nSo, how is it possible to save players, who are only in the default group in the permissions.yml - WITH THE GROUP? \r\n\r\nThank you very much, Gentlemen."},"comment":{"url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/comments/232506406","html_url":"https://github.com/PEXPlugins/PermissionsEx/issues/2464#issuecomment-232506406","issue_url":"https://api.github.com/repos/PEXPlugins/PermissionsEx/issues/2464","id":232506406,"user":{"login":"zml2008","id":629092,"avatar_url":"https://avatars.githubusercontent.com/u/629092?v=3","gravatar_id":"","url":"https://api.github.com/users/zml2008","html_url":"https://github.com/zml2008","followers_url":"https://api.github.com/users/zml2008/followers","following_url":"https://api.github.com/users/zml2008/following{/other_user}","gists_url":"https://api.github.com/users/zml2008/gists{/gist_id}","starred_url":"https://api.github.com/users/zml2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zml2008/subscriptions","organizations_url":"https://api.github.com/users/zml2008/orgs","repos_url":"https://api.github.com/users/zml2008/repos","events_url":"https://api.github.com/users/zml2008/events{/privacy}","received_events_url":"https://api.github.com/users/zml2008/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T22:32:05Z","updated_at":"2016-07-13T22:32:05Z","body":"Yeah, that's the usecase I've heard of before. In that case, it's valid to want to do that. The change shouldn't be too huge, so I can probably spin off a build at some point in the next few weeks (I'm right in the middle of some big internal changes to 2.0 at the moment)"}}
{"actor":{"display_login":"zml2008"}}