Initial commit
This commit is contained in:
commit
0077ccea6c
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
bin/
|
||||
target/
|
||||
.git/
|
||||
.settings/
|
||||
.idea/
|
||||
.classpath
|
||||
.project
|
||||
.DS_Store
|
||||
*.iml
|
||||
|
13
plugin.yml
Normal file
13
plugin.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Aquamarine
|
||||
description: A ticket plugin for Xeno
|
||||
author: Xeno
|
||||
website: https://xeno.fi/
|
||||
commands:
|
||||
xnpc:
|
||||
description: Ukkeleiden toiminnallisia höpötyksiä
|
||||
permissions:
|
||||
xfig.admin:
|
||||
description: Oikeudet luoda, poistaa, jne.
|
||||
version: 2.0
|
||||
main: fi.xeno.aquamarine.XTicketsPlugin
|
||||
load: STARTUP
|
92
pom.xml
Normal file
92
pom.xml
Normal file
|
@ -0,0 +1,92 @@
|
|||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>fi.xeno</groupId>
|
||||
<artifactId>aquamarine</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>XAquamarine</name>
|
||||
|
||||
<!--
|
||||
__ __
|
||||
\ \/ /___ _ __ ___
|
||||
\ // _ \ '_ \ / _ \
|
||||
/ \ __/ | | | (_) |
|
||||
/_/\_\___|_| |_|\___/
|
||||
- GENERAL pom.xml FOR XENO PROJECTS -
|
||||
-->
|
||||
|
||||
<build>
|
||||
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>.</directory>
|
||||
<includes>
|
||||
<include>*.yml</include>
|
||||
<include>*.json</include>
|
||||
<include>*.js</include>
|
||||
<include>*.toml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- Spigot/Bukkit -->
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.16.5-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/com.zaxxer/HikariCP -->
|
||||
<dependency>
|
||||
<groupId>com.zaxxer</groupId>
|
||||
<artifactId>HikariCP</artifactId>
|
||||
<version>3.4.5</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
19
src/fi/xeno/aquamarine/XTicketsPlugin.java
Normal file
19
src/fi/xeno/aquamarine/XTicketsPlugin.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
package fi.xeno.aquamarine;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class XTicketsPlugin extends JavaPlugin {
|
||||
|
||||
private static XTicketsPlugin instance;
|
||||
public static XTicketsPlugin getInstance(){
|
||||
return instance;
|
||||
}
|
||||
|
||||
public void onEnable() {
|
||||
instance = this;
|
||||
}
|
||||
|
||||
public void onDisable() {}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user