Skip to content

Commit 4394a13

Browse files
Version push
1 parent 4d621ff commit 4394a13

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>net.noodles.pl</groupId>
88
<artifactId>NoPluginsCommand</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>1.1-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<name>NoPluginsCommand</name>

src/main/java/net/noodles/pl/nopluginscommand/NoPluginsCommand.java

-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package net.noodles.pl.nopluginscommand;
22

3-
import org.bukkit.entity.Player;
43
import org.bukkit.event.EventHandler;
54
import org.bukkit.event.Listener;
65
import org.bukkit.event.player.PlayerCommandPreprocessEvent;
@@ -13,16 +12,9 @@ public final class NoPluginsCommand extends JavaPlugin implements Listener {
1312

1413
@Override
1514
public void onEnable() {
16-
// Plugin startup logic
1715
getServer().getPluginManager().registerEvents(this, this);
1816
}
1917

20-
@Override
21-
public void onDisable() {
22-
// Plugin shutdown logic
23-
}
24-
25-
2618
@EventHandler
2719
public void onCommandUse(PlayerCommandPreprocessEvent event) {
2820
List<String> commands = Arrays.asList("?", "pl", "about", "version", "ver", "plugins", "bukkit:?", "bukkit:pl", "bukkit:about", "bukkit:version", "bukkit:ver", "bukkit:plugins", "minecraft:pl", "minecraft:plugins", "minecraft:about", "minecraft:version", "minecraft:ver");

src/main/resources/plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: NoPluginsCommand
22
version: ${project.version}
33
main: net.noodles.pl.nopluginscommand.NoPluginsCommand
4-
authors: [BGHDDevelopment]
4+
authors: [BGHDDevelopmentLLC]
55
description: Blocks /plugin, /about, /version, and more!
66
website: https://bghddevelopment.com

0 commit comments

Comments
 (0)