I have a Minecraft server and I play with friends on it.
We did a spawn in creative mode where you spawn first.
But I'm afraid of the e.g. Broken by player or creeper.
You can't mine blocks on servers like GommeHD or HyPixel.
Does anyone know how to do that?
With spawn protection
Plugin
You seem to be a beginner in such things, so I recommend you
WorldGuard (plugin, requires WorldEdit)
or
Adventure Mode (xD) and / gamerule doMobGriefing false (so that the creeper doesn't "grind" blocks)
How old are you?
Better wait a little longer. You don't seem to know yourself at all. Either you take a course on how to program and install plugins and deal intensively with servers, IT and the logic of Minecraft how it works etc., or you just leave it alone.