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:
SimolZimol
2025-05-23 15:16:44 +02:00
commit 0a934803d2
4 changed files with 46 additions and 0 deletions

24
build.gradle Normal file
View 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
View 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
View File

@@ -0,0 +1 @@
rootProject.name = 'LevelCraft'

View 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!");
}
}