mirror of
https://github.com/zontreck/AutoMoneyPlugin
synced 2025-06-19 02:13:55 +00:00
Update project's name and output name/group.
This commit is contained in:
parent
94a0826131
commit
56a4681157
10 changed files with 45 additions and 24 deletions
1
bin/main/config.yml
Normal file
1
bin/main/config.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# A journey of 1,000 lines starts with a single char
|
BIN
bin/main/dev/zontreck/amp/AutoMoneyPlugin.class
Normal file
BIN
bin/main/dev/zontreck/amp/AutoMoneyPlugin.class
Normal file
Binary file not shown.
20
bin/main/plugin.yml
Normal file
20
bin/main/plugin.yml
Normal file
|
@ -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
|
0
bin/test/.gitkeep
Normal file
0
bin/test/.gitkeep
Normal file
|
@ -8,7 +8,7 @@ plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "com.crimsonwarpedcraft.exampleplugin"
|
group = "dev.zontreck.amp"
|
||||||
|
|
||||||
static def getTime() {
|
static def getTime() {
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd-HHmm")
|
SimpleDateFormat sdf = new SimpleDateFormat("yyMMdd-HHmm")
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
rootProject.name = 'ExamplePlugin'
|
rootProject.name = 'AutoMoneyPlugin'
|
|
@ -1,15 +1,15 @@
|
||||||
package com.crimsonwarpedcraft.exampleplugin;
|
package dev.zontreck.amp;
|
||||||
|
|
||||||
import io.papermc.lib.PaperLib;
|
import io.papermc.lib.PaperLib;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
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
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
|
@ -2,8 +2,8 @@ main: ${PACKAGE}.${NAME}
|
||||||
name: ${NAME}
|
name: ${NAME}
|
||||||
version: "${VERSION}"
|
version: "${VERSION}"
|
||||||
api-version: "1.21.1"
|
api-version: "1.21.1"
|
||||||
author: AUTHOR
|
author: zontreck
|
||||||
description: DESCRIPTION
|
description: A simple plugin providing automatic money to online players.
|
||||||
commands:
|
commands:
|
||||||
ex:
|
ex:
|
||||||
description: Base command for EXAMPLE
|
description: Base command for EXAMPLE
|
||||||
|
|
|
@ -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() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
16
src/test/java/dev/zontreck/amp/AutoMoneyPlugin.java
Normal file
16
src/test/java/dev/zontreck/amp/AutoMoneyPlugin.java
Normal file
|
@ -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() {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue