{"action":"closed","issue":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1822","repository_url":"https://api.github.com/repos/SpigotMC/BungeeCord","labels_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1822/labels{/name}","comments_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1822/comments","events_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/1822/events","html_url":"https://github.com/SpigotMC/BungeeCord/issues/1822","id":145953384,"number":1822,"title":"problems getting players gamemode on bungeecord","user":{"login":"Fchen48","id":6956592,"avatar_url":"https://avatars.githubusercontent.com/u/6956592?v=3","gravatar_id":"","url":"https://api.github.com/users/Fchen48","html_url":"https://github.com/Fchen48","followers_url":"https://api.github.com/users/Fchen48/followers","following_url":"https://api.github.com/users/Fchen48/following{/other_user}","gists_url":"https://api.github.com/users/Fchen48/gists{/gist_id}","starred_url":"https://api.github.com/users/Fchen48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fchen48/subscriptions","organizations_url":"https://api.github.com/users/Fchen48/orgs","repos_url":"https://api.github.com/users/Fchen48/repos","events_url":"https://api.github.com/users/Fchen48/events{/privacy}","received_events_url":"https://api.github.com/users/Fchen48/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-05T10:50:00Z","updated_at":"2016-04-05T12:00:40Z","closed_at":"2016-04-05T12:00:40Z","body":"Hi,\r\nwe have some problems when a player gets gamemode spectator, he will be invisible and can't fly through blocks, he also has no access to the spectator menu. After hours of troubleshooting, we found that our own tablist plugin will create this issue, the problem is that the tablist should set the correct gamemode, but it doesn't.\r\nI will give you an example:\r\nPlayer enter /gamemode 3\r\nServer will change the players gamemode correctly to gm 3\r\nBungeeCord tablist still gets gamemode 0 (using method: ((UserConnection) ProxiedPlayer).getGamemode())\r\nPlayer gets invisible and fly, but can't passthrough blocks.\r\n\r\nWe tested it on our test environment and everything works fine, so after another 2-3 hour of troubleshooting, we found that if we set on BungeeCord config.yml ip-forward: true and on spigot.yml bungeecord: true the bungee receive the incorrect gamemode, in our case we received every time gm 0. If I change in spigot.yml to bungeecord: false, the server will receive the bungee IP instead of the players IP (which I know, because of reasons) and now it's possible to get the correct gamemode, problem with the following configuration is that we get another (wrong) UUID from the players, so it's no solution to change it to false."}}