Warns, mutes and bans are stored in the database. A history is available through !showhistory [player] and !showwarns has been merged into this.