Skip to content

Commit 04b01f3

Browse files
committed
Initial commit
0 parents  commit 04b01f3

File tree

8 files changed

+301
-0
lines changed

8 files changed

+301
-0
lines changed

.gitignore

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# User-specific stuff
2+
.idea/
3+
4+
*.iml
5+
*.ipr
6+
*.iws
7+
8+
# IntelliJ
9+
out/
10+
11+
# Compiled class file
12+
*.class
13+
14+
# Log file
15+
*.log
16+
17+
# BlueJ files
18+
*.ctxt
19+
20+
# Package Files #
21+
*.jar
22+
*.war
23+
*.nar
24+
*.ear
25+
*.zip
26+
*.tar.gz
27+
*.rar
28+
29+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
30+
hs_err_pid*
31+
32+
*~
33+
34+
# temporary files which can be created if a process still has a handle open of a deleted file
35+
.fuse_hidden*
36+
37+
# KDE directory preferences
38+
.directory
39+
40+
# Linux trash folder which might appear on any partition or disk
41+
.Trash-*
42+
43+
# .nfs files are created when an open file is removed but is still being accessed
44+
.nfs*
45+
46+
# General
47+
.DS_Store
48+
.AppleDouble
49+
.LSOverride
50+
51+
# Icon must end with two \r
52+
Icon
53+
54+
# Thumbnails
55+
._*
56+
57+
# Files that might appear in the root of a volume
58+
.DocumentRevisions-V100
59+
.fseventsd
60+
.Spotlight-V100
61+
.TemporaryItems
62+
.Trashes
63+
.VolumeIcon.icns
64+
.com.apple.timemachine.donotpresent
65+
66+
# Directories potentially created on remote AFP share
67+
.AppleDB
68+
.AppleDesktop
69+
Network Trash Folder
70+
Temporary Items
71+
.apdisk
72+
73+
# Windows thumbnail cache files
74+
Thumbs.db
75+
Thumbs.db:encryptable
76+
ehthumbs.db
77+
ehthumbs_vista.db
78+
79+
# Dump file
80+
*.stackdump
81+
82+
# Folder config file
83+
[Dd]esktop.ini
84+
85+
# Recycle Bin used on file shares
86+
$RECYCLE.BIN/
87+
88+
# Windows Installer files
89+
*.cab
90+
*.msi
91+
*.msix
92+
*.msm
93+
*.msp
94+
95+
# Windows shortcuts
96+
*.lnk
97+
98+
target/
99+
100+
pom.xml.tag
101+
pom.xml.releaseBackup
102+
pom.xml.versionsBackup
103+
pom.xml.next
104+
105+
release.properties
106+
dependency-reduced-pom.xml
107+
buildNumber.properties
108+
.mvn/timing.properties
109+
.mvn/wrapper/maven-wrapper.jar
110+
.flattened-pom.xml
111+
112+
# Common working directory
113+
run/

