<divclass="col-second even-row-color"><code><ahref="ComponentService.Holder.html"class="type-name-link"title="class in com.djrapitops.plan.component">ComponentService.Holder</a></code></div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#fromAdventureLegacy(java.lang.String)"class="member-name-link">fromAdventureLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> adventureLegacy)</code></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fromAdventureLegacy(java.lang.String,char)"class="member-name-link">fromAdventureLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> adventureLegacy,
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fromAutoDetermine(java.lang.String)"class="member-name-link">fromAutoDetermine</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> unknown)</code></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#fromBungeeLegacy(java.lang.String)"class="member-name-link">fromBungeeLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> bungeeLegacy)</code></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fromBungeeLegacy(java.lang.String,char)"class="member-name-link">fromBungeeLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> bungeeLegacy,
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fromJson(java.lang.String)"class="member-name-link">fromJson</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> json)</code></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#fromLegacy(java.lang.String)"class="member-name-link">fromLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> legacy)</code></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fromLegacy(java.lang.String,char)"class="member-name-link">fromLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> legacy,
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#fromMiniMessage(java.lang.String)"class="member-name-link">fromMiniMessage</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> miniMessage)</code></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1"><code>static <ahref="ComponentService.html"title="interface in com.djrapitops.plan.component">ComponentService</a></code></div>
<divclass="block">Obtain the instance of ComponentService.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><ahref="#translateLegacy(java.lang.String)"class="member-name-link">translateLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> input)</code></div>
<divclass="block">Translates ampersands into section signs for color codes.</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#translateLegacy(java.lang.String,char,char)"class="member-name-link">translateLegacy</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> input,
<divclass="block">Translates ampersands into section signs for color codes.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getInstance()">
<h3>getInstance</h3>
<divclass="member-signature"><spanclass="modifiers">static</span> <spanclass="return-type"><ahref="ComponentService.html"title="interface in com.djrapitops.plan.component">ComponentService</a></span> <spanclass="element-name">getInstance</span>()</div>
<divclass="block">Obtain the instance of ComponentService.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>ComponentService implementation.</dd>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/NoClassDefFoundError.html"title="class or interface in java.lang"class="external-link">NoClassDefFoundError</a></code> - If Plan is not installed and this class can not be found or if older Plan version is installed.</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html"title="class or interface in java.lang"class="external-link">IllegalStateException</a></code> - If Plan is installed, but not enabled.</dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">translateLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> input)</span></div>
<divclass="block">Translates ampersands into section signs for color codes. Defaults to <ahref="Component.html#AMPERSAND"><code>Component.AMPERSAND</code></a> to <ahref="Component.html#SECTION"><code>Component.SECTION</code></a>.
Example: <code>&ctext</code> to <code>§ctext</code>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - the input color string with color codes using ampersands (<code>&</code>)</dd>
<dt>Returns:</dt>
<dd>the same input string with ampersands (<code>&</code>) for color codes replaced with section signs (<code>§</code>)</dd>
<divclass="member-signature"><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">translateLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> input,
char inputCharacter,
char outputCharacter)</span></div>
<divclass="block">Translates ampersands into section signs for color codes. Example: <code>&ctext</code> to <code>§ctext</code>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - the input color string with color codes using ampersands (<code>&</code>)</dd>
<dd><code>inputCharacter</code> - the input character for translation, usually <code>&</code>.</dd>
<dd><code>outputCharacter</code> - the output character for translation, usually <code>§</code>.</dd>
<dt>Returns:</dt>
<dd>the same input string with input characters for color codes replaced with output characters</dd>
<divclass="member-signature"><spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromAutoDetermine</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> unknown)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
Converts an unknown format legacy/minimessage string into a component by attempting to guess the input format.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>unknown</code> - the unknown format input string</dd>
<dt>Returns:</dt>
<dd>a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a></dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> legacy)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
Input example <code>§ctext</code>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>legacy</code> - the input legacy</dd>
<dt>Returns:</dt>
<dd>a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a></dd>
<divclass="member-signature"><spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> legacy,
char character)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
Input example <code>§ctext</code>.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>legacy</code> - the input legacy</dd>
<dd><code>character</code> - the character to use as the color prefix, usually <code>§</code>.</dd>
<dt>Returns:</dt>
<dd>a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a></dd>
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromAdventureLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> adventureLegacy)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
<divclass="member-signature"><spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromAdventureLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> adventureLegacy,
char character)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
<divclass="member-signature"><spanclass="modifiers">default</span> <spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromBungeeLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> bungeeLegacy)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
<divclass="member-signature"><spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromBungeeLegacy</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> bungeeLegacy,
char character)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
<divclass="member-signature"><spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromMiniMessage</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> miniMessage)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.
<divclass="member-signature"><spanclass="return-type"><ahref="Component.html"title="interface in com.djrapitops.plan.component">Component</a></span> <spanclass="element-name">fromJson</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> json)</span></div>
<divclass="block">Converts the given input into a <ahref="Component.html"title="interface in com.djrapitops.plan.component"><code>Component</code></a>.