Considered you are not new to the server and perfectly know which server's rules are, what you did is definitely not acceptable.
Sometimes you might get bored and tend to do silly things. If you manage to realize that your behaviour might lead you to a punishment, then disconnect, calm down, do something else then return and enjoy your stay once you are ready to do so.
I hope your ban is teaching you something.
Review date is set to 29th of March 2015.