Skip to content

Minecraft servers tracker built on Cloudflare Workers with Vue.js.

License

Notifications You must be signed in to change notification settings

MillionthOdin16/BradarrCraftStats

 
 

Repository files navigation

CraftStats

Node.js CI Language grade

Minecraft servers tracker built on Cloudflare Workers with Vue.js.

You can see it live on craftstats.net

Screenshot

Features

  • Fast, it's running on more than 200 datacenters worldwide thanks to the power of Cloudflare Workers
  • Historical players count of the last months
  • Fully responsive
  • UI to edit servers
  • Minecraft: Bedrock Edition support

Installation

  • Install Wrangler CLI
  • Install dependencies with npm install
  • Copy wrangler.example.toml to wrangler.toml
  • Create a KV namespace named KV_SERVERS and add its id in the wrangler.toml
  • Build the Vue.js frontend with cd frontend && npm install && npm run build
  • Publish to Workers with workers publish

Edit servers list

  • Add an edit token in the wrangler.toml by editing the value of SERVERS_EDIT_TOKEN
  • Go on /editor and change servers
  • Enter the token and save

Support for Minecraft: Bedrock Edition

As currently Workers doesn't support opening sockets connections, CraftStats uses by default MC-API.net to ping servers, but it doesn't support Bedrock servers.

If you want to add Bedrock servers, you can deploy the ping function to a serverless provider with Node.js support, like Scaleway Functions and set the PING_FUNCTION_URL in the wrangler.toml. This function is only used to ping servers and everything else is still done on Cloudflare Workers.

Credits

CraftStats is inspired by MineStats (by nathan818), which is unfortunately no longer maintained today.

About

Minecraft servers tracker built on Cloudflare Workers with Vue.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.5%
  • Vue 39.2%
  • SCSS 1.5%
  • Other 1.8%