| 
				     | 
				
| (6 intermediate revisions by 2 users not shown) | 
| Line 1: | 
Line 1: | 
 | ChatHistory is a standard [[Plug-ins|plug-in]] that is shipped with the [[BZFlag Source]] code. It logs all the chat text for all players for administrator to review. This is a helpful plug-in for resolving personal disputes on a server.
  |  | #REDIRECT [[Plug-ins]]  | 
 |    |  | 
 | ChatHistory is included in version 2.0.4 and later releases.
  |  | 
 |    |  | 
 | ==Usage==
  |  | 
 | When ChatHistory is loaded it will begin logging every line for every player that is in the game. It will log these lines in internal memory for as long as a player is on the server, or until a preset line limit is reached. The default line limit is 1000 lines. This limit can be changed by passing in a new limit when the plug-in is loaded as a [[Plug-ins#Parameters|parameter]]. All stored chat for a user is deleted when they leave the server.
  |  | 
 |    |  | 
 | The plug-in installs 2 custom / commands for administrators to use to review the stored chat logs.
  |  | 
 |    |  | 
 | ''/last''
  |  | 
 |  Usage: /last <NUMBER OF LINES> <CALLSIGN>
  |  | 
 | It us used to list the last <NUMBER OF LINES> of chat text for the specified callsign.
  |  | 
 |    |  | 
 | ''/flushchat''
  |  | 
 | Manualy flushes all stored chat.
  |  | 
 |    |  | 
 | ==History==
  |  | 
 | ChatHistory was one for the first plug-ins made for the 2.0.4 release.
  |  | 
 |    |  | 
 | [[Category:Development]]
  |  | 
 | [[Category:Plug-Ins]]
  |  |