Jump to content

/DumpStats: Difference between revisions

From fCraft Wiki
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|purpose=Computes some PlayerDB statistics.
|purpose=Computes some PlayerDB statistics.
|aliases=
|aliases=
|uses=/DumpStats FileName.txt
|uses=/DumpStats <File.txt>
 
/DumpStats <File.txt> <Time>
|cat=Maintenance
|cat=Maintenance
|perm=[[EditPlayerDB]]
|perm={{rperm|EditPlayerDB}}
|console=Yes
|console=Yes
|v=0.500
|v=0.490
|}}
|}}
Computes and saves a number of statistics about the server to a given text file. Statistics include average blocks built/deleted, average time spent, average messages written, etc. Statistics are broken down by rank. Second optional parameter has been introduced in fCraft {{Changelog|0.642}}.
==<code>/DumpStats <FileName.txt></code>==
:Dumps stats for active (within 31 days), non-banned players. Note that for security reasons, the target file must be in the fCraft folder and must end in <code>.txt</code>.


==<code>/DumpStats FileName.txt</code>==
==<code>/DumpStats <FileName.txt> <TimeSpan></code>==
Computes and saves a number of statistics about the server to a given text file. Statistics include average blocks built/deleted, average time spent, average messages written, etc. Statistics are broken down by rank. Only active, non-banned players are counted. Note that for security reasons, the target file must be in the fCraft folder.
:Same as above, but uses a custom timespan to determine player inactivity instead of the default 31 days.  


{{LastUpdated|605}}
{{LastUpdated|2150}}

Latest revision as of 11:05, 25 August 2013

Command
DumpStats

Computes some PlayerDB statistics.

Usage

/DumpStats <File.txt>

/DumpStats <File.txt>

CategoryMaintenance
Required permissionsEditPlayerDB
Usable from console?Yes
Introduced infCraft 0.490

Computes and saves a number of statistics about the server to a given text file. Statistics include average blocks built/deleted, average time spent, average messages written, etc. Statistics are broken down by rank. Second optional parameter has been introduced in fCraft 0.642.

/DumpStats <FileName.txt>

Dumps stats for active (within 31 days), non-banned players. Note that for security reasons, the target file must be in the fCraft folder and must end in .txt.

/DumpStats <FileName.txt> <TimeSpan>

Same as above, but uses a custom timespan to determine player inactivity instead of the default 31 days.