Problem with own java lib

Implement a message rate limiting system in your bot to keep track of just how fast you are sending messages to chat. If you are sending a large burst of messages into chat, that is reason for a ban. I would suggest dropping all of your messages into a processing queue and handling them as the queue times out based on what user type you are in chat at that time (Individual per room, so if you are connecting to multiple rooms, it is better to err on the side of caution and go with the user rate limit).

As with what 3ventic said, this is NOT IP based, it is based on just how fast you are sending messages.