I never told that i am good at python ( actually i am totally noob but i am trying to learn) , i just try to make something , also if you know a better way you can post it here , or even pm me to make it better !
I make this for mine server , and i shared here to help some people , nothing more nothing less . . .