Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2136

problems getting players gamemode on bungeecord

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Bungeecord #1142
      Spigot 1.9.2 (latest version)
      Java 1.8.0_77
      Ubuntu 14.04 LTS

      Hi,

      we have some problems when a player get 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.

      I will give you an example:
      Player enter /gamemode 3
      Server will change the players gamemode correctly to gm 3
      BungeeCord tablist still get gamemode 0 (using method: ((UserConnection) ProxiedPlayer).getGamemode())
      Player get invisible and fly, but can't passthrough blocks.

      We 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.

            Unassigned Unassigned
            Fchen Mario Fridrichovsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: