changed README
This commit is contained in:
@@ -1,84 +0,0 @@
|
||||
Neuer leerer Ordner öffnen
|
||||
Rechtsklick auf leeren Workspace - folder settings:
|
||||
|
||||
{"files.autoGuessEncoding": true,
|
||||
"files.encoding": "utf8",
|
||||
"java.jdt.ls.vmargs": "-Dfile.encoding=UTF-8",
|
||||
"java.configuration.updateBuildConfiguration": "automatic"
|
||||
}
|
||||
|
||||
Rechtsklick auf leeren Workspace - Create Maven Projekt
|
||||
maven-archetype-quickstart
|
||||
|
||||
pom.xml:
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.hessj.ragemode</groupId>
|
||||
<artifactId>ragemode</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
</properties>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>papermc</id>
|
||||
<url>https://papermc.io/repo/repository/maven-public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.papermc.paper</groupId>
|
||||
<artifactId>paper-api</artifactId>
|
||||
<version>1.17.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/main/resources</directory>
|
||||
<includes>
|
||||
<include>plugin.yml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
App.java:
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class App extends JavaPlugin {
|
||||
public static App main;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
getLogger().info("[DailyQuests] Plugin enabled!");
|
||||
main = this;
|
||||
listenerRegistration();
|
||||
}
|
||||
@Override
|
||||
public void onDisable() {
|
||||
getLogger().info("[DailyQuests] Plugin disabled!");
|
||||
}
|
||||
private void listenerRegistration(){
|
||||
PluginManager pM = Bukkit.getPluginManager();
|
||||
pM.registerEvents(new RageModeListeners(), this);
|
||||
}
|
||||
}
|
||||
|
||||
Rechtsklick auf main - new folder "resources"
|
||||
Rechtsklick auf resources - new file plugin.yml:
|
||||
main: de.hessj.saferchests.App
|
||||
name: SaferChestsPlugin
|
||||
version: 0.1
|
||||
api-version: 1.17
|
||||
@@ -27,4 +27,8 @@ VON WEBSITE NEHMEN: BÜCHERREGAL
|
||||
TO RELEASE: Infinity Bucket (wers glaubt)
|
||||
TO RELEASE: TOTEM
|
||||
|
||||
ALLGEMEIN: recipes die custom items beinhalten werden nicht im crafting angezeigt (allgm. Bukkit problem)
|
||||
ALLGEMEIN: recipes die custom items beinhalten werden nicht im crafting angezeigt (allgm. Bukkit problem)
|
||||
|
||||
helper muss immer im Main sein.
|
||||
craftbukkit der hauptversion auch
|
||||
CUSTOM.zip ist ein backup des Server Resourcepacks
|
||||
Reference in New Issue
Block a user