plan-player-analytics / Plan

Player Analytics plugin for Minecraft Server platforms - View player activity of your server with ease. :calendar:
https://www.spigotmc.org/resources/plan-player-analytics.32536/
GNU Lesser General Public License v3.0
876 stars 170 forks source link

Network mode on non proxy server #3683

Open Axtazer opened 4 months ago

Axtazer commented 4 months ago

What I want

I would like to be able to define a non proxy server as a Network host. As we have several individual servers (no proxy link) and we could see all their data on the same page.

Why, we could need this ?

This feature could be cool like when we have some different project and we just want to see all the data on the same page without going to the page of every server. And other cases I guess.

How could it work ?

In my idea we could define a non proxy server as a network host in the basic configuration file. When this is enable the "network host" work like the proxy version. But he also collect his own data and received the one of the others server of the network.

The common thing in the proxy version of Plan is that they used the same database. So we just should use the same for all the server we want for our network. And disable the Web server on the server that doesn't host the network.

So we got only one web server online, the one who host the network. And we get one database for every server like how the proxy version do. And so we get every data server on the same page.

PS

For me we should just re-used the system of the proxy version of Plan and just adapt it for if we want to enable the network (so proxy version) and still enable the data collection of the host server. My English might be bad or some explanations might be bad. Please let me know so that I can rephrase or explain my suggestion in more detail.

I hope I be clear. And I still open to any questions if necessary or other ^^

AuroraLS3 commented 4 months ago

Currently the data of all servers can be viewed on one web server if all servers are connected to the same database, by clicking the compass on top left of the sidebar.

This limits what you see somewhat since network page offers some more aggregates like network wide stuff, but I see this ticket intending to solve that