★ Founding developer program: Pro free for 90 days for the first 50 developers →
DocsFAQ & troubleshooting

FAQ & troubleshooting

Short answers to what plugin and mod developers ask most. Missing data? Start with the checklist.

Updated · by Skilled

Does it lag the server?

No. Tracking an event is a map lookup in memory. Batches are small summaries built every minute on a low-priority background thread and sent over one open connection; the HTTPS fallback uses 5- and 10-second timeouts. The performance sampler (only for plugins on Premium) looks at the main thread about ten times a second from its own thread, and event handlers and commands get two clock reads per call. If you want none of the sampling or timing, call analytics.autoPerformance(false).

Can I use it next to bStats?

Yes. They don't share anything: each is relocated into your plugin and has its own config file. bStats is great for public server counts; PluginAnalytics answers product questions such as which features are used, where players drop and which errors hurt.

Does it work on offline-mode servers?

Yes. Players are identified by a salted hash of the UUID the server gives them, whatever it is. Each server reports whether it runs in online mode.

What about BungeeCord and Velocity networks?

Both work. Plugins on the backend servers use the Bukkit SDK as usual, and each backend server counts as a server. Proxy plugins use the Velocity or BungeeCord SDK, where the proxy counts as one server with the players of the whole network. Players aren't matched across servers, because each server has its own salt: one person on three backends counts as three players. Proxies and mods

What if several plugins on one server use the SDK?

That's what relocation is for: each plugin has its own copy, its own thread and its own batches, and none can affect the others. They share plugins/PluginAnalytics/config.yml, so the server owner turns them all on or off at once.

Does it work on Folia?

Yes. Events, properties, funnels, config usage, errors, logs, spans, notices and feedback all work. Folia has no single main thread, so the main-thread sampler, the automatic timing of handlers and commands, automatic command events, the automatic /<plugin> report and suggest subcommands and MSPT are skipped; call report and suggest from your own command instead. Details

Which Minecraft and Java versions are supported?

Minecraft 1.8 through the latest release, on any Java version from 8 up: the SDK is compiled for Java 8 against the 1.8.8 API. Proxy plugins and mods: the BungeeCord, Fabric and NeoForge SDKs also target Java 8; the Velocity SDK needs Java 21, like Velocity itself.

How long is data kept?

Daily data (servers per day, events, errors per day, logs, performance, listing stats) is kept 100 days on Free, of which the last 90 are shown, 400 days on Pro, with 1 year shown, and 760 days on Premium, with 2 years shown. Records that aren't daily (servers, players' first times used by funnels, error issues, log groups, feedback, bug reports and ideas) follow the same limit, counted from when each was last seen or sent. Everything else stays until the plugin is deleted.

How do I delete data?

Delete the plugin in Settings → Danger zone, or your whole account in Profile. Everything is deleted for good, and servers still running the plugin are ignored from then on. Details

Why are my numbers different from SpigotMC's?

SpigotMC counts downloads, including updates by people who already have your plugin, and test servers or servers that never start the plugin never send data. On our side a server counts once it sends its first batch, and not at all when its owner turned analytics off. Listing views are only counted where the tag is shown and images load. SpigotMC's image proxy hides who is viewing, so there every load counts as a view.

Why is a server I just started missing?

Its first batch is sent 15 to 45 seconds after startup and is written right away. After that it sends data every minute, plus one when the plugin is disabled. The checklist

Is the project key a secret?

No. It's meant to ship inside your jar: it can only send data to your project, never read it. Reading your data needs your dashboard account.

What happens if PluginAnalytics is unreachable?

Nothing visible, and the servers keep running normally. The SDK never throws; a batch that can't be delivered is kept in memory and merged into the next one. While the live connection is down the SDK keeps trying to reconnect (backing off up to 30 minutes) and sends over HTTPS once an hour meanwhile. A batch the service refuses for good (for example an unknown key) is dropped.

Can I see what a specific player did?

No, by design. Players only exist as hashes that differ on every server, and the dashboard shows counts, reach and funnels, never individuals.