mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 16:37:58 +01:00
1739 lines
72 KiB
HTML
1739 lines
72 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="fi">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_112) on Sun May 14 15:04:21 EEST 2017 -->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>AnalysisData (Plan 3.1.1 API)</title>
|
|
<meta name="date" content="2017-05-14">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="AnalysisData (Plan 3.1.1 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/AnalysisData.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../../../../main/java/com/djrapitops/plan/data/DemographicsData.html" title="class in main.java.com.djrapitops.plan.data"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../index.html?main/java/com/djrapitops/plan/data/AnalysisData.html" target="_top">Frames</a></li>
|
|
<li><a href="AnalysisData.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">main.java.com.djrapitops.plan.data</div>
|
|
<h2 title="Class AnalysisData" class="title">Class AnalysisData</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>main.java.com.djrapitops.plan.data.AnalysisData</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">AnalysisData</span>
|
|
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
|
<div class="block">This class is used to store result data from Analysis at runtime.
|
|
|
|
Most of the variables need to be set with various set methods, as they are
|
|
not initialized in a constructor.</div>
|
|
<dl>
|
|
<dt><span class="simpleTagLabel">Since:</span></dt>
|
|
<dd>2.0.0</dd>
|
|
<dt><span class="simpleTagLabel">Author:</span></dt>
|
|
<dd>Rsl1122</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/utilities/Analysis.html" title="class in main.java.com.djrapitops.plan.utilities"><code>Analysis</code></a>,
|
|
<a href="../../../../../../main/java/com/djrapitops/plan/utilities/PlaceholderUtils.html" title="class in main.java.com.djrapitops.plan.utilities"><code>PlaceholderUtils</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#AnalysisData--">AnalysisData</a></span>()</code>
|
|
<div class="block">Class constructor.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getActive--">getActive</a></span>()</code>
|
|
<div class="block">Retrieve the amount of active players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getAdditionalDataReplaceMap--">getAdditionalDataReplaceMap</a></span>()</code>
|
|
<div class="block">Get the additional data replaceMap used with Analysis replacerules.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getAverageAge--">getAverageAge</a></span>()</code>
|
|
<div class="block">Get the average age of the players whose age has been gathered</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getAveragePlayTime--">getAveragePlayTime</a></span>()</code>
|
|
<div class="block">Get How long players have played on average.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getBanned--">getBanned</a></span>()</code>
|
|
<div class="block">Used to get the amount of banned players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getCommandUseListHtml--">getCommandUseListHtml</a></span>()</code>
|
|
<div class="block">Used to get the html for the commands table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>int[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGenderData--">getGenderData</a></span>()</code>
|
|
<div class="block">Get the integer array containing 3 numbers.
|
|
|
|
0 Male, 1 Female, 2 Unknown.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGeomapCodes--">getGeomapCodes</a></span>()</code>
|
|
<div class="block">Used to get the toString representation of a String[] containing all
|
|
country codes on the Plotly.js Chloropleth map.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGeomapCountries--">getGeomapCountries</a></span>()</code>
|
|
<div class="block">Used to get the toString representation of a String[] containing all
|
|
countries on the Plotly.js Chloropleth map.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGeomapZ--">getGeomapZ</a></span>()</code>
|
|
<div class="block">Used to get the toString representation of a int[] containing all player
|
|
amounts on the Plotly.js Chloropleth map.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGm0Perc--">getGm0Perc</a></span>()</code>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGm1Perc--">getGm1Perc</a></span>()</code>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGm2Perc--">getGm2Perc</a></span>()</code>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getGm3Perc--">getGm3Perc</a></span>()</code>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getInactive--">getInactive</a></span>()</code>
|
|
<div class="block">Set the amount of inactive players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getJoinleaver--">getJoinleaver</a></span>()</code>
|
|
<div class="block">Used to get the amount of players who have joined only once.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getNewPlayersDay--">getNewPlayersDay</a></span>()</code>
|
|
<div class="block">Get the amount of registered players in last 24 hours.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getNewPlayersMonth--">getNewPlayersMonth</a></span>()</code>
|
|
<div class="block">Get the amount of registered players in last 30 days.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getNewPlayersWeek--">getNewPlayersWeek</a></span>()</code>
|
|
<div class="block">Get the amount of registered players in last 7 days.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getOps--">getOps</a></span>()</code>
|
|
<div class="block">Get How many operators are on the server.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getPlayersDataArray--">getPlayersDataArray</a></span>()</code>
|
|
<div class="block">Used to store all arrays created in
|
|
Analysis#createPlayerActivityGraphs().
|
|
|
|
0, 2, 4 contain data. 1, 3, 5 contain labels.
|
|
|
|
0, 1 day; 2, 3 week; 4, 5 month</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getRecentPlayers--">getRecentPlayers</a></span>()</code>
|
|
<div class="block">Get the html for Recent player buttons.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getRefreshDate--">getRefreshDate</a></span>()</code>
|
|
<div class="block">Retrieve the refresh Epoch millisecond this object's data was calculated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getSessionAverage--">getSessionAverage</a></span>()</code>
|
|
<div class="block">Get the average length of every session on the server.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getSortablePlayersTable--">getSortablePlayersTable</a></span>()</code>
|
|
<div class="block">Used to get the html for players table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotal--">getTotal</a></span>()</code>
|
|
<div class="block">Get the total amount of players used to calculate activity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalCommands--">getTotalCommands</a></span>()</code>
|
|
<div class="block">Get the total number of unique commands.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalDeaths--">getTotalDeaths</a></span>()</code>
|
|
<div class="block">Get how many times the playes have died.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalLoginTimes--">getTotalLoginTimes</a></span>()</code>
|
|
<div class="block">Get How many times players have joined in total.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalMobKills--">getTotalMobKills</a></span>()</code>
|
|
<div class="block">Get the amount of mob kills the players have.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalPlayerKills--">getTotalPlayerKills</a></span>()</code>
|
|
<div class="block">Get the amount of times players have killed each other.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalPlayers--">getTotalPlayers</a></span>()</code>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#getTotalPlayTime--">getTotalPlayTime</a></span>()</code>
|
|
<div class="block">Get how long time has been played, long in ms.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setActive-int-">setActive</a></span>(int active)</code>
|
|
<div class="block">Set the amount of active players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setAdditionalDataReplaceMap-java.util.Map-">setAdditionalDataReplaceMap</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> additionalDataReplaceMap)</code>
|
|
<div class="block">Set the additional data replaceMap used with Analysis replacerules.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setAverageAge-double-">setAverageAge</a></span>(double averageAge)</code>
|
|
<div class="block">Set the average age of the players whose age has been gathered.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setAveragePlayTime-long-">setAveragePlayTime</a></span>(long averagePlayTime)</code>
|
|
<div class="block">Set the average playtime of all players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setBanned-int-">setBanned</a></span>(int banned)</code>
|
|
<div class="block">Used to set the amount of banned players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setCommandUseTableHtml-java.lang.String-">setCommandUseTableHtml</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commandsTableHtml)</code>
|
|
<div class="block">Used to get the html for the commands table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGenderData-int:A-">setGenderData</a></span>(int[] genderData)</code>
|
|
<div class="block">Set the integer array containing 3 numbers.
|
|
|
|
0 Male, 1 Female, 2 Unknown.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGeomapCodes-java.lang.String-">setGeomapCodes</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> geomapCodes)</code>
|
|
<div class="block">Used to set the toString representation of a String[] containing all
|
|
country codes on the Plotly.js Chloropleth map.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGeomapCountries-java.lang.String-">setGeomapCountries</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> geomapCountries)</code>
|
|
<div class="block">Used to set the toString representation of a String[] containing all
|
|
countries on the Plotly.js Chloropleth map.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGeomapZ-java.lang.String-">setGeomapZ</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> geomapZ)</code>
|
|
<div class="block">Used to set the toString representation of a int[] containing all player
|
|
amounts on the Plotly.js Chloropleth map.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGm0Perc-double-">setGm0Perc</a></span>(double gm0Perc)</code>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGm1Perc-double-">setGm1Perc</a></span>(double gm1Perc)</code>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGm2Perc-double-">setGm2Perc</a></span>(double gm2Perc)</code>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setGm3Perc-double-">setGm3Perc</a></span>(double gm3Perc)</code>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i48" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setInactive-int-">setInactive</a></span>(int inactive)</code>
|
|
<div class="block">Set the amount of inactive players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i49" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setJoinleaver-int-">setJoinleaver</a></span>(int joinleaver)</code>
|
|
<div class="block">Used to set the amount of players who have joined only once.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setNewPlayersDay-int-">setNewPlayersDay</a></span>(int newPlayersDay)</code>
|
|
<div class="block">Set the amount of registered players in last 24 hours.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i51" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setNewPlayersMonth-int-">setNewPlayersMonth</a></span>(int newPlayersMonth)</code>
|
|
<div class="block">Set the amount of registered players in last 30 days.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i52" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setNewPlayersWeek-int-">setNewPlayersWeek</a></span>(int newPlayersWeek)</code>
|
|
<div class="block">Set the amount of registered players in last 7 days.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i53" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setOps-int-">setOps</a></span>(int ops)</code>
|
|
<div class="block">Set the amount of operators.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i54" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setPlayersDataArray-java.lang.String:A-">setPlayersDataArray</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] playersDataArray)</code>
|
|
<div class="block">Used to store all arrays created in
|
|
Analysis#createPlayerActivityGraphs().
|
|
|
|
0, 2, 4 contain data. 1, 3, 5 contain labels.
|
|
|
|
0, 1 day; 2, 3 week; 4, 5 month</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i55" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setRecentPlayers-java.lang.String-">setRecentPlayers</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> recentPlayers)</code>
|
|
<div class="block">Set the html for Recent player buttons.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i56" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setRefreshDate-long-">setRefreshDate</a></span>(long refreshDate)</code>
|
|
<div class="block">Set the refresh Epoch millisecond this object's data was calculated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i57" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setSessionAverage-long-">setSessionAverage</a></span>(long sessionAverage)</code>
|
|
<div class="block">Set the average length of every session on the server.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i58" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setSortablePlayersTable-java.lang.String-">setSortablePlayersTable</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sortablePlayersTable)</code>
|
|
<div class="block">Used to set the html for players table.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i59" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotal-int-">setTotal</a></span>(int total)</code>
|
|
<div class="block">Set the total amount of players used to calculate activity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i60" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotalCommands-long-">setTotalCommands</a></span>(long totalCommands)</code>
|
|
<div class="block">Set the total number of unique commands.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i61" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotaldeaths-long-">setTotaldeaths</a></span>(long totaldeaths)</code>
|
|
<div class="block">Set how many times the playes have died.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i62" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotalkills-long-">setTotalkills</a></span>(long totalkills)</code>
|
|
<div class="block">Set the amount of times players have killed each other.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i63" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotalLoginTimes-long-">setTotalLoginTimes</a></span>(long totalLoginTimes)</code>
|
|
<div class="block">Set How many times playes have logged in.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i64" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotalmobkills-long-">setTotalmobkills</a></span>(long totalmobkills)</code>
|
|
<div class="block">Set the amount of mob kills the players have.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i65" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotalPlayers-int-">setTotalPlayers</a></span>(int totalPlayers)</code>
|
|
<div class="block">Get the Total number of players according to bukkit's data.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i66" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../main/java/com/djrapitops/plan/data/AnalysisData.html#setTotalPlayTime-long-">setTotalPlayTime</a></span>(long totalPlayTime)</code>
|
|
<div class="block">Set how long time has been played, long in ms.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="AnalysisData--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>AnalysisData</h4>
|
|
<pre>public AnalysisData()</pre>
|
|
<div class="block">Class constructor.
|
|
|
|
All data has to be set with setters to avoid NPEs.</div>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="equals-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>equals</h4>
|
|
<pre>public boolean equals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAdditionalDataReplaceMap-java.util.Map-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAdditionalDataReplaceMap</h4>
|
|
<pre>public void setAdditionalDataReplaceMap(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> additionalDataReplaceMap)</pre>
|
|
<div class="block">Set the additional data replaceMap used with Analysis replacerules.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>additionalDataReplaceMap</code> - Map with placeholder keys %key%, value</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/utilities/PlaceholderUtils.html" title="class in main.java.com.djrapitops.plan.utilities"><code>PlaceholderUtils</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAdditionalDataReplaceMap--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAdditionalDataReplaceMap</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getAdditionalDataReplaceMap()</pre>
|
|
<div class="block">Get the additional data replaceMap used with Analysis replacerules.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>a Map with placeholder keys %key%, value</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGeomapCountries--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGeomapCountries</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getGeomapCountries()</pre>
|
|
<div class="block">Used to get the toString representation of a String[] containing all
|
|
countries on the Plotly.js Chloropleth map.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>["Finland","Sweden","Etc.."]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGeomapCountries-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGeomapCountries</h4>
|
|
<pre>public void setGeomapCountries(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> geomapCountries)</pre>
|
|
<div class="block">Used to set the toString representation of a String[] containing all
|
|
countries on the Plotly.js Chloropleth map.
|
|
|
|
Incorrect value will break the Chloropleth map on analysis.html page.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>geomapCountries</code> - ["Finland","Sweden","Etc.."]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGeomapZ--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGeomapZ</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getGeomapZ()</pre>
|
|
<div class="block">Used to get the toString representation of a int[] containing all player
|
|
amounts on the Plotly.js Chloropleth map.
|
|
|
|
Must contain same amount of numbers as countries in GeomapCountries.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>[0,0,0,3,0,Etc..]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGeomapZ-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGeomapZ</h4>
|
|
<pre>public void setGeomapZ(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> geomapZ)</pre>
|
|
<div class="block">Used to set the toString representation of a int[] containing all player
|
|
amounts on the Plotly.js Chloropleth map.
|
|
|
|
Must contain same amount of numbers as countries in GeomapCountries.
|
|
Incorrect amount will break the Chloropleth map on analysis.html page.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>geomapZ</code> - [0,0,0,3,0,Etc..]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGeomapCodes--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGeomapCodes</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getGeomapCodes()</pre>
|
|
<div class="block">Used to get the toString representation of a String[] containing all
|
|
country codes on the Plotly.js Chloropleth map.
|
|
|
|
Must contain same amount of numbers as countries in GeomapCountries.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>["PNG","KHM","KAZ","PRY","SYR","SLB","MLI","Etc.."]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGeomapCodes-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGeomapCodes</h4>
|
|
<pre>public void setGeomapCodes(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> geomapCodes)</pre>
|
|
<div class="block">Used to set the toString representation of a String[] containing all
|
|
country codes on the Plotly.js Chloropleth map.
|
|
|
|
Must contain same amount of numbers as countries in GeomapCountries.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>geomapCodes</code> - ["PNG","KHM","KAZ","PRY","SYR","SLB","MLI","Etc.."]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSortablePlayersTable--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSortablePlayersTable</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getSortablePlayersTable()</pre>
|
|
<div class="block">Used to get the html for players table.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Html string.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/tables/SortablePlayersTableCreator.html" title="class in main.java.com.djrapitops.plan.ui.tables"><code>SortablePlayersTableCreator</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSortablePlayersTable-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSortablePlayersTable</h4>
|
|
<pre>public void setSortablePlayersTable(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sortablePlayersTable)</pre>
|
|
<div class="block">Used to set the html for players table.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>sortablePlayersTable</code> - Html string.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/tables/SortablePlayersTableCreator.html" title="class in main.java.com.djrapitops.plan.ui.tables"><code>SortablePlayersTableCreator</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getJoinleaver--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getJoinleaver</h4>
|
|
<pre>public int getJoinleaver()</pre>
|
|
<div class="block">Used to get the amount of players who have joined only once.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Number from 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setJoinleaver-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setJoinleaver</h4>
|
|
<pre>public void setJoinleaver(int joinleaver)</pre>
|
|
<div class="block">Used to set the amount of players who have joined only once.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>joinleaver</code> - Number from 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getCommandUseListHtml--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCommandUseListHtml</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCommandUseListHtml()</pre>
|
|
<div class="block">Used to get the html for the commands table.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Html string.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/tables/SortableCommandUseTableCreator.html" title="class in main.java.com.djrapitops.plan.ui.tables"><code>SortableCommandUseTableCreator</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setCommandUseTableHtml-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCommandUseTableHtml</h4>
|
|
<pre>public void setCommandUseTableHtml(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> commandsTableHtml)</pre>
|
|
<div class="block">Used to get the html for the commands table.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>commandsTableHtml</code> - Html string.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/tables/SortableCommandUseTableCreator.html" title="class in main.java.com.djrapitops.plan.ui.tables"><code>SortableCommandUseTableCreator</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBanned--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBanned</h4>
|
|
<pre>public int getBanned()</pre>
|
|
<div class="block">Used to get the amount of banned players.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setBanned-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBanned</h4>
|
|
<pre>public void setBanned(int banned)</pre>
|
|
<div class="block">Used to set the amount of banned players.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>banned</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getActive--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getActive</h4>
|
|
<pre>public int getActive()</pre>
|
|
<div class="block">Retrieve the amount of active players.
|
|
|
|
Activity is determined by AnalysisUtils.isActive()</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Amount of active players</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/utilities/AnalysisUtils.html" title="class in main.java.com.djrapitops.plan.utilities"><code>AnalysisUtils</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setActive-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setActive</h4>
|
|
<pre>public void setActive(int active)</pre>
|
|
<div class="block">Set the amount of active players.
|
|
|
|
Activity is determined by AnalysisUtils.isActive()</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>active</code> - Amount of active players</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/utilities/AnalysisUtils.html" title="class in main.java.com.djrapitops.plan.utilities"><code>AnalysisUtils</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getInactive--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getInactive</h4>
|
|
<pre>public int getInactive()</pre>
|
|
<div class="block">Set the amount of inactive players.
|
|
|
|
Activity is determined by AnalysisUtils.isActive()</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Amount of inactive players</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/utilities/AnalysisUtils.html" title="class in main.java.com.djrapitops.plan.utilities"><code>AnalysisUtils</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setInactive-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setInactive</h4>
|
|
<pre>public void setInactive(int inactive)</pre>
|
|
<div class="block">Set the amount of inactive players.
|
|
|
|
Activity is determined by AnalysisUtils.isActive()</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>inactive</code> - Amount of inactive players</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/utilities/AnalysisUtils.html" title="class in main.java.com.djrapitops.plan.utilities"><code>AnalysisUtils</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotal--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotal</h4>
|
|
<pre>public int getTotal()</pre>
|
|
<div class="block">Get the total amount of players used to calculate activity.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotal-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotal</h4>
|
|
<pre>public void setTotal(int total)</pre>
|
|
<div class="block">Set the total amount of players used to calculate activity.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>total</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGm0Perc--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGm0Perc</h4>
|
|
<pre>public double getGm0Perc()</pre>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGm0Perc-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGm0Perc</h4>
|
|
<pre>public void setGm0Perc(double gm0Perc)</pre>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>gm0Perc</code> - 0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGm1Perc--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGm1Perc</h4>
|
|
<pre>public double getGm1Perc()</pre>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGm1Perc-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGm1Perc</h4>
|
|
<pre>public void setGm1Perc(double gm1Perc)</pre>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>gm1Perc</code> - 0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGm2Perc--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGm2Perc</h4>
|
|
<pre>public double getGm2Perc()</pre>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGm2Perc-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGm2Perc</h4>
|
|
<pre>public void setGm2Perc(double gm2Perc)</pre>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>gm2Perc</code> - 0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGm3Perc--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGm3Perc</h4>
|
|
<pre>public double getGm3Perc()</pre>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGm3Perc-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setGm3Perc</h4>
|
|
<pre>public void setGm3Perc(double gm3Perc)</pre>
|
|
<div class="block">Set percentage of Gamemode usage time as a whole.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>gm3Perc</code> - 0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalPlayers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalPlayers</h4>
|
|
<pre>public int getTotalPlayers()</pre>
|
|
<div class="block">Get percentage of Gamemode usage time as a whole.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0.0 to 1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotalPlayers-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotalPlayers</h4>
|
|
<pre>public void setTotalPlayers(int totalPlayers)</pre>
|
|
<div class="block">Get the Total number of players according to bukkit's data.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totalPlayers</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalPlayTime--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalPlayTime</h4>
|
|
<pre>public long getTotalPlayTime()</pre>
|
|
<div class="block">Get how long time has been played, long in ms.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotalPlayTime-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotalPlayTime</h4>
|
|
<pre>public void setTotalPlayTime(long totalPlayTime)</pre>
|
|
<div class="block">Set how long time has been played, long in ms.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totalPlayTime</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getRefreshDate--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRefreshDate</h4>
|
|
<pre>public long getRefreshDate()</pre>
|
|
<div class="block">Retrieve the refresh Epoch millisecond this object's data was calculated.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the refresh Epoch millisecond.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAveragePlayTime--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAveragePlayTime</h4>
|
|
<pre>public long getAveragePlayTime()</pre>
|
|
<div class="block">Get How long players have played on average.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>long in ms.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getAverageAge--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAverageAge</h4>
|
|
<pre>public double getAverageAge()</pre>
|
|
<div class="block">Get the average age of the players whose age has been gathered.
|
|
|
|
-1 if none have been gathered.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>-1 or from 1.0 to 99.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalLoginTimes--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalLoginTimes</h4>
|
|
<pre>public long getTotalLoginTimes()</pre>
|
|
<div class="block">Get How many times players have joined in total.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOps--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOps</h4>
|
|
<pre>public int getOps()</pre>
|
|
<div class="block">Get How many operators are on the server.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setRefreshDate-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setRefreshDate</h4>
|
|
<pre>public void setRefreshDate(long refreshDate)</pre>
|
|
<div class="block">Set the refresh Epoch millisecond this object's data was calculated.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>refreshDate</code> - Epoch millisecond.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAveragePlayTime-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAveragePlayTime</h4>
|
|
<pre>public void setAveragePlayTime(long averagePlayTime)</pre>
|
|
<div class="block">Set the average playtime of all players.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>averagePlayTime</code> - long in ms.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setAverageAge-double-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAverageAge</h4>
|
|
<pre>public void setAverageAge(double averageAge)</pre>
|
|
<div class="block">Set the average age of the players whose age has been gathered.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>averageAge</code> - 1.0 to 99.0 or -1 if none have been gathered.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotalLoginTimes-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotalLoginTimes</h4>
|
|
<pre>public void setTotalLoginTimes(long totalLoginTimes)</pre>
|
|
<div class="block">Set How many times playes have logged in.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totalLoginTimes</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setOps-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setOps</h4>
|
|
<pre>public void setOps(int ops)</pre>
|
|
<div class="block">Set the amount of operators.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ops</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getRecentPlayers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRecentPlayers</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getRecentPlayers()</pre>
|
|
<div class="block">Get the html for Recent player buttons.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>html string.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/RecentPlayersButtonsCreator.html" title="class in main.java.com.djrapitops.plan.ui"><code>RecentPlayersButtonsCreator</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setRecentPlayers-java.lang.String-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setRecentPlayers</h4>
|
|
<pre>public void setRecentPlayers(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> recentPlayers)</pre>
|
|
<div class="block">Set the html for Recent player buttons.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>recentPlayers</code> - html string.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/RecentPlayersButtonsCreator.html" title="class in main.java.com.djrapitops.plan.ui"><code>RecentPlayersButtonsCreator</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNewPlayersMonth--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNewPlayersMonth</h4>
|
|
<pre>public int getNewPlayersMonth()</pre>
|
|
<div class="block">Get the amount of registered players in last 30 days.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setNewPlayersMonth-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setNewPlayersMonth</h4>
|
|
<pre>public void setNewPlayersMonth(int newPlayersMonth)</pre>
|
|
<div class="block">Set the amount of registered players in last 30 days.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>newPlayersMonth</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNewPlayersWeek--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNewPlayersWeek</h4>
|
|
<pre>public int getNewPlayersWeek()</pre>
|
|
<div class="block">Get the amount of registered players in last 7 days.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setNewPlayersWeek-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setNewPlayersWeek</h4>
|
|
<pre>public void setNewPlayersWeek(int newPlayersWeek)</pre>
|
|
<div class="block">Set the amount of registered players in last 7 days.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>newPlayersWeek</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNewPlayersDay--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNewPlayersDay</h4>
|
|
<pre>public int getNewPlayersDay()</pre>
|
|
<div class="block">Get the amount of registered players in last 24 hours.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setNewPlayersDay-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setNewPlayersDay</h4>
|
|
<pre>public void setNewPlayersDay(int newPlayersDay)</pre>
|
|
<div class="block">Set the amount of registered players in last 24 hours.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>newPlayersDay</code> - 0 to Integer.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalPlayerKills--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalPlayerKills</h4>
|
|
<pre>public long getTotalPlayerKills()</pre>
|
|
<div class="block">Get the amount of times players have killed each other.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalMobKills--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalMobKills</h4>
|
|
<pre>public long getTotalMobKills()</pre>
|
|
<div class="block">Get the amount of mob kills the players have.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalDeaths--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalDeaths</h4>
|
|
<pre>public long getTotalDeaths()</pre>
|
|
<div class="block">Get how many times the playes have died.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotalkills-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotalkills</h4>
|
|
<pre>public void setTotalkills(long totalkills)</pre>
|
|
<div class="block">Set the amount of times players have killed each other.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totalkills</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotalmobkills-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotalmobkills</h4>
|
|
<pre>public void setTotalmobkills(long totalmobkills)</pre>
|
|
<div class="block">Set the amount of mob kills the players have.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totalmobkills</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotaldeaths-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotaldeaths</h4>
|
|
<pre>public void setTotaldeaths(long totaldeaths)</pre>
|
|
<div class="block">Set how many times the playes have died.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totaldeaths</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPlayersDataArray--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPlayersDataArray</h4>
|
|
<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] getPlayersDataArray()</pre>
|
|
<div class="block">Used to store all arrays created in
|
|
Analysis#createPlayerActivityGraphs().
|
|
|
|
0, 2, 4 contain data. 1, 3, 5 contain labels.
|
|
|
|
0, 1 day; 2, 3 week; 4, 5 month</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>String array containing multiple toString representations of
|
|
number and label arrays.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/graphs/PlayerActivityGraphCreator.html" title="class in main.java.com.djrapitops.plan.ui.graphs"><code>PlayerActivityGraphCreator</code></a>,
|
|
<a href="../../../../../../main/java/com/djrapitops/plan/utilities/Analysis.html" title="class in main.java.com.djrapitops.plan.utilities"><code>Analysis</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setPlayersDataArray-java.lang.String:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPlayersDataArray</h4>
|
|
<pre>public void setPlayersDataArray(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] playersDataArray)</pre>
|
|
<div class="block">Used to store all arrays created in
|
|
Analysis#createPlayerActivityGraphs().
|
|
|
|
0, 2, 4 contain data. 1, 3, 5 contain labels.
|
|
|
|
0, 1 day; 2, 3 week; 4, 5 month</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>playersDataArray</code> - String array containing multiple toString
|
|
representations of number and label arrays.</dd>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../../../../main/java/com/djrapitops/plan/ui/graphs/PlayerActivityGraphCreator.html" title="class in main.java.com.djrapitops.plan.ui.graphs"><code>PlayerActivityGraphCreator</code></a>,
|
|
<a href="../../../../../../main/java/com/djrapitops/plan/utilities/Analysis.html" title="class in main.java.com.djrapitops.plan.utilities"><code>Analysis</code></a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setTotalCommands-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTotalCommands</h4>
|
|
<pre>public void setTotalCommands(long totalCommands)</pre>
|
|
<div class="block">Set the total number of unique commands.
|
|
|
|
No check for correct value.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>totalCommands</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTotalCommands--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTotalCommands</h4>
|
|
<pre>public long getTotalCommands()</pre>
|
|
<div class="block">Get the total number of unique commands.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getSessionAverage--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSessionAverage</h4>
|
|
<pre>public long getSessionAverage()</pre>
|
|
<div class="block">Get the average length of every session on the server.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>long in ms.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setSessionAverage-long-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setSessionAverage</h4>
|
|
<pre>public void setSessionAverage(long sessionAverage)</pre>
|
|
<div class="block">Set the average length of every session on the server.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>sessionAverage</code> - 0 to Long.MAX</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGenderData--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGenderData</h4>
|
|
<pre>public int[] getGenderData()</pre>
|
|
<div class="block">Get the integer array containing 3 numbers.
|
|
|
|
0 Male, 1 Female, 2 Unknown.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>for example [0, 4, 5] when 0 male, 4 female and 5 unknown.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setGenderData-int:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>setGenderData</h4>
|
|
<pre>public void setGenderData(int[] genderData)</pre>
|
|
<div class="block">Set the integer array containing 3 numbers.
|
|
|
|
0 Male, 1 Female, 2 Unknown.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>genderData</code> - for example [0, 4, 5]</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/AnalysisData.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev Class</li>
|
|
<li><a href="../../../../../../main/java/com/djrapitops/plan/data/DemographicsData.html" title="class in main.java.com.djrapitops.plan.data"><span class="typeNameLink">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../../index.html?main/java/com/djrapitops/plan/data/AnalysisData.html" target="_top">Frames</a></li>
|
|
<li><a href="AnalysisData.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small>Copyright © 2017. All rights reserved.</small></p>
|
|
</body>
|
|
</html>
|