pom.xml

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.itzminey</groupId>
8+
<artifactId>VPteroStop</artifactId>
9+
<version>1.0.0</version>
10+
<packaging>jar</packaging>
11+
12+
<name>VPteroStop</name>
13+
14+
<properties>
15+
<java.version>17</java.version>
16+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17+
</properties>
18+
19+
<profiles>
20+
<profile>
21+
<id>release</id>
22+
<build>
23+
<plugins>
24+
<plugin>
25+
<groupId>org.apache.maven.plugins</groupId>
26+
<artifactId>maven-source-plugin</artifactId>
27+
<version>3.3.1</version>
28+
<executions>
29+
<execution>
30+
<id>attach-sources</id>
31+
<goals>
32+
<goal>jar-no-fork</goal>
33+
</goals>
34+
</execution>
35+
</executions>
36+
</plugin>
37+
<plugin>
38+
<groupId>org.apache.maven.plugins</groupId>
39+
<artifactId>maven-javadoc-plugin</artifactId>
40+
<version>3.6.3</version>
41+
<executions>
42+
<execution>
43+
<id>attach-javadocs</id>
44+
<goals>
45+
<goal>jar</goal>
46+
</goals>
47+
</execution>
48+
</executions>
49+
</plugin>
50+
<plugin>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-gpg-plugin</artifactId>
53+
<version>3.2.4</version>
54+
<executions>
55+
<execution>
56+
<id>sign-artifacts</id>
57+
<phase>verify</phase>
58+
<goals>
59+
<goal>sign</goal>
60+
</goals>
61+
</execution>
62+
</executions>
63+
</plugin>
64+
</plugins>
65+
<resources>
66+
<resource>
67+
<directory>src/main/resources</directory>
68+
<filtering>true</filtering>
69+
</resource>
70+
</resources>
71+
</build>
72+
</profile>
73+
</profiles>
74+
75+
<build>
76+
<defaultGoal>clean package</defaultGoal>
77+
<resources>
78+
<resource>
79+
<directory>${project.basedir}/src/main/resources</directory>
80+
<filtering>true</filtering>
81+
</resource>
82+
</resources>
83+
<plugins>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-compiler-plugin</artifactId>
87+
<version>3.13.0</version>
88+
<configuration>
89+
<source>${java.version}</source>
90+
<target>${java.version}</target>
91+
</configuration>
92+
</plugin>
93+
<plugin>
94+
<groupId>org.codehaus.mojo</groupId>
95+
<artifactId>templating-maven-plugin</artifactId>
96+
<version>1.0.0</version>
97+
<executions>
98+
<execution>
99+
<id>filter-src</id>
100+
<goals>
101+
<goal>filter-sources</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-site-plugin</artifactId>
109+
<version>3.12.1</version>
110+
<dependencies>
111+
<dependency>
112+
<groupId>net.trajano.wagon</groupId>
113+
<artifactId>wagon-git</artifactId>
114+
<version>2.0.4</version>
115+
</dependency>
116+
<dependency>
117+
<groupId>org.apache.maven.doxia</groupId>
118+
<artifactId>doxia-module-markdown</artifactId>
119+
<version>1.12.0</version>
120+
</dependency>
121+
</dependencies>
122+
</plugin>
123+
<plugin>
124+
<groupId>org.apache.maven.plugins</groupId>
125+
<artifactId>maven-release-plugin</artifactId>
126+
<version>3.0.1</version>
127+
<configuration>
128+
<autoVersionSubmodules>true</autoVersionSubmodules>
129+
<tagNameFormat>@{project.version}</tagNameFormat>
130+
<scmCommentPrefix xml:space="preserve">[RELEASE] </scmCommentPrefix>
131+
<goals>install deploy site-deploy
132+
</goals> <!-- install is here to fix javadoc generation in multi-module projects -->
133+
<releaseProfiles>release</releaseProfiles>
134+
</configuration>
135+
</plugin>
136+
</plugins>
137+
</build>
138+
139+
<reporting>
140+
<plugins>
141+
<plugin>
142+
<groupId>org.apache.maven.plugins</groupId>
143+
<artifactId>maven-javadoc-plugin</artifactId>
144+
<version>3.6.3</version>
145+
</plugin>
146+
</plugins>
147+
</reporting>
148+
149+
<repositories>
150+
<repository>
151+
<id>papermc-repo</id>
152+
<url>https://repo.papermc.io/repository/maven-public/</url>
153+
</repository>
154+
</repositories>
155+
156+
<dependencies>
157+
<dependency>
158+
<groupId>com.velocitypowered</groupId>
159+
<artifactId>velocity-api</artifactId>
160+
<version>3.4.0-SNAPSHOT</version>
161+
<scope>provided</scope>
162+
</dependency>
163+
</dependencies>
164+
</project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.itzminey.vPteroStop;
2+
3+
import com.google.inject.Inject;
4+
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
5+
import com.velocitypowered.api.event.Subscribe;
6+
import com.velocitypowered.api.plugin.Plugin;
7+
import org.slf4j.Logger;
8+
9+
@Plugin(id = "vpterostop", name = "VPteroStop", version = "1.0.0")
10+
public class VPteroStop {
11+
12+
@Inject
13+
private Logger logger;
14+
15+
@Subscribe
16+
public void onProxyInitialization(ProxyInitializeEvent event) {
17+
}
18+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.itzminey.vPteroStop;public class VRestartCommand {
2+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.itzminey.vPteroStop;public class VStartCommand {
2+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package com.itzminey.vPteroStop;public class VStopCommand {
2+
}

src/main/resources/plugin.json

Whitespace-only changes.

src/main/resources/vpterostop.conf

Whitespace-only changes.

0 commit comments

Comments
 (0)