Anyway, there ya go... You can just put those together and you're done ( you still need to add plugin.yml )
Players are supposed to either tap/break the block... (can be set on config) I just need to fix BlockBreakEvent...