Installation
The ShardAnalytics plugin collects player sessions, gameplay events, and server telemetry. It runs on Paper servers, and it only makes outbound HTTPS connections, so you never open an inbound port.
Prerequisites
Section titled “Prerequisites”- A Paper server.
- Java 21 available to the server process.
- A ShardAnalytics organization with an existing server entry. Create one in the dashboard during onboarding if you have not already.
Install the plugin
Section titled “Install the plugin”- Open your server’s Download page in the ShardAnalytics dashboard and download the latest connector build.
- Place the
.jarin your server’splugins/directory. - Restart the server.
Configure
Section titled “Configure”Run the setup command from the server console and confirm it:
/shardanalytics setapikey <your-api-key> confirmThe command saves the key on the server, reloads the connector, and starts authentication. The confirm argument is required; the key is not accepted without it.
Verify
Section titled “Verify”Confirm the connector is authenticated and collecting:
/shardanalytics statsThe output reports the authentication state, whether an API key is configured, the server name and ID, collection queue state, and transmission statistics. See Verify Data for the full check, including the dashboard side.