How could I make a server side grid system for placing blocks?

How could I make a grid on the server side for blocks that players can place down.

I’m looking for something similar to Minecraft, a server side grid with blocks that can be placed on said grid and on top of other blocks in said grid.

Any help appreciated!

use remote fire to server when place block