File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /bin /
2+ /target /
3+ .classpath
4+ .project
5+ .settings
6+ .metadata
7+ * .jardesc
8+ .idea
9+ .recommenders
10+ * .iml
11+ * .eml
12+ .DS_Store
13+ META-INF
14+ out
Original file line number Diff line number Diff line change 1+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <groupId >perceivedev</groupId >
5+ <artifactId >clickable-tpa</artifactId >
6+ <version >1.0</version >
7+ <name >Clickable-TPA</name >
8+ <description >Some plugin description</description >
9+ <repositories >
10+ <repository >
11+ <id >spigot-repo</id >
12+ <url >https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url >
13+ </repository >
14+ </repositories >
15+ <dependencies >
16+ <dependency >
17+ <groupId >org.bukkit</groupId >
18+ <artifactId >bukkit</artifactId >
19+ <version >1.10.2-R0.1-SNAPSHOT</version >
20+ <scope >provided</scope >
21+ </dependency >
22+ </dependencies >
23+ <build >
24+ <defaultGoal >clean compile test package</defaultGoal >
25+ <finalName >${project.name} -${project.version} </finalName >
26+ <sourceDirectory >${basedir} /src/main/java</sourceDirectory >
27+ <resources >
28+ <resource >
29+ <directory >${basedir} /src/main/resources</directory >
30+ <includes >
31+ <include >*.yml</include >
32+ </includes >
33+ </resource >
34+ </resources >
35+ <plugins >
36+ <plugin >
37+ <groupId >org.apache.maven.plugins</groupId >
38+ <artifactId >maven-compiler-plugin</artifactId >
39+ <version >3.5.1</version >
40+ <configuration >
41+ <source >1.8</source >
42+ <target >1.8</target >
43+ </configuration >
44+ </plugin >
45+ </plugins >
46+ </build >
47+ </project >
Original file line number Diff line number Diff line change 1+ package com .perceivedev .clickable -tpa ;
2+
3+ import java .util .logging .Logger ;
4+
5+ import org .bukkit .plugin .java .JavaPlugin ;
6+
7+ public class Clickable -TPA extends JavaPlugin {
8+
9+ private Logger logger ;
10+
11+ @ Override
12+ public void onEnable () {
13+ logger = getLogger ();
14+
15+ logger .info (versionText () + " enabled" );
16+ }
17+
18+ @ Override
19+ public void onDisable () {
20+ logger .info (versionText () + " disabled" );
21+ }
22+
23+ public String versionText () {
24+ return getName () + " v" + getDescription ().getVersion ();
25+ }
26+
27+ }
Original file line number Diff line number Diff line change 1+ main : com.perceivedev.clickable-tpa.Clickable-TPA
2+ name : Clickable-TPA
3+ version : 1.0
4+ description : A bukkit plugin
5+ author : [Rayzr]
6+ # commands:
7+ # clickable-tpa:
8+ # description: Clickable-TPA main command
9+ # aliases: [alias1,alias2]
10+ # usage: "/clickable-tpa [command]"
11+ # permission: Clickable-TPA.main
You can’t perform that action at this time.
0 commit comments