Plugin-Metrics
Plugin-Metrics copied to clipboard
Fix BungeeCord support to use BungeeCord's own GUID
Hey, So after talking to md_5, creator of bungeecord, I discovered BungeeCord already "implements" metrics to keep track of how many servers run bungee, and as such has it's own GUID. This PR changes the GUID to use bungeecord's.
Also, the way to opt-out of metrics in bungeecord is to set the GUID to "null" in the config. As such, I added a check in isOptOut to see if the GUID was changed to null.
Out of curiosity, if you're still active, are you able to update this PR to not have conflicts on the latest version? If so, I can immediately merge it.
If not, it is no problem and I'll look through this after I have a Bungee test server and can then test it on Bungee.