Skip to content

LRRCommunity/boston

Repository files navigation

Boston

Tracker to dump chunk information / player position to obs/xpslit. Runs on 0.0.0.0:9292. Built for the Punch-A-Chunk challenge.

API

GET /

Returns the position of each player connected, the blocks they have broken and the items they have built (crafted or forged).

{
  "Test": {
    "objectsBroken": {
      "minecraft:dirt": 21,
      "minecraft:grass_block": 40,
      "minecraft:wooden_shovel": 1
    },
    "itemsBuilt": {},
    "playerPosition": {
      "left": -43,
      "middle": 74,
      "right": 3
    }
  }
}

GET /?chunkX=<x>&chunkZ=<z>

Returns the count of all solid blocks in an x,z chunk.

{
  "Dirt": 873,
  "Spruce Log": 32,
  "Redstone Ore": 18,
  "Iron Ore": 113,
  "Bedrock": 790,
  "Stone": 14595,
  "Granite": 832,
  "Diamond Ore": 3,
  "Grass Block": 251,
  "Coal Ore": 241,
  "Diorite": 675,
  "Andesite": 742,
  "Oak Planks": 104,
  "Oak Fence": 12,
  "Gravel": 475,
  "_solidBlocks": 19756
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages