{"action":"created","issue":{"url":"https://api.github.com/repos/KiwiFisher/MobStacker/issues/2","repository_url":"https://api.github.com/repos/KiwiFisher/MobStacker","labels_url":"https://api.github.com/repos/KiwiFisher/MobStacker/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/KiwiFisher/MobStacker/issues/2/comments","events_url":"https://api.github.com/repos/KiwiFisher/MobStacker/issues/2/events","html_url":"https://github.com/KiwiFisher/MobStacker/pull/2","id":152903881,"number":2,"title":"Load existing stacks when chunks load","user":{"login":"Jikoo","id":1353270,"avatar_url":"https://avatars.githubusercontent.com/u/1353270?v=3","gravatar_id":"","url":"https://api.github.com/users/Jikoo","html_url":"https://github.com/Jikoo","followers_url":"https://api.github.com/users/Jikoo/followers","following_url":"https://api.github.com/users/Jikoo/following{/other_user}","gists_url":"https://api.github.com/users/Jikoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Jikoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jikoo/subscriptions","organizations_url":"https://api.github.com/users/Jikoo/orgs","repos_url":"https://api.github.com/users/Jikoo/repos","events_url":"https://api.github.com/users/Jikoo/events{/privacy}","received_events_url":"https://api.github.com/users/Jikoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-04T00:19:41Z","updated_at":"2016-05-11T04:30:19Z","closed_at":"2016-05-11T03:08:05Z","pull_request":{"url":"https://api.github.com/repos/KiwiFisher/MobStacker/pulls/2","html_url":"https://github.com/KiwiFisher/MobStacker/pull/2","diff_url":"https://github.com/KiwiFisher/MobStacker/pull/2.diff","patch_url":"https://github.com/KiwiFisher/MobStacker/pull/2.patch"},"body":"Bukkit's metadata is not persistent, unfortunately. This prevents issues with stacked mobs becoming a single named mob when chunks unload by parsing names when loading chunks.\r\n\r\nBecause spawn reason is lost, options such as `mob-nerfing` won't apply to reloaded stacks. On servers where players are allowed access to nametags which can mimic the MobStacker format this could allow players to name mobs, leave, and return to a freshly created stack. To combat this, there's an additional configuration section:\r\n``` YAML\r\n# Should previously stacked mobs be loaded back when chunks load? Note that spawn reason is lost, so options such as mob-nerfing will have no effect.\r\nload-existing-stacks:\r\n    enabled: true\r\n    mob-types:\r\n        - CHICKEN\r\n        - COW\r\n        - HORSE\r\n        - OCELOT\r\n        - PIG\r\n        - RABBIT\r\n        - SNOWMAN\r\n        - SHEEP\r\n        - SQUID\r\n        - VILLAGER\r\n        - WOLF\r\n```\r\nThis way, users with farms won't be penalized for keeping stacked animals, but users with grinders still lose out by leaving without taking care of their mobs."},"comment":{"url":"https://api.github.com/repos/KiwiFisher/MobStacker/issues/comments/218359024","html_url":"https://github.com/KiwiFisher/MobStacker/pull/2#issuecomment-218359024","issue_url":"https://api.github.com/repos/KiwiFisher/MobStacker/issues/2","id":218359024,"user":{"login":"Jikoo","id":1353270,"avatar_url":"https://avatars.githubusercontent.com/u/1353270?v=3","gravatar_id":"","url":"https://api.github.com/users/Jikoo","html_url":"https://github.com/Jikoo","followers_url":"https://api.github.com/users/Jikoo/followers","following_url":"https://api.github.com/users/Jikoo/following{/other_user}","gists_url":"https://api.github.com/users/Jikoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Jikoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jikoo/subscriptions","organizations_url":"https://api.github.com/users/Jikoo/orgs","repos_url":"https://api.github.com/users/Jikoo/repos","events_url":"https://api.github.com/users/Jikoo/events{/privacy}","received_events_url":"https://api.github.com/users/Jikoo/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T04:30:19Z","updated_at":"2016-05-11T04:30:19Z","body":"Quick comment based on a skim of the diff - your UUID system does not appear to function across server restarts, correct me if I'm wrong."}}