mirror of
https://github.com/plexusorg/Website.git
synced 2025-07-01 15:46:42 +00:00
Plex 0.9
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (17) -->
|
||||
<title>PlexCommand (Plex 0.8 API)</title>
|
||||
<title>PlexCommand (Plex 0.9 API)</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="declaration: package: dev.plex.command, class: PlexCommand">
|
||||
@ -189,7 +189,7 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#componentFromString(java.lang.String)" class="member-name-link">componentFromString</a><wbr>(<a href="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> s)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Converts a string to a legacy Kyori component</div>
|
||||
<div class="block">Converts a String to a legacy Kyori Component</div>
|
||||
</div>
|
||||
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>protected abstract net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#execute(org.bukkit.command.CommandSender,org.bukkit.entity.Player,java.lang.String%5B%5D)" class="member-name-link">execute</a><wbr>(@NotNull org.bukkit.command.CommandSender sender,
|
||||
@ -259,7 +259,7 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private boolean</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#matches(java.lang.String)" class="member-name-link">matches</a><wbr>(<a href="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> label)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Checks if the string given is a command string</div>
|
||||
<div class="block">Checks if the String given is a matching command</div>
|
||||
</div>
|
||||
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#messageComponent(java.lang.String,java.lang.Object...)" class="member-name-link">messageComponent</a><wbr>(<a href="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> s,
|
||||
@ -276,29 +276,32 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mmString(java.lang.String)" class="member-name-link">mmString</a><wbr>(<a href="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> s)</code></div>
|
||||
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Converts a string to a mini message kyori component</div>
|
||||
</div>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#send(net.kyori.adventure.audience.Audience,java.lang.String)" class="member-name-link">send</a><wbr>(net.kyori.adventure.audience.Audience audience,
|
||||
<a href="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> s)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Sends a message to an audience</div>
|
||||
</div>
|
||||
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#send(net.kyori.adventure.audience.Audience,net.kyori.adventure.text.Component)" class="member-name-link">send</a><wbr>(net.kyori.adventure.audience.Audience audience,
|
||||
net.kyori.adventure.text.Component component)</code></div>
|
||||
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Sends a message to an audience</div>
|
||||
<div class="block">Converts a String to a MiniMessage Component</div>
|
||||
</div>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#usage()" class="member-name-link">usage</a>()</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#noColorComponentFromString(java.lang.String)" class="member-name-link">noColorComponentFromString</a><wbr>(<a href="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> s)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div>
|
||||
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#send(net.kyori.adventure.audience.Audience,java.lang.String)" class="member-name-link">send</a><wbr>(net.kyori.adventure.audience.Audience audience,
|
||||
<a href="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> s)</code></div>
|
||||
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Sends a message to an Audience</div>
|
||||
</div>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#send(net.kyori.adventure.audience.Audience,net.kyori.adventure.text.Component)" class="member-name-link">send</a><wbr>(net.kyori.adventure.audience.Audience audience,
|
||||
net.kyori.adventure.text.Component component)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Converts usage to a component</div>
|
||||
<div class="block">Sends a message to an Audience</div>
|
||||
</div>
|
||||
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#usage(java.lang.String)" class="member-name-link">usage</a><wbr>(<a href="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> s)</code></div>
|
||||
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#usage()" class="member-name-link">usage</a>()</code></div>
|
||||
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Converts usage to a component</div>
|
||||
<div class="block">Converts usage to a Component</div>
|
||||
</div>
|
||||
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected net.kyori.adventure.text.Component</code></div>
|
||||
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#usage(java.lang.String)" class="member-name-link">usage</a><wbr>(<a href="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> s)</code></div>
|
||||
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
|
||||
<div class="block">Converts usage to a Component</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -391,9 +394,8 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>sender</code> - The sender of the command</dd>
|
||||
<dd><code>playerSender</code> - The player who executed the command (null if command source is console or if command source is any but console executed)</dd>
|
||||
<dd><code>playerSender</code> - The player who executed the command (null if CommandSource is console or if CommandSource is any but console executed)</dd>
|
||||
<dd><code>args</code> - A Kyori Component to send to the sender (can be null)</dd>
|
||||
<dt>Returns:</dt>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
@ -401,10 +403,10 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<section class="detail" id="matches(java.lang.String)">
|
||||
<h3>matches</h3>
|
||||
<div class="member-signature"><span class="modifiers">private</span> <span class="return-type">boolean</span> <span class="element-name">matches</span><wbr><span class="parameters">(<a href="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> label)</span></div>
|
||||
<div class="block">Checks if the string given is a command string</div>
|
||||
<div class="block">Checks if the String given is a matching command</div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>label</code> - The string to check</dd>
|
||||
<dd><code>label</code> - The String to check</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>true if the string is a command name or alias</dd>
|
||||
</dl>
|
||||
@ -435,10 +437,10 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<h3>send</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">send</span><wbr><span class="parameters">(net.kyori.adventure.audience.Audience audience,
|
||||
<a href="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> s)</span></div>
|
||||
<div class="block">Sends a message to an audience</div>
|
||||
<div class="block">Sends a message to an Audience</div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>audience</code> - The audience to send the message to</dd>
|
||||
<dd><code>audience</code> - The Audience to send the message to</dd>
|
||||
<dd><code>s</code> - The message to send</dd>
|
||||
</dl>
|
||||
</section>
|
||||
@ -448,11 +450,11 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<h3>send</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">send</span><wbr><span class="parameters">(net.kyori.adventure.audience.Audience audience,
|
||||
net.kyori.adventure.text.Component component)</span></div>
|
||||
<div class="block">Sends a message to an audience</div>
|
||||
<div class="block">Sends a message to an Audience</div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>audience</code> - The audience to send the message to</dd>
|
||||
<dd><code>component</code> - The component to send</dd>
|
||||
<dd><code>audience</code> - The Audience to send the message to</dd>
|
||||
<dd><code>component</code> - The Component to send</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
@ -465,7 +467,7 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<div class="block">Checks whether a sender has enough permissions or is high enough a rank</div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>sender</code> - A command sender</dd>
|
||||
<dd><code>sender</code> - A CommandSender</dd>
|
||||
<dd><code>rank</code> - The rank to check (if the server is using ranks)</dd>
|
||||
<dd><code>permission</code> - The permission to check (if the server is using permissions)</dd>
|
||||
<dt>Returns:</dt>
|
||||
@ -669,7 +671,7 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<dd><code>s</code> - The message entry</dd>
|
||||
<dd><code>objects</code> - Any objects to replace in order</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>A Kyori component</dd>
|
||||
<dd>A Kyori Component</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
@ -692,10 +694,10 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<section class="detail" id="usage()">
|
||||
<h3>usage</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">net.kyori.adventure.text.Component</span> <span class="element-name">usage</span>()</div>
|
||||
<div class="block">Converts usage to a component</div>
|
||||
<div class="block">Converts usage to a Component</div>
|
||||
<dl class="notes">
|
||||
<dt>Returns:</dt>
|
||||
<dd>A Kyori component stating the usage</dd>
|
||||
<dd>A Kyori Component stating the usage</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
@ -703,12 +705,12 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<section class="detail" id="usage(java.lang.String)">
|
||||
<h3>usage</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">net.kyori.adventure.text.Component</span> <span class="element-name">usage</span><wbr><span class="parameters">(<a href="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> s)</span></div>
|
||||
<div class="block">Converts usage to a component
|
||||
<div class="block">Converts usage to a Component
|
||||
<p>
|
||||
s The usage to convert</div>
|
||||
<dl class="notes">
|
||||
<dt>Returns:</dt>
|
||||
<dd>A Kyori component stating the usage</dd>
|
||||
<dd>A Kyori Component stating the usage</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
@ -740,25 +742,31 @@ implements org.bukkit.command.PluginIdentifiableCommand</span></div>
|
||||
<section class="detail" id="componentFromString(java.lang.String)">
|
||||
<h3>componentFromString</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">net.kyori.adventure.text.Component</span> <span class="element-name">componentFromString</span><wbr><span class="parameters">(<a href="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> s)</span></div>
|
||||
<div class="block">Converts a string to a legacy Kyori component</div>
|
||||
<div class="block">Converts a String to a legacy Kyori Component</div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>s</code> - The string to convert</dd>
|
||||
<dd><code>s</code> - The String to convert</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>A Kyori component</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
<li>
|
||||
<section class="detail" id="noColorComponentFromString(java.lang.String)">
|
||||
<h3>noColorComponentFromString</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">net.kyori.adventure.text.Component</span> <span class="element-name">noColorComponentFromString</span><wbr><span class="parameters">(<a href="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> s)</span></div>
|
||||
</section>
|
||||
</li>
|
||||
<li>
|
||||
<section class="detail" id="mmString(java.lang.String)">
|
||||
<h3>mmString</h3>
|
||||
<div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">net.kyori.adventure.text.Component</span> <span class="element-name">mmString</span><wbr><span class="parameters">(<a href="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> s)</span></div>
|
||||
<div class="block">Converts a string to a mini message kyori component</div>
|
||||
<div class="block">Converts a String to a MiniMessage Component</div>
|
||||
<dl class="notes">
|
||||
<dt>Parameters:</dt>
|
||||
<dd><code>s</code> - The string to convert</dd>
|
||||
<dd><code>s</code> - The String to convert</dd>
|
||||
<dt>Returns:</dt>
|
||||
<dd>A Kyori component</dd>
|
||||
<dd>A Kyori Component</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user