I made this plugin because i didn't find one that suits my needs.
Functionality:
-scans for name change & it increments the counter (ct)
-when ct reaches 3 within 20s form the first change it displays a message
-when ct reaches 4 within 20s from the first change it kicks the player
Although it works, it seems that the print_chat message & the default game message "x changed name to y" appear with a small time delay on my machine.
I would like to know if there are any performance changes that can be made.
I'm still in the process of learning so i may induced some cpu intensive or inefficient code.