Jemuz Multiple plugins already exist like minereset. If that doesn't suit your needs then please use the format in the read me first