Coder Social home page Coder Social logo

Comments (11)

lucko avatar lucko commented on August 17, 2024 4

Without the option set, your server effectively is running in offline mode, as the server doesn't attempt to authenticate itself, and it doesn't use the data forwarded by the proxy.

It absolutely is reliable.

In the case given above:

  • Online --> The server is authenticating itself.
  • Offline --> The server is not authenticating, at all.
  • Offline (Bungee) --> The server may or may not be authenticating, but we do at least know it's running behind a proxy - not just plain offline mode.

from bstats.

Bastian avatar Bastian commented on August 17, 2024 2

That's indeed an other problem: If I change it now, the chart would be completely useless for quite a long time

  • Online -> Normal server with online mode true
  • Offline -> Maybe a server which uses an old bStats version and is behind a bungeecord, maybe it's not authenticated at all and maybe it's behind a bungeecord but hasn't the option enabled.
  • Offline (Bungeecord) -> The server may or not be authenticated, but at least it seems like it's using Bungeecord

I would rather create a new "Uses Bungeecord" pie-chart than modifying the old one. That's doesn't solve the issue with the online-mode chart ofc. and it may also contain false-positives.

from bstats.

Phoenix616 avatar Phoenix616 commented on August 17, 2024 2

There is another possible way to detect whether or not a server is using online-mode or offline-mode:
The UUID of a player which will always be a version 4 UUID for online-mode and a version 3 UUID for offline-mode. This requires at least one player being logged in though or some kind of accessing of the player files/cache.

from bstats.

Bastian avatar Bastian commented on August 17, 2024

The problem is, that there's no reliable way to check if a server is running behind a Bungeecord proxy or not.

from bstats.

lucko avatar lucko commented on August 17, 2024
boolean isBungee = Bukkit.getServer().spigot().getConfig().getBoolean("settings.bungeecord", false);

from bstats.

RadBuilder avatar RadBuilder commented on August 17, 2024

@lucko Still not a reliable way to check. The option can be false while using or not using BungeeCord.

from bstats.

 avatar commented on August 17, 2024

my server in offline mode behind bungee with bungeecord true 🤔

from bstats.

ryantheleach avatar ryantheleach commented on August 17, 2024

There's an additional issue that the server may be vanilla forge and entirely trusting bungee to auth.

But having at least some measure is better then none, but it would take a long, long time for the stats to correlate as people updated.

from bstats.

lucko avatar lucko commented on August 17, 2024

If I change it now, the chart would be completely useless for quite a long time

You're effectively saying: I'm not going to bother to ever update my software because some people won't update to the new versions. In my opinion that is totally crazy. :)

A new chart will kind of solve it, but I still think it's less useful.

The aim is to be able to see the distribution of online mode servers to offline mode servers - without the added interference from offline mode due to a proxy. Adding a separate chart for Bungee/Not Bungee doesn't really solve that.

You're right, for a while the data won't be representative, but it's not representative at the moment either! (hence the reason for this issue) As more people update their bStats version, the data will become more accurate.

from bstats.

ryantheleach avatar ryantheleach commented on August 17, 2024

Adding a chart for Bungee/Not Bungee would effectively solve it. As you can have the new counts that would be a somewhat accurate sample (disregarding biases)

As more things update, the sample size merely gets larger. You could always add a onlinemode-nobungee and a offlinemode-nobungee to that same new chart, and get the information you are looking for but in a smaller sample.

from bstats.

ryantheleach avatar ryantheleach commented on August 17, 2024

@o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o It would be more for global tracking then anything, doesn't necessarily have to show on your plugins page.

If you would like to have things hidden from your plugins page, I suggest you make a separate issue allowing the customization of plugin pages.

Also, did you really need to choose an intentionally disruptive github username?

from bstats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.