From ed4322e35f1cddc42b96e1c6ce816aba387623bb Mon Sep 17 00:00:00 2001 From: Netherwhal <102181242+Netherwhal@users.noreply.github.com> Date: Sun, 3 Apr 2022 23:22:42 +0200 Subject: [PATCH] bump 0.1.1 (#3) --- build.gradle | 2 +- .../simplyvanilla/nopluginscommand/NoPluginsCommand.java | 2 +- src/main/resources/plugin.yml | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 2272c3e..c2b9576 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'net.simplyvanilla' -version '0.1.0' +version '0.1.1' java { toolchain.languageVersion.set(JavaLanguageVersion.of(17)) diff --git a/src/main/java/net/simplyvanilla/nopluginscommand/NoPluginsCommand.java b/src/main/java/net/simplyvanilla/nopluginscommand/NoPluginsCommand.java index 36afc87..4ff2a41 100644 --- a/src/main/java/net/simplyvanilla/nopluginscommand/NoPluginsCommand.java +++ b/src/main/java/net/simplyvanilla/nopluginscommand/NoPluginsCommand.java @@ -12,7 +12,7 @@ public final class NoPluginsCommand extends JavaPlugin implements Listener { - private static final Set COMMANDS = new HashSet<>(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")); + private static final Set COMMANDS = new HashSet<>(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", "icanhasbukkit")); private static final Set NO_AUTO_COMPLETE = new HashSet<>(COMMANDS); // or Arrays.asList("command", "command2"); @Override diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 6a74799..368921e 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,4 +1,9 @@ -main: net.simplyvanilla.nopluginscommand.NoPluginsCommand name: NoPluginsCommand +main: net.simplyvanilla.nopluginscommand.NoPluginsCommand + version: @version@ +author: SimplyVanilla +description: Hard-disable commands for Anarchy Servers. +website: https://github.com/SimplyVanilla/NoPluginsCommand + api-version: 1.18