Class ParticleCommands
java.lang.Object
dev.despical.particletext.command.ParticleCommands
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ParticleTextPluginprotected static final RendererService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprotected final StringnormalizeId(String id) voidprotected final voidsendRendererNotFound(Arguments arguments, String id) voidprotected final booleanvalidateTextLength(Arguments arguments, String text) void
-
Field Details
-
plugin
-
renderers
-
-
Constructor Details
-
ParticleCommands
public ParticleCommands()
-
-
Method Details
-
root
@Command(name="pt", aliases="particletext", fallbackPrefix="particletext", usage="/%label% help", desc="Main ParticleText command.") public void root(Arguments arguments) -
list
@Command(name="pt.list", aliases="particletext.list", permission="particletext.command.list", usage="/%label% list", max=0) public void list(Arguments arguments) -
teleport
@Command(name="pt.teleport", aliases="particletext.teleport", permission="particletext.command.teleport", usage="/%label% teleport <id>", min=1, max=1, senderType=PLAYER) public void teleport(Arguments arguments) -
help
@Command(name="pt.help", aliases="particletext.help", permission="particletext.command.help", usage="/%label% help", max=0) public void help(Arguments arguments) -
version
@Command(name="pt.version", aliases="particletext.version", permission="particletext.command.version", usage="/%label% version", max=0) public void version(Arguments arguments) -
sendRendererNotFound
-
normalizeId
-
validateTextLength
-