This commit is contained in:
Navoei
2022-07-03 12:44:33 -05:00
parent ba20a7570f
commit 9d1bbd4ac2
6 changed files with 15 additions and 39 deletions

View File

@@ -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
maven_group=na.Navoei.customdiscsplugin
archives_base_name=custom-discs

21
license
View File

@@ -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.

View File

@@ -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.
A bukkit/spigot plugin to add custom music discs using the Simple Voice Chat API.

View File

@@ -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);

View File

@@ -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;
}
/**

View File

@@ -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 ]