new file: build.gradle
new file: plugin.yml new file: settings.gradle new file: src/main/java/com/simolzimol/levelcraft/LevelCraft.java
This commit is contained in:
24
build.gradle
Normal file
24
build.gradle
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
}
|
||||||
|
|
||||||
|
group = 'com.simolzimol.levelcraft'
|
||||||
|
version = '1.0-SNAPSHOT'
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly 'io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT'
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
}
|
||||||
6
plugin.yml
Normal file
6
plugin.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
name: LevelCraft
|
||||||
|
main: com.simolzimol.levelcraft.LevelCraft
|
||||||
|
version: 1.0
|
||||||
|
api-version: 1.21
|
||||||
|
author: SimolZimol
|
||||||
|
description: TEXT
|
||||||
1
settings.gradle
Normal file
1
settings.gradle
Normal file
@@ -0,0 +1 @@
|
|||||||
|
rootProject.name = 'LevelCraft'
|
||||||
15
src/main/java/com/simolzimol/levelcraft/LevelCraft.java
Normal file
15
src/main/java/com/simolzimol/levelcraft/LevelCraft.java
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
package com.simolzimol.levelcraft;
|
||||||
|
|
||||||
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
|
public class LevelCraft extends JavaPlugin {
|
||||||
|
@Override
|
||||||
|
public void onEnable() {
|
||||||
|
getLogger().info("LevelCraft aktiviert!");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDisable() {
|
||||||
|
getLogger().info("LevelCraft deaktiviert!");
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user