First of all I would like to say that I do NOT intend to carry out such an attack on a website!
But I would only be interested in whether this is punishable because that happened today on a Minecraft server on which I play.
Yes that is punishable.
What are DDOS attacks?
DDOS attacks are when someone sends so many fake requests to a server via a program that the server crashes.
Yes, it is
Yes, not just on a Minecraft server. Anything outside of your own network, for DDOS, is prohibited.
Yes, is punishable.
https://dejure.org/gesetze/StGB/303b.html