{"action":"created","issue":{"url":"https://api.github.com/repos/webbukkit/dynmap/issues/1916","repository_url":"https://api.github.com/repos/webbukkit/dynmap","labels_url":"https://api.github.com/repos/webbukkit/dynmap/issues/1916/labels{/name}","comments_url":"https://api.github.com/repos/webbukkit/dynmap/issues/1916/comments","events_url":"https://api.github.com/repos/webbukkit/dynmap/issues/1916/events","html_url":"https://github.com/webbukkit/dynmap/issues/1916","id":141815469,"number":1916,"title":"Dynmap Causing Mob and Chunk Issues","user":{"login":"Enf0","id":825808,"avatar_url":"https://avatars.githubusercontent.com/u/825808?v=3","gravatar_id":"","url":"https://api.github.com/users/Enf0","html_url":"https://github.com/Enf0","followers_url":"https://api.github.com/users/Enf0/followers","following_url":"https://api.github.com/users/Enf0/following{/other_user}","gists_url":"https://api.github.com/users/Enf0/gists{/gist_id}","starred_url":"https://api.github.com/users/Enf0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enf0/subscriptions","organizations_url":"https://api.github.com/users/Enf0/orgs","repos_url":"https://api.github.com/users/Enf0/repos","events_url":"https://api.github.com/users/Enf0/events{/privacy}","received_events_url":"https://api.github.com/users/Enf0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":75,"created_at":"2016-03-18T09:30:54Z","updated_at":"2016-04-08T15:05:07Z","closed_at":null,"body":"I've been experiencing issues with mobs and chunks \"freezing\" and came over this thread on Reddit with several people experiencing the same, and apparently dynmap might be the culprit.\r\n\r\n> I have been having issue with dynmap recently, For some reason when dynmap is installed, in random chunks arrows will become frozen, mobs will freeze (Can't interact with them), and you cant pick up items. This only happens in some chunks, and a restart only changes what chunk(s) it happens in. I am using the latest version of Bukkit from the Spigot Team, and the latest dynmap snapshot. This problem only started with recent updates of bukkit (It worked fine on a 1.9 build that is 36(ish) versions behind, I have tried many different builds in between the one where it worked and the most current)\r\nPlugins:\r\nEssentials\r\nLogblock\r\nPermissionsEx\r\nDynmap (Not in the plugin folder due to above issue)\r\nAll of the above plugins work fine together when Dynmap is installed, I have also tried removing the others and keeping Dynmap, but it is definitely when Dynmap is installed.\r\nAny help would be greatly appreciated! Thanks!\r\n-gganno\r\n\r\nhttps://www.reddit.com/r/admincraft/comments/4av4az/dynmap_causing_mob_and_chunk_issues_bukkit_19/"},"comment":{"url":"https://api.github.com/repos/webbukkit/dynmap/issues/comments/207470075","html_url":"https://github.com/webbukkit/dynmap/issues/1916#issuecomment-207470075","issue_url":"https://api.github.com/repos/webbukkit/dynmap/issues/1916","id":207470075,"user":{"login":"mikeprimm","id":654487,"avatar_url":"https://avatars.githubusercontent.com/u/654487?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeprimm","html_url":"https://github.com/mikeprimm","followers_url":"https://api.github.com/users/mikeprimm/followers","following_url":"https://api.github.com/users/mikeprimm/following{/other_user}","gists_url":"https://api.github.com/users/mikeprimm/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeprimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeprimm/subscriptions","organizations_url":"https://api.github.com/users/mikeprimm/orgs","repos_url":"https://api.github.com/users/mikeprimm/repos","events_url":"https://api.github.com/users/mikeprimm/events{/privacy}","received_events_url":"https://api.github.com/users/mikeprimm/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T15:05:07Z","updated_at":"2016-04-08T15:05:07Z","body":"Not actually true - if we load a chunk, and are done with it before ticking, there is no point in saving the chunk: which is why I have always used unloadChunk() with save=false : that just discards the chunk without requiring it to be saved.  Doing a normal unload, even queued, is pointless overhead, since a chunk loaded for no other reason than a dynmap render cannot and should not result in a meaningful update of its state.  If the chunk was in the process of being unloaded normally (it wasn't 'active', but was in the unload queue), then it was unloadChunkRequest() was used to restore it back into the unload queue (and assure normal saving of any pending changes).  On Forge, I can go a step better and just load the NBT data asynchronously, avoiding the cost of 'activating' the chunk, and allowing me to just toss the structure loaded when I'm done - way cleaner, and less of a lag concern."}}