Source Code from https://www.spigotmc.org/resources/topluck.45738
You're totally free to modify it while you give credit to the original creator of this code, me.
Just know that this plugin was inspired by a private one with the same name on FuzeIII's Server : Paladium.