Compare commits

..

7 Commits

Author SHA1 Message Date
Alex 2bb77c6eab test 2022-04-10 10:15:38 +02:00
Alex b3520a1687 removed test msg 2022-03-01 21:41:38 +01:00
Alex 59e8f1a5e8 changed 2021-12-28 17:29:16 +01:00
Alex 6b81d06f55 Changed name to KraLobbySystem 2021-12-22 23:01:04 +01:00
Alex 5b89692800 Changed name to KraLobbySystem 2021-12-22 23:00:18 +01:00
Alex 90f7be788e color update 2021-12-22 22:51:29 +01:00
Alex 8cf67e0baa color update 2021-12-22 22:31:15 +01:00
17 changed files with 94 additions and 87 deletions

168
pom.xml Normal file → Executable file
View File

@ -1,84 +1,100 @@
<?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>
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>net.krakatoa.lobbysystem</groupId>
<artifactId>KrakatoaLobbySystem</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>net.krakatoa.lobbysystem</groupId>
<artifactId>KraLobbySystem</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
</properties>
<properties>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
</properties>
<build>
<defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<id>make-assembly</id>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
</plugin>
</plugins>
</build>
<build>
<defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<goals>
<goal>single</goal>
</goals>
<id>make-assembly</id>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>spigot-api</artifactId>
<groupId>org.spigotmc</groupId>
<scope>provided</scope>
<version>1.18-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>lombok</artifactId>
<groupId>org.projectlombok</groupId>
<scope>provided</scope>
<version>1.18.22</version>
</dependency>
<dependency>
<artifactId>mongodb-driver-async</artifactId>
<groupId>org.mongodb</groupId>
<version>3.12.10</version>
</dependency>
<!-- <dependency>
<groupId>earth.krakatoa</groupId>
<artifactId>test</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>
/home/alex/IdeaProjects/KraSocketClient/target/KraSocketClient-1.0-SNAPSHOT-jar-with-dependencies.jar
</systemPath>
</dependency> -->
</dependencies>
<repositories>
<!-- This adds the Spigot Maven repository to the build -->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<artifactId>spigot-api</artifactId>
<groupId>org.spigotmc</groupId>
<scope>provided</scope>
<version>1.18-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<artifactId>lombok</artifactId>
<groupId>org.projectlombok</groupId>
<scope>provided</scope>
<version>1.18.22</version>
</dependency>
<dependency>
<artifactId>mongodb-driver-async</artifactId>
<groupId>org.mongodb</groupId>
<version>3.12.10</version>
</dependency>
<dependency>
<groupId>net.krakatoaapi</groupId>
<artifactId>KrakatoaAPI</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- <dependency>
<groupId>earth.krakatoa</groupId>
<artifactId>test</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>
/home/alex/IdeaProjects/KraSocketClient/target/KraSocketClient-1.0-SNAPSHOT-jar-with-dependencies.jar
</systemPath>
</dependency> -->
</dependencies>
<repositories>
<!-- This adds the Spigot Maven repository to the build -->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>krakatoa-earth</id>
<name>Krakatoa Repository</name>
<url>https://repo.krakatoa.umbach.dev/repository/krakatoa-earth/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>

10
src/main/java/net/krakatoa/lobbysystem/LobbySystem.java Normal file → Executable file
View File

@ -1,8 +1,6 @@
package net.krakatoa.lobbysystem;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
@Getter
@ -14,7 +12,7 @@ public class LobbySystem extends JavaPlugin {
/* private KraSocketClient kraSocketClient;
private KraSocketClientProtocol kraSocketClientProtocol;
private SocketEventListener socketEventListener;
aaaa ui ui aa das aaa add
KrakatoaAPI krakatoaAPI = (KrakatoaAPI) Bukkit.getServer().getPluginManager()
.getPlugin("KrakatoaAPI"); */
@ -27,12 +25,6 @@ public class LobbySystem extends JavaPlugin {
instance = this;
Bukkit.getScheduler().runTaskTimerAsynchronously(getInstance(), () -> {
for (Player player : Bukkit.getOnlinePlayers()) {
player.sendMessage("§2naaaaa §4im here §4Car loooo! test");
}
}, 1L, 2 * 60L);
//loadListeners();
/*
players = krakatoaAPI.getMongoManager().getMongoDatabase()

View File

View File

@ -3,7 +3,6 @@ package net.krakatoa.lobbysystem.listener;
import org.bukkit.event.Listener;
public class PlayerJoinListener implements Listener {
/*
@EventHandler
public void onJoin(PlayerJoinEvent event) {

View File

2
src/main/resources/plugin.yml Normal file → Executable file
View File

@ -1,4 +1,4 @@
name: KrakatoaLobbySystem
name: KraLobbySystem
version: 1.0
author: AlexanderRoese
main: net.krakatoa.lobbysystem.LobbySystem

View File

View File

View File

0
target/classes/plugin.yml Normal file → Executable file
View File

0
target/maven-archiver/pom.properties Normal file → Executable file
View File