mirror of
https://github.com/zontreck/AutoMoneyPlugin
synced 2025-06-19 10:23:55 +00:00
Initial commit
This commit is contained in:
commit
94a0826131
28 changed files with 2444 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
package com.crimsonwarpedcraft.exampleplugin;
|
||||
|
||||
import io.papermc.lib.PaperLib;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
|
||||
/**
|
||||
* Created by Levi Muniz on 7/29/20.
|
||||
*
|
||||
* @author Copyright (c) Levi Muniz. All Rights Reserved.
|
||||
*/
|
||||
public class ExamplePlugin extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
PaperLib.suggestPaper(this);
|
||||
|
||||
saveDefaultConfig();
|
||||
}
|
||||
}
|
1
src/main/resources/config.yml
Normal file
1
src/main/resources/config.yml
Normal file
|
@ -0,0 +1 @@
|
|||
# A journey of 1,000 lines starts with a single char
|
20
src/main/resources/plugin.yml
Normal file
20
src/main/resources/plugin.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
main: ${PACKAGE}.${NAME}
|
||||
name: ${NAME}
|
||||
version: "${VERSION}"
|
||||
api-version: "1.21.1"
|
||||
author: AUTHOR
|
||||
description: DESCRIPTION
|
||||
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,0 +1,16 @@
|
|||
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() {
|
||||
|
||||
}
|
||||
}
|
0
src/test/resources/.gitkeep
Normal file
0
src/test/resources/.gitkeep
Normal file
Loading…
Add table
Add a link
Reference in a new issue