Compare commits
No commits in common. "master" and "72abe87d5347909af7ad577392e85272e3b5911a" have entirely different histories.
master
...
72abe87d53
|
@ -1,100 +1,84 @@
|
|||
<?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>KraLobbySystem</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<groupId>net.krakatoa.lobbysystem</groupId>
|
||||
<artifactId>KrakatoaLobbySystem</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>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>
|
||||
<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>
|
||||
|
||||
<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>
|
|
@ -1,6 +1,8 @@
|
|||
package net.krakatoa.lobbysystem;
|
||||
|
||||
import lombok.Getter;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
@Getter
|
||||
|
@ -12,7 +14,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"); */
|
||||
|
||||
|
@ -25,6 +27,12 @@ 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()
|
||||
|
|
1
src/main/java/net/krakatoa/lobbysystem/listener/PlayerJoinListener.java
Executable file → Normal file
1
src/main/java/net/krakatoa/lobbysystem/listener/PlayerJoinListener.java
Executable file → Normal file
|
@ -3,6 +3,7 @@ package net.krakatoa.lobbysystem.listener;
|
|||
import org.bukkit.event.Listener;
|
||||
|
||||
public class PlayerJoinListener implements Listener {
|
||||
|
||||
/*
|
||||
@EventHandler
|
||||
public void onJoin(PlayerJoinEvent event) {
|
||||
|
|
0
src/main/java/net/krakatoa/lobbysystem/listener/SocketMessageListener.java
Executable file → Normal file
0
src/main/java/net/krakatoa/lobbysystem/listener/SocketMessageListener.java
Executable file → Normal file
|
@ -1,4 +1,4 @@
|
|||
name: KraLobbySystem
|
||||
name: KrakatoaLobbySystem
|
||||
version: 1.0
|
||||
author: AlexanderRoese
|
||||
main: net.krakatoa.lobbysystem.LobbySystem
|
||||
|
|
0
target/classes/net/krakatoa/lobbysystem/listener/PlayerJoinListener.class
Executable file → Normal file
0
target/classes/net/krakatoa/lobbysystem/listener/PlayerJoinListener.class
Executable file → Normal file
0
target/classes/net/krakatoa/lobbysystem/listener/SocketMessageListener.class
Executable file → Normal file
0
target/classes/net/krakatoa/lobbysystem/listener/SocketMessageListener.class
Executable file → Normal file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
Executable file → Normal file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
Executable file → Normal file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Executable file → Normal file
0
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
Executable file → Normal file
0
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
Executable file → Normal file
0
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
Executable file → Normal file
Loading…
Reference in New Issue