title: Minecraft Plugin: Get Block Type at specific coordinates
body: <p>I am just learning how to create inventory GUIs in Minecraft. I am adding one to my call of duty zombies game that I have already built just to make it a little bit better. My problem is that when people buy team upgrades I need the inventory options to change to reflect what they have bought and what they have not bought.</p>
  
  <p>The way I was planning to do this was to simply check for scoreboard tags that are assigned to them when they purchase an item. However, I couldn't find a way to do this.</p>
  
  <p>My next thought was to have it so that when they buy each upgrade it sets a block at specific coordinates to a certain material. for this example lets just say cords (100, 50, 200) and type Sandstone. If the block was sandstone then it will open up a whole separate UI that i would make allowing them to buy upgrade two. This process would repeat until all upgrades were bought with the block at cords 100, 50, 200 changing as upgrades were bought.</p>
  
  <p>I have really a few questions.</p>
  
  <ol>
  <li><p>Is there a better way to do this and if so please explain.</p></li>
  <li><p>Even if there isn't a good way I would still like to know how in a plugin to set a block at specific coordinates not relative to the player to a certain block type.</p></li>
  <li><p>Even if there isn't a good way I would also still like to know how to check what type of block is at a specific set of coordinates not relative to the player.</p></li>
  </ol>
  
  <p>I didn't think code examples were necessary here but if you need any please let me know and I can edit them in.</p>
  
  <p>Thanks in advance for any help you can provide,
  ~Stone</p>