What Im trying to do is after a player places a block, the block, located by its XYZ coords, is given an ID(int), aswell as who placed it(playername).
Im sure I need to use the BlockPlaceEvent to do this, but Im not sure how I would give it an ID, and who placed it.
Then after that when the block is broken, it needs to check the player's name that broke it and compare it to who placed it, if they match, the block is broken, if not, the block isnt.
Any ideas how to do this?
PS: This needs to be done for EVERY block placed.