<li><ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics"><spanclass="strong">Next Class</span></a></li>
<tdclass="colLast"><code><strong><ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics">Metrics.Graph</a></strong></code>
<divclass="block">Represents a custom graph on the website</div>
<tdclass="colLast"><code><strong><ahref="../../../../com/comphenix/protocol/metrics/Metrics.Plotter.html"title="class in com.comphenix.protocol.metrics">Metrics.Plotter</a></strong></code>
<divclass="block">Interface used to collect custom data for a plugin</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/comphenix/protocol/metrics/Metrics.html#addCustomData(com.comphenix.protocol.metrics.Metrics.Plotter)">addCustomData</a></strong>(<ahref="../../../../com/comphenix/protocol/metrics/Metrics.Plotter.html"title="class in com.comphenix.protocol.metrics">Metrics.Plotter</a> plotter)</code>
<divclass="block">Adds a custom data plotter to the default graph</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/comphenix/protocol/metrics/Metrics.html#addGraph(com.comphenix.protocol.metrics.Metrics.Graph)">addGraph</a></strong>(<ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics">Metrics.Graph</a> graph)</code>
<divclass="block">Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics">Metrics.Graph</a></code></td>
<pre>public <ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics">Metrics.Graph</a> createGraph(java.lang.String name)</pre>
<divclass="block">Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics
website. Plotters can be added to the graph object returned.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>name</code> - The name of the graph</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Graph object created. Will never return NULL under normal circumstances unless bad parameters are given</dd></dl>
<pre>public void addGraph(<ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics">Metrics.Graph</a> graph)</pre>
<divclass="block">Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graph</code> - The name of the graph</dd></dl>
<pre>public void addCustomData(<ahref="../../../../com/comphenix/protocol/metrics/Metrics.Plotter.html"title="class in com.comphenix.protocol.metrics">Metrics.Plotter</a> plotter)</pre>
<divclass="block">Adds a custom data plotter to the default graph</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>plotter</code> - The plotter to use to plot custom data</dd></dl>
</li>
</ul>
<aname="start()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>start</h4>
<pre>public boolean start()</pre>
<divclass="block">Start measuring statistics. This will immediately create an async repeating task as the plugin and send the
initial data to the metrics backend, and then after that it will post in increments of PING_INTERVAL * 1200
ticks.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>True if statistics measuring is running, otherwise false.</dd></dl>
</li>
</ul>
<aname="isOptOut()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isOptOut</h4>
<pre>public boolean isOptOut()</pre>
<divclass="block">Has the server owner denied plugin metrics?</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>true if metrics should be opted out of it</dd></dl>
</li>
</ul>
<aname="enable()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>enable</h4>
<pre>public void enable()
throws java.io.IOException</pre>
<divclass="block">Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.</div>
<dl><dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<aname="disable()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>disable</h4>
<pre>public void disable()
throws java.io.IOException</pre>
<divclass="block">Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.</div>
<li><ahref="../../../../com/comphenix/protocol/metrics/Metrics.Graph.html"title="class in com.comphenix.protocol.metrics"><spanclass="strong">Next Class</span></a></li>