From 9d1bbd4ac258e1e78bbfaf7ad79c74637552f493 Mon Sep 17 00:00:00 2001 From: Navoei Date: Sun, 3 Jul 2022 12:44:33 -0500 Subject: [PATCH] Lemons --- gradle.properties | 8 +++---- license | 21 ------------------- readme.md | 6 ++---- .../customdiscsplugin/CustomDiscs.java} | 4 ++-- .../ExampleVoicechatPlugin.java | 4 ++-- src/main/resources/plugin.yml | 11 +++++----- 6 files changed, 15 insertions(+), 39 deletions(-) delete mode 100644 license rename src/main/java/{com/example/voicechatplugin/ExamplePlugin.java => na/Navoei/customdiscsplugin/CustomDiscs.java} (92%) rename src/main/java/{com/example/voicechatplugin => na/Navoei/customdiscsplugin}/ExampleVoicechatPlugin.java (91%) diff --git a/gradle.properties b/gradle.properties index af29841..d5823a9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,12 +2,12 @@ org.gradle.jvmargs=-Xmx2G java_version=17 -bukkit_api_version=1.18 -bukkit_version=1.18.2-R0.1-SNAPSHOT +bukkit_api_version=1.19 +bukkit_version=1.19-R0.1-SNAPSHOT # Target an older API to make it compatible with older versions of Simple Voice Chat voicechat_api_version=2.2.22 plugin_version=1.0.0 -maven_group=com.example.voicechatplugin -archives_base_name=example-plugin \ No newline at end of file +maven_group=na.Navoei.customdiscsplugin +archives_base_name=custom-discs \ No newline at end of file diff --git a/license b/license deleted file mode 100644 index d40aa12..0000000 --- a/license +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Max Henkel - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/readme.md b/readme.md index 4afd117..2af7c38 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,3 @@ -# Simple Voice Chat API Bukkit Plugin Template +# Custom Discs -This is an example template plugin for the [Simple Voice Chat Plugin API](https://github.com/henkelmax/simple-voice-chat/blob/1.18.2/api/readme.md) for Bukkit based servers. - -Feel free to use this for your projects. \ No newline at end of file +A bukkit/spigot plugin to add custom music discs using the Simple Voice Chat API. diff --git a/src/main/java/com/example/voicechatplugin/ExamplePlugin.java b/src/main/java/na/Navoei/customdiscsplugin/CustomDiscs.java similarity index 92% rename from src/main/java/com/example/voicechatplugin/ExamplePlugin.java rename to src/main/java/na/Navoei/customdiscsplugin/CustomDiscs.java index 3e51ca7..f0b3b55 100644 --- a/src/main/java/com/example/voicechatplugin/ExamplePlugin.java +++ b/src/main/java/na/Navoei/customdiscsplugin/CustomDiscs.java @@ -1,4 +1,4 @@ -package com.example.voicechatplugin; +package na.Navoei.customdiscsplugin; import de.maxhenkel.voicechat.api.BukkitVoicechatService; import org.apache.logging.log4j.LogManager; @@ -7,7 +7,7 @@ import org.bukkit.plugin.java.JavaPlugin; import javax.annotation.Nullable; -public final class ExamplePlugin extends JavaPlugin { +public final class CustomDiscs extends JavaPlugin { public static final String PLUGIN_ID = "example_plugin"; public static final Logger LOGGER = LogManager.getLogger(PLUGIN_ID); diff --git a/src/main/java/com/example/voicechatplugin/ExampleVoicechatPlugin.java b/src/main/java/na/Navoei/customdiscsplugin/ExampleVoicechatPlugin.java similarity index 91% rename from src/main/java/com/example/voicechatplugin/ExampleVoicechatPlugin.java rename to src/main/java/na/Navoei/customdiscsplugin/ExampleVoicechatPlugin.java index 8b3b455..a073e0b 100644 --- a/src/main/java/com/example/voicechatplugin/ExampleVoicechatPlugin.java +++ b/src/main/java/na/Navoei/customdiscsplugin/ExampleVoicechatPlugin.java @@ -1,4 +1,4 @@ -package com.example.voicechatplugin; +package na.Navoei.customdiscsplugin; import de.maxhenkel.voicechat.api.VoicechatApi; import de.maxhenkel.voicechat.api.VoicechatPlugin; @@ -11,7 +11,7 @@ public class ExampleVoicechatPlugin implements VoicechatPlugin { */ @Override public String getPluginId() { - return ExamplePlugin.PLUGIN_ID; + return CustomDiscs.PLUGIN_ID; } /** diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 124977a..fa0e4e4 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,9 +1,8 @@ -name: example_plugin +name: CustomDiscs version: ${version} -main: com.example.voicechatplugin.ExamplePlugin +main: CustomDiscs api-version: ${bukkit_api_version} -prefix: example_plugin -authors: [ "Example Author" ] -description: A Simple Voice Chat API plugin example -website: https://example.com +prefix: CustomDiscs +authors: [ "Navoei" ] +description: A plugin which used the Simple Voice Chat API to add custom music discs. depend: [ voicechat ] \ No newline at end of file