mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
ae87e7440a
Just add ", c" to your registerCompletion handler:
commandManager.getCommandCompletions().registerCompletion("test", (sender, config, input, c) -> {
});
113 lines
4.0 KiB
XML
113 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (c) 2016-2017 Daniel Ennis (Aikar) - MIT License
|
|
~
|
|
~ Permission is hereby granted, free of charge, to any person obtaining
|
|
~ a copy of this software and associated documentation files (the
|
|
~ "Software"), to deal in the Software without restriction, including
|
|
~ without limitation the rights to use, copy, modify, merge, publish,
|
|
~ distribute, sublicense, and/or sell copies of the Software, and to
|
|
~ permit persons to whom the Software is furnished to do so, subject to
|
|
~ the following conditions:
|
|
~
|
|
~ The above copyright notice and this permission notice shall be
|
|
~ included in all copies or substantial portions of the Software.
|
|
~
|
|
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
~ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
~ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
~ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
~ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
~ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
~ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>co.aikar</groupId>
|
|
<artifactId>acf-core</artifactId>
|
|
<version>0.4.0-SNAPSHOT</version>
|
|
|
|
<name>ACF</name>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>aikar</id>
|
|
<url>http://ci.emc.gs/nexus/content/repositories/aikar-release/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>aikar</id>
|
|
<url>http://ci.emc.gs/nexus/content/repositories/aikar-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>aikar</id>
|
|
<url>http://ci.emc.gs/nexus/content/groups/aikar/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>paper</id>
|
|
<url>https://repo.destroystokyo.com/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<build>
|
|
<defaultGoal>clean install</defaultGoal>
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<showDeprecation>false</showDeprecation>
|
|
<showWarnings>false</showWarnings>
|
|
<compilerArgs>
|
|
<arg>-parameters</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
<version>13.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.destroystokyo.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>1.11.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|