Initial commit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# A journey of 1,000 lines starts with a single char
|
||||
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user