diff --git a/bin/main/config.yml b/bin/main/config.yml new file mode 100644 index 0000000..6f98179 --- /dev/null +++ b/bin/main/config.yml @@ -0,0 +1 @@ +# A journey of 1,000 lines starts with a single char \ No newline at end of file diff --git a/bin/main/dev/zontreck/amp/AutoMoneyPlugin.class b/bin/main/dev/zontreck/amp/AutoMoneyPlugin.class new file mode 100644 index 0000000..01e32c8 Binary files /dev/null and b/bin/main/dev/zontreck/amp/AutoMoneyPlugin.class differ diff --git a/bin/main/plugin.yml b/bin/main/plugin.yml new file mode 100644 index 0000000..6d29458 --- /dev/null +++ b/bin/main/plugin.yml @@ -0,0 +1,20 @@ +main: ${PACKAGE}.${NAME} +name: ${NAME} +version: "${VERSION}" +api-version: "1.21.1" +author: zontreck +description: A simple plugin providing automatic money to online players. +commands: + ex: + description: Base command for EXAMPLE + usage: "For a list of commands, type /ex help" + aliases: example +permissions: + example.test: + description: DESCRIPTION + default: true + example.*: + description: Grants all other permissions + default: false + children: + example.test: true \ No newline at end of file diff --git a/bin/test/.gitkeep b/bin/test/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/build.gradle b/build.gradle index 5f59aef..b9ac575 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { id 'java' } -group = "com.crimsonwarpedcraft.exampleplugin" +group = "dev.zontreck.amp" static def getTime() { SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd-HHmm") diff --git a/settings.gradle b/settings.gradle index 1cd81f0..06a04ae 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = 'ExamplePlugin' \ No newline at end of file +rootProject.name = 'AutoMoneyPlugin' \ No newline at end of file diff --git a/src/main/java/com/crimsonwarpedcraft/exampleplugin/ExamplePlugin.java b/src/main/java/dev/zontreck/amp/AutoMoneyPlugin.java similarity index 50% rename from src/main/java/com/crimsonwarpedcraft/exampleplugin/ExamplePlugin.java rename to src/main/java/dev/zontreck/amp/AutoMoneyPlugin.java index f418b71..eb973a9 100644 --- a/src/main/java/com/crimsonwarpedcraft/exampleplugin/ExamplePlugin.java +++ b/src/main/java/dev/zontreck/amp/AutoMoneyPlugin.java @@ -1,15 +1,15 @@ -package com.crimsonwarpedcraft.exampleplugin; +package dev.zontreck.amp; import io.papermc.lib.PaperLib; import org.bukkit.plugin.java.JavaPlugin; /** - * Created by Levi Muniz on 7/29/20. + * AutoMoneyPlugin * - * @author Copyright (c) Levi Muniz. All Rights Reserved. + * @author Copyright (c) zontreck. Licensed under the GPLv3. */ -public class ExamplePlugin extends JavaPlugin { +public class AutoMoneyPlugin extends JavaPlugin { @Override public void onEnable() { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e321786..6d29458 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -2,8 +2,8 @@ main: ${PACKAGE}.${NAME} name: ${NAME} version: "${VERSION}" api-version: "1.21.1" -author: AUTHOR -description: DESCRIPTION +author: zontreck +description: A simple plugin providing automatic money to online players. commands: ex: description: Base command for EXAMPLE diff --git a/src/test/java/com/crimsonwarpedcraft/exampleplugin/ExamplePluginTest.java b/src/test/java/com/crimsonwarpedcraft/exampleplugin/ExamplePluginTest.java deleted file mode 100644 index afcd2bb..0000000 --- a/src/test/java/com/crimsonwarpedcraft/exampleplugin/ExamplePluginTest.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.crimsonwarpedcraft.exampleplugin; - -import org.junit.jupiter.api.Test; - -/** - * Tests for ExamplePlugin. - * - * @author Copyright (c) Levi Muniz. All Rights Reserved. - */ -public class ExamplePluginTest { - - @Test - public void onEnable() { - - } -} \ No newline at end of file diff --git a/src/test/java/dev/zontreck/amp/AutoMoneyPlugin.java b/src/test/java/dev/zontreck/amp/AutoMoneyPlugin.java new file mode 100644 index 0000000..dd1d784 --- /dev/null +++ b/src/test/java/dev/zontreck/amp/AutoMoneyPlugin.java @@ -0,0 +1,16 @@ +package dev.zontreck.amp; + +import org.junit.jupiter.api.Test; + +/** + * AutoMoneyPlugin Tests + * + * @author Copyright (c) zontreck. Licensed under the GPLv3. + */ +public class AutoMoneyPlugin { + + @Test + public void onEnable() { + + } +} \ No newline at end of file