diff --git a/src/App.tsx b/src/App.tsx index 2d87830..5f96cae 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -30,6 +30,7 @@ const DeveloperTermsPage = React.lazy(() => import('./pages/legal/DeveloperTerms const LegalNoticePage = React.lazy(() => import('./pages/legal/LegalNoticePage')); const AdminPanel = React.lazy(() => import('./pages/admin/AdminPanel')); + const PageLoader = () => (
+ Personal access tokens allow external tools, CI/CD pipelines, and Minecraft servers to securely call the Pumpkin Market REST API without exposing your account password. +
++ Make sure to copy your token now. For your security, you will not be able to view this token again after leaving this page. +
+
+ {createdRawKey}
+
+
+
+ Loading your API keys…
+ ) : apiKeys.length === 0 ? ( +No API keys generated yet.
++ Generate your first token above to start automating plugin downloads with curl or scripts. +
+
+ {k.keyPrefix}
+
+
+ Pass your token in the Authorization: Bearer header to authenticate directly with the REST API:
+
+ curl -H "Authorization: Bearer pmk_your_token_here" \
+ https://market.pumpkinmc.org/api/v1/rest/plugins/1/download -o my_plugin.wasm
+
+ Analyzing Global Distribution...
+Analyzing Global Telemetry & Distribution...
Visualizing user activity across the globe
++ Visualizing active Minecraft servers and player reach reported via telemetry +
| Country | +Game Servers | +Online Players | +Web Visitors | +Downloads | +
|---|---|---|---|---|
| + {row.countryName} ({row.country}) + | ++ {row.servers} + | ++ {row.players} + | ++ {row.visitors} + | ++ {row.freeDownloads} + | +
+ Direct metrics reported by Minecraft production servers running {pluginName} on Pumpkin & Vine. +
